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;