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