diff --git a/components/m-goods-list/README.md b/components/m-goods-list/README.md index 74fa4c2..bade838 100644 --- a/components/m-goods-list/README.md +++ b/components/m-goods-list/README.md @@ -7,4 +7,5 @@ | `res` | 显示数据 | Array | 是 | | `type` | 商品展示类型 oneColumns twoColumns ,默认展示一行两列商品 | String | 否 | | `storeName` | 是否展示店铺名称,默认展示 | Boolean | 否 | +| `keywords` | 高亮展示搜索内容 | String | 否 | diff --git a/components/m-goods-list/list.vue b/components/m-goods-list/list.vue index 55446b7..18b4a53 100644 --- a/components/m-goods-list/list.vue +++ b/components/m-goods-list/list.vue @@ -4,12 +4,15 @@ - - + + -
{{ item.content.goodsName }}
+
+ +
¥{{ formatPrice(item.content.price )[0] }} .{{ @@ -32,10 +35,10 @@ {{ item.content.commentNum || "0" }}条评论
-
+
- {{ item.content.storeName || "暂无" }} + {{ item.content.storeName || "暂无" }}
@@ -62,9 +65,9 @@ }}
-
-
- +
+
+
@@ -100,7 +103,9 @@