mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-02 03:48:47 +08:00
直播详情优化
This commit is contained in:
parent
ce9700577e
commit
f794ba0887
@ -88,13 +88,10 @@ Page({
|
||||
|
||||
// 进入直播
|
||||
player_event(e) {
|
||||
if (this.data.detail.status == 1 || this.data.detail.status == 2) {
|
||||
var room_id = this.data.detail.id
|
||||
var params = encodeURIComponent(JSON.stringify({type: 'detail'}));
|
||||
wx.navigateTo({
|
||||
url: `plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=${this.data.detail.id}&custom_params=${params}`
|
||||
});
|
||||
}
|
||||
var params = encodeURIComponent(JSON.stringify({type: 'detail'}));
|
||||
wx.navigateTo({
|
||||
url: `plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=${this.data.detail.id}&custom_params=${params}`
|
||||
});
|
||||
},
|
||||
|
||||
// 海报分享
|
||||
|
Loading…
Reference in New Issue
Block a user