diff --git a/pages/main/index.js b/pages/main/index.js index 00f5a58..0e04fa1 100644 --- a/pages/main/index.js +++ b/pages/main/index.js @@ -471,7 +471,7 @@ Page({ targetAd: 2 } }).then(res => { - if (res && res.data) { + if (res.data.list.title) { that.setData({ xslist: res.data.list, showQg:true @@ -636,11 +636,7 @@ Page({ // that.selectComponent("#rushtobyCard").getList(); wx.stopPullDownRefresh(); //爆款专区下拉刷新 - // that.selectComponent("#hot").getList(); - that.selectComponent("#hot").getChange(); - if(!that.kSize||!that.pSize){ - that.pSize = 0 - } + that.selectComponent("#hot").getList(); }, //加载更多 onReachBottom: function() { diff --git a/pages/main/index.wxml b/pages/main/index.wxml index 5e1d092..a28f326 100644 --- a/pages/main/index.wxml +++ b/pages/main/index.wxml @@ -59,7 +59,7 @@ - + @@ -71,7 +71,6 @@ - @@ -82,7 +81,6 @@ -