|
@@ -141,6 +141,9 @@ export default class livePage extends Component {
|
141
|
141
|
Taro.navigateToMiniProgram({
|
142
|
142
|
appId: liveAppAppId,
|
143
|
143
|
path: liveRoomParam,
|
|
144
|
+ extraData: {
|
|
145
|
+ foo: 'bar'
|
|
146
|
+ },
|
144
|
147
|
success(res) {
|
145
|
148
|
console.log(res, "navigateToMiniProgram")
|
146
|
149
|
}
|
|
@@ -302,14 +305,13 @@ export default class livePage extends Component {
|
302
|
305
|
}
|
303
|
306
|
{/* 生成海报 */}
|
304
|
307
|
{showPoster && <Poster data={posterData} configs={posterConfig} onCancel={this.togglePosterStatus} onFinish={this.togglePosterStatus} ></Poster>}
|
305
|
|
- {liveDetail.status != 0 ?
|
|
308
|
+ {liveDetail.status == 1 ?
|
306
|
309
|
<View className="live-page">
|
307
|
310
|
<Image onClick={this.handleLiveBtn} src={transferImage(liveDetail.detailTypeImg || bgImg)} mode='widthFix' className="bg_img"></Image>
|
308
|
311
|
{this.renderBottom()}
|
309
|
312
|
</View>
|
310
|
313
|
: <Blank tips="当前直播活动已取消或下架" />
|
311
|
314
|
}
|
312
|
|
-
|
313
|
315
|
{/* 分享按钮 */}
|
314
|
316
|
<ActSheet show={showShareMenu}>
|
315
|
317
|
<ShareButtons
|