diff --git a/pages/product/shopPage.vue b/pages/product/shopPage.vue index f0901b9..76ccb9f 100644 --- a/pages/product/shopPage.vue +++ b/pages/product/shopPage.vue @@ -147,6 +147,8 @@ export default { this.getGoodsData(); // 优惠券信息 this.getCouponsData(); + // 店铺分类 + this.getCategoryData(); }, // 下拉加载 onReachBottom() { diff --git a/pages/product/shopPageGoods.vue b/pages/product/shopPageGoods.vue index fe4e9fe..558af67 100644 --- a/pages/product/shopPageGoods.vue +++ b/pages/product/shopPageGoods.vue @@ -51,6 +51,10 @@ export default { this.params.pageNumber = 1; this.getGoodsData(); }, + onReachBottom(){ + this.params.pageNumber ++; + this.getGoodsData(); + }, methods: { /** * 跳转到商品详情