diff --git a/pages/main/index.js b/pages/main/index.js index 0e04fa1..11f9a9d 100644 --- a/pages/main/index.js +++ b/pages/main/index.js @@ -471,7 +471,7 @@ Page({ targetAd: 2 } }).then(res => { - if (res.data.list.title) { + if (res && res.data.total>0) { that.setData({ xslist: res.data.list, showQg:true @@ -637,6 +637,8 @@ Page({ wx.stopPullDownRefresh(); //爆款专区下拉刷新 that.selectComponent("#hot").getList(); + that.getxsList(); + that.topicShow(); }, //加载更多 onReachBottom: function() {