diff --git a/components/m-goods-recommend/README.md b/components/m-goods-recommend/README.md new file mode 100644 index 0000000..b33849a --- /dev/null +++ b/components/m-goods-recommend/README.md @@ -0,0 +1,10 @@ +## 商品推荐 + + +### OBJECT 参数说明 +属性|说明|类型|必填 +---|---|---|--- +`title`|标题,用于顶部显示的内容|String|否 +`pageSize`|显示多少条数据,建议是2的倍数,默认为12条|*|否 +`categoryId`|分类id|Function|否 +`storeId`|卖家id,搜索店铺商品的时候使用|String|否 \ No newline at end of file diff --git a/components/m-goods-recommend/index.vue b/components/m-goods-recommend/index.vue new file mode 100644 index 0000000..bd61072 --- /dev/null +++ b/components/m-goods-recommend/index.vue @@ -0,0 +1,153 @@ + + + + + \ No newline at end of file diff --git a/pages/cart/payment/success.vue b/pages/cart/payment/success.vue index 49b6766..3a67e16 100644 --- a/pages/cart/payment/success.vue +++ b/pages/cart/payment/success.vue @@ -31,46 +31,29 @@ -
--商品推荐--
-
-
-
- - - -
-
-
- {{ item.goodsName }} -
-
-
¥{{ item.price | unitPrice }}
-
-
-
-
+