提交 f32793b7 authored 作者: 王鹏飞's avatar 王鹏飞

Logo替换

......@@ -66,22 +66,22 @@ module.exports = Behavior({
lifetimes: {
attached() {
this.createPlayer()
wx.onNetworkStatusChange(res => {
if (res.networkType !== 'wifi' && this.data.status === 'playing') {
this.pause()
wx.showModal({
content: '你正在使用非WIFI网络,播放将产生流量费用',
confirmText: '继续播放',
success: res => {
if (res.confirm) {
this.play()
} else if (res.cancel) {
this.pause()
}
}
})
}
})
// wx.onNetworkStatusChange(res => {
// if (res.networkType !== 'wifi' && this.data.status === 'playing') {
// this.pause()
// wx.showModal({
// content: '你正在使用非WIFI网络,播放将产生流量费用',
// confirmText: '继续播放',
// success: res => {
// if (res.confirm) {
// this.play()
// } else if (res.cancel) {
// this.pause()
// }
// }
// })
// }
// })
},
detached() {
wx.offNetworkStatusChange()
......
......@@ -3,13 +3,13 @@ const env = 'production'
if (env === 'production') {
module.exports = {
appVersion: 'bluestar_v3.2.5',
appVersion: 'bluestar_v3.2.7',
apiBaseURL: 'https://wechat-api.ezijing.com', // 接口请求地址
tenant: 'sofia'
}
} else {
module.exports = {
appVersion: 'bluestar_v3.2.5',
appVersion: 'bluestar_v3.2.7',
apiBaseURL: 'https://wechat-api2.ezijing.com', // 接口请求地址
tenant: 'sofia'
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论