From 40f03de79f67b2061974a0d97bfdb27faa2a77ef Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Mon, 6 Jul 2020 09:10:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=AE=B6=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/api/shop.js | 5 ++++ pageC/components/merchant/image-top.vue | 26 +++++++++++++++++++++ pageC/components/merchant/list-item.vue | 28 ++++++++++++++++++++++ pageC/components/merchant/video-top.vue | 26 +++++++++++++++++++++ pageC/merchant/index.vue | 31 +++++++++++++++++++++---- 5 files changed, 111 insertions(+), 5 deletions(-) create mode 100644 pageC/components/merchant/image-top.vue create mode 100644 pageC/components/merchant/list-item.vue create mode 100644 pageC/components/merchant/video-top.vue diff --git a/common/api/shop.js b/common/api/shop.js index e465a2f..e244e90 100644 --- a/common/api/shop.js +++ b/common/api/shop.js @@ -114,6 +114,11 @@ export default { id: id, page:page }); + }, + getStoreImgVideoList({id}){ + return vm.$u.post('Store/getStoreImgVideoList', { + id: id + }); } } } diff --git a/pageC/components/merchant/image-top.vue b/pageC/components/merchant/image-top.vue new file mode 100644 index 0000000..a061379 --- /dev/null +++ b/pageC/components/merchant/image-top.vue @@ -0,0 +1,26 @@ + + + \ No newline at end of file diff --git a/pageC/components/merchant/list-item.vue b/pageC/components/merchant/list-item.vue new file mode 100644 index 0000000..2a057d9 --- /dev/null +++ b/pageC/components/merchant/list-item.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file diff --git a/pageC/components/merchant/video-top.vue b/pageC/components/merchant/video-top.vue new file mode 100644 index 0000000..eb60ca8 --- /dev/null +++ b/pageC/components/merchant/video-top.vue @@ -0,0 +1,26 @@ + + + \ No newline at end of file diff --git a/pageC/merchant/index.vue b/pageC/merchant/index.vue index a55536e..e63dffb 100644 --- a/pageC/merchant/index.vue +++ b/pageC/merchant/index.vue @@ -38,7 +38,14 @@ - 111 + + + + + + + + @@ -67,16 +74,25 @@ @@ -155,7 +176,7 @@ export default { background-color: #ffffff; width: 100%; margin-bottom: 20rpx; - height: 140rpx; + // height: 140rpx; display: flex; align-items: center; padding: 20rpx 30rpx;