修改跳转
This commit is contained in:
@@ -44,7 +44,8 @@
|
||||
},
|
||||
//查看视频
|
||||
seVideo(item) {
|
||||
console.log(item,'dubyg2')
|
||||
console.log(uni.getStorageSync('token'))
|
||||
if(uni.getStorageSync('token')){
|
||||
const time = 100;
|
||||
// #ifdef H5
|
||||
if (returnIsSafari()) {
|
||||
@@ -74,7 +75,11 @@
|
||||
})
|
||||
// #endif
|
||||
|
||||
|
||||
}else{
|
||||
uni.navigateTo({
|
||||
url:'/pages/login/login'
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
@@ -350,7 +350,7 @@
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.getBannerList()
|
||||
// this.getBannerList()
|
||||
|
||||
this.zxczxczxczsw(1212, 5)
|
||||
this.zzzzzzzzzzzzzzzzs(1212.5)
|
||||
@@ -359,7 +359,6 @@
|
||||
this.wwrqx(1212, 5)
|
||||
},
|
||||
onShow() {
|
||||
this.ymfgetDataList()
|
||||
const systemInfo = uni.getSystemInfoSync();
|
||||
const isIOS = /iOS/.test(systemInfo.platform);
|
||||
if (!isIOS) {
|
||||
@@ -371,6 +370,7 @@
|
||||
this.isVips = uni.getStorageSync('isVips') ? uni.getStorageSync('isVips') : '否'
|
||||
this.token = uni.getStorageSync('token')
|
||||
if (this.token) {
|
||||
this.ymfgetDataList()
|
||||
this.getMyMoney()
|
||||
this.getPoints()
|
||||
this.$u.api.userinfo().then(res => {
|
||||
|
||||
Reference in New Issue
Block a user