From 73e4ba9994b0fb520b7431f7f629ab547052c746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Mon, 30 May 2022 16:37:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=81=E8=A3=85=E5=95=86=E5=93=81=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E6=A8=A1=E5=9D=97=EF=BC=8C=E5=85=A8=E5=B1=80=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E7=AE=A1=E7=90=86=E6=A0=BC=E5=BC=8F=EF=BC=8C=E5=B0=86?= =?UTF-8?q?=E6=97=A7=E7=89=88=E5=95=86=E5=93=81=E5=B1=95=E7=A4=BA=E9=83=A8?= =?UTF-8?q?=E5=88=86=E4=BC=98=E5=8C=96=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/m-goods-list/README.md | 10 + components/m-goods-list/list.vue | 293 ++++++++++++++++++ components/m-goods-recommend/index.vue | 21 +- pages/navigation/search/search.scss | 180 ----------- pages/navigation/search/searchPage.vue | 96 +----- .../product/goods/-goods-recommend.vue | 161 +--------- pages/product/shopPage.vue | 64 +--- pages/product/shopPageGoods.vue | 204 +++++------- 8 files changed, 402 insertions(+), 627 deletions(-) create mode 100644 components/m-goods-list/README.md create mode 100644 components/m-goods-list/list.vue diff --git a/components/m-goods-list/README.md b/components/m-goods-list/README.md new file mode 100644 index 0000000..74fa4c2 --- /dev/null +++ b/components/m-goods-list/README.md @@ -0,0 +1,10 @@ +## 商品列表展示 + +### OBJECT 参数说明 + +| 属性 | 说明 | 类型 | 必填 | +| ----------- | ---------------------------------------------------------- | ------- | ---- | +| `res` | 显示数据 | Array | 是 | +| `type` | 商品展示类型 oneColumns twoColumns ,默认展示一行两列商品 | String | 否 | +| `storeName` | 是否展示店铺名称,默认展示 | Boolean | 否 | + diff --git a/components/m-goods-list/list.vue b/components/m-goods-list/list.vue new file mode 100644 index 0000000..55446b7 --- /dev/null +++ b/components/m-goods-list/list.vue @@ -0,0 +1,293 @@ + + + + + diff --git a/components/m-goods-recommend/index.vue b/components/m-goods-recommend/index.vue index dbd5815..8f60967 100644 --- a/components/m-goods-recommend/index.vue +++ b/components/m-goods-recommend/index.vue @@ -1,27 +1,11 @@ - diff --git a/pages/product/shopPage.vue b/pages/product/shopPage.vue index 07f050c..161bcf6 100644 --- a/pages/product/shopPage.vue +++ b/pages/product/shopPage.vue @@ -60,18 +60,7 @@
暂无商品信息 - - - - -
{{ item.content.goodsName }}
-
-
¥{{ item.content.price | unitPrice }}
-
- -
已售 {{ item.content.buyCount || "0" }}
-
-
+
@@ -94,7 +83,8 @@ - - \ No newline at end of file + + + + +