@@ -471,7 +471,7 @@ Page({ | |||||
targetAd: 2 | targetAd: 2 | ||||
} | } | ||||
}).then(res => { | }).then(res => { | ||||
if (res && res.data) { | |||||
if (res.data.list.title) { | |||||
that.setData({ | that.setData({ | ||||
xslist: res.data.list, | xslist: res.data.list, | ||||
showQg:true | showQg:true | ||||
@@ -636,11 +636,7 @@ Page({ | |||||
// that.selectComponent("#rushtobyCard").getList(); | // that.selectComponent("#rushtobyCard").getList(); | ||||
wx.stopPullDownRefresh(); | wx.stopPullDownRefresh(); | ||||
//爆款专区下拉刷新 | //爆款专区下拉刷新 | ||||
// that.selectComponent("#hot").getList(); | |||||
that.selectComponent("#hot").getChange(); | |||||
if(!that.kSize||!that.pSize){ | |||||
that.pSize = 0 | |||||
} | |||||
that.selectComponent("#hot").getList(); | |||||
}, | }, | ||||
//加载更多 | //加载更多 | ||||
onReachBottom: function() { | onReachBottom: function() { | ||||
@@ -59,7 +59,7 @@ | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<!-- 每日头条 限时抢购 --> | <!-- 每日头条 限时抢购 --> | ||||
<view class='toutiao' bindtap='gotoRushBuy' wx:if="{{showQg}}"> | |||||
<view class='toutiao' bindtap='gotoRushBuy' wx:if="{{showQg}}" > | |||||
<view class='imgBox'> | <view class='imgBox'> | ||||
<image src='{{toutiao}}' mode='aspectFill'></image> | <image src='{{toutiao}}' mode='aspectFill'></image> | ||||
</view> | </view> | ||||
@@ -71,7 +71,6 @@ | |||||
</view> | </view> | ||||
<!-- 专题 --> | <!-- 专题 --> | ||||
<view class='product' wx:if="{{showTopic}}" bindtap='gotoTopic'> | <view class='product' wx:if="{{showTopic}}" bindtap='gotoTopic'> | ||||
<!-- <view class='ztTitle'>点击进入{{Ttitle}}</view> --> | |||||
<view class='gift' > | <view class='gift' > | ||||
<image src='{{giftHr}}' mode='aspectFill' ></image> | <image src='{{giftHr}}' mode='aspectFill' ></image> | ||||
</view> | </view> | ||||
@@ -82,7 +81,6 @@ | |||||
<view class='next'> | <view class='next'> | ||||
<image src='{{next}}' mode='aspectFill' ></image> | <image src='{{next}}' mode='aspectFill' ></image> | ||||
</view> | </view> | ||||
<!-- <image src='{{cover}}' style="width:100%;" mode='widthFix'></image> --> | |||||
</view> | </view> | ||||
<!-- 爆款专区 --> | <!-- 爆款专区 --> | ||||
<c-hot id="hot"/> | <c-hot id="hot"/> | ||||