From 4cf55474ff49d11150dfaca3633224eceea47823 Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期三, 28 二月 2024 17:21:05 +0800
Subject: [PATCH] 书展和书展详情

---
 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