|
|
@@ -80,7 +80,8 @@ Page({ |
|
|
|
page: 1, // 刷新进入页面时已经加载了第一页数据,onReachBottom时 page++,从第2页开始加载 |
|
|
|
openId: '', |
|
|
|
showGg: false, |
|
|
|
ggdata: {} |
|
|
|
ggdata: {}, |
|
|
|
liveFlag:0//直播按钮显隐标志位 |
|
|
|
}, |
|
|
|
goLive(){ |
|
|
|
wx.navigateTo({ |
|
|
@@ -490,9 +491,11 @@ Page({ |
|
|
|
} |
|
|
|
}).then(res => { |
|
|
|
that.setData({ |
|
|
|
liveFlag: res.data.liveSupport , |
|
|
|
weappShareTitle: res.data.weappShareTitle ? res.data.weappShareTitle : null, |
|
|
|
weappShareCoverImg: res.data.weappShareCoverImg ? res.data.weappShareCoverImg : null, |
|
|
|
}); |
|
|
|
console.log(that.data.liveFlag,"||||") |
|
|
|
}) |
|
|
|
.catch(err => { |
|
|
|
// 不需要错误提示 |
|
|
|