...
|
...
|
@@ -538,6 +538,18 @@ |
|
|
}
|
|
|
},
|
|
|
onShow(){
|
|
|
if(!this.isWechat()){
|
|
|
uni.showToast({
|
|
|
title:'请在微信内置浏览器里打开!',
|
|
|
icon:'none',
|
|
|
duration:3000
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
if(uni.getStorageSync('Token') == ''){
|
|
|
this.checkWeChatCode()//通过微信官方接口获取code之后,会重新刷新设置的回调地址【redirect_uri】]
|
|
|
return
|
|
|
}
|
|
|
innerAudioContext = uni.createInnerAudioContext();
|
|
|
innerAudioContext.autoplay = true;
|
|
|
innerAudioContext.loop = true;
|
...
|
...
|
@@ -554,18 +566,6 @@ |
|
|
innerAudioContext.destroy()
|
|
|
},
|
|
|
onLoad(option) {
|
|
|
if(!this.isWechat()){
|
|
|
uni.showToast({
|
|
|
title:'请在微信内置浏览器里打开!',
|
|
|
icon:'none',
|
|
|
duration:3000
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
if(uni.getStorageSync('Token') == ''){
|
|
|
this.checkWeChatCode()//通过微信官方接口获取code之后,会重新刷新设置的回调地址【redirect_uri】]
|
|
|
return
|
|
|
}
|
|
|
this.temp = parseInt(option.temp)
|
|
|
this.ob_id = option.ob_id
|
|
|
//On(发布状态:0=未发布,1=已发布 )
|
...
|
...
|
|