From 3618a8071101f121c50d5497ea7fe9d648965e17 Mon Sep 17 00:00:00 2001 From: hurui Date: Sat, 3 Aug 2019 14:37:58 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=81=9C=E8=BD=A6=E4=BC=98=E6=83=A0=E5=88=B8]?= =?UTF-8?q?[=E4=BF=AE=E6=94=B9][button=E4=BD=8D=E7=BD=AE]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/hot/index.js | 3 --- components/hot/index.wxml | 8 ++++---- pages/main/index.js | 6 +++++- pages/passCar/couponList/couponList.wxss | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/components/hot/index.js b/components/hot/index.js index af13570..01ca36e 100644 --- a/components/hot/index.js +++ b/components/hot/index.js @@ -82,13 +82,10 @@ Component({ getChange(){ let that = this if (that.kSize != 1 && that.kSize != 0){ - console.log(111111111111) that.getList(1) } if (that.pSize!=1 && that.pSize !=0) { - console.log(22222222222) that.getList(2) - } }, //跳转砍价详情 diff --git a/components/hot/index.wxml b/components/hot/index.wxml index a5f72a2..cda40b2 100644 --- a/components/hot/index.wxml +++ b/components/hot/index.wxml @@ -13,7 +13,7 @@ - + @@ -24,7 +24,7 @@ 砍价 - + @@ -35,7 +35,7 @@ - + @@ -46,7 +46,7 @@ 拼团 - + diff --git a/pages/main/index.js b/pages/main/index.js index c719858..0a064f6 100644 --- a/pages/main/index.js +++ b/pages/main/index.js @@ -627,7 +627,11 @@ Page({ // that.selectComponent("#rushtobyCard").getList(); wx.stopPullDownRefresh(); //爆款专区下拉刷新 - that.selectComponent("#hot").getList(); + // that.selectComponent("#hot").getList(); + that.selectComponent("#hot").getChange(); + if(!that.kSize||!that.pSize){ + that.pSize = 0 + } }, //加载更多 onReachBottom: function() { diff --git a/pages/passCar/couponList/couponList.wxss b/pages/passCar/couponList/couponList.wxss index cff7f00..5e50d4f 100644 --- a/pages/passCar/couponList/couponList.wxss +++ b/pages/passCar/couponList/couponList.wxss @@ -198,7 +198,7 @@ .nav { position: absolute; - bottom: 3.3%; + bottom: 20%; left: 0; right: 0; margin: auto;