From 1141923407f62ba0562b462444574cc853670c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Mon, 9 Aug 2021 18:44:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BA=97=E9=93=BA=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=EF=BC=8C=E4=BC=98=E5=8C=96=E9=83=A8=E5=88=86=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/product/shopPage.vue | 2 ++ pages/product/shopPageGoods.vue | 4 ++++ 2 files changed, 6 insertions(+) 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: { /** * 跳转到商品详情