diff --git a/common/api/shop.js b/common/api/shop.js index fccbc0e..ab442b0 100644 --- a/common/api/shop.js +++ b/common/api/shop.js @@ -86,11 +86,12 @@ export default { return vm.$u.post('Goods/getGoodsClassRecommend'); }, // goodsListByClassId - goodsListByClassId({ gc_id, page, order }) { + goodsListByClassId({ gc_id, page, order, keyword }) { return vm.$u.post('goods/goodsListByClassId', { gc_id: gc_id, page: page, order: order, + keyword:keyword }); }, // 商品推荐 diff --git a/pageC/classify/goods.vue b/pageC/classify/goods.vue index c6305a8..97c6bee 100644 --- a/pageC/classify/goods.vue +++ b/pageC/classify/goods.vue @@ -1,5 +1,6 @@