From 741c45e9902a99eefa1c032c963b77f7c251a3f2 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期三, 28 二月 2024 17:30:50 +0800 Subject: [PATCH] 个人中心 --- pages/home/home.js | 17 +++-------------- 1 files changed, 3 insertions(+), 14 deletions(-) diff --git a/pages/home/home.js b/pages/home/home.js index 108690b..cc74179 100644 --- a/pages/home/home.js +++ b/pages/home/home.js @@ -29,6 +29,7 @@ this.getTabBar().init(); this.loadHomePage(); this.getBannerList() + }, onLoad(options) { @@ -161,20 +162,8 @@ }) console.log('杞挱鍥�', this.data.bannerList); }, - //鎼滅储 - navToSearchPage() { - wx.navigateTo({ url: '/pages/goods/search/index' }); - }, - //杞挱鍥捐烦杞� - navToActivityDetail({ detail }) { - const data = this.data.bannerList[detail.index] - console.log('璺宠浆', data.link); - // const { index: promotionID = 0 } = detail || {}; - // wx.navigateTo({ - // url: `/pages/promotion-detail/index?promotion_id=${promotionID}`, - // }); - }, - //鑾峰彇鐩綍 + + loadHomePage() { wx.stopPullDownRefresh(); this.setData({ -- Gitblit v1.9.1