From c899ddfe49c5dedf6e78fc136dd0efdbe3951dfd Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期五, 01 三月 2024 09:38:20 +0800
Subject: [PATCH] feat(提交): 代码

---
 pages/home/home.js |   20 +++++---------------
 1 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/pages/home/home.js b/pages/home/home.js
index d55db36..004dc03 100644
--- a/pages/home/home.js
+++ b/pages/home/home.js
@@ -29,6 +29,7 @@
     this.getTabBar().init();
     this.loadHomePage();
     this.getBannerList()
+
   },
 
   onLoad() {
@@ -64,20 +65,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({
@@ -154,5 +143,6 @@
         courseList: res.datas
       })
     })
-  }
+  },
+
 });

--
Gitblit v1.9.1