修改
This commit is contained in:
parent
04097879aa
commit
b6788b0b58
@ -133,14 +133,39 @@
|
||||
this.swiperImglink.forEach(e => {
|
||||
e.image = baseurl + e.posterPictureUrl
|
||||
if (e.image == item) {
|
||||
if (e.jumpLink == '/pages/homepage/homepage' || e.jumpLink == '/pages/Personal/Personal') {
|
||||
uni.switchTab({
|
||||
url: e.jumpLink
|
||||
})
|
||||
if (e.dictLabel == '专病管理') {
|
||||
const phone = uni.getStorageSync('phone');
|
||||
if (phone) {
|
||||
uni.navigateToMiniProgram({
|
||||
appId: 'wxa690d053c34ceebd',
|
||||
path: '/pages/index/index',
|
||||
extraData: {
|
||||
'from': 'qy',
|
||||
'phone': phone
|
||||
},
|
||||
success(res) {}
|
||||
})
|
||||
} else {
|
||||
this.$refs.uToast.show({
|
||||
title: '您未登录,请先登录',
|
||||
type: 'error',
|
||||
duration: '1000',
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
}
|
||||
} else if (e.dictLabel == '新医象') {
|
||||
this.goycjc();
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: e.jumpLink
|
||||
})
|
||||
if (e.jumpLink == '/pages/homepage/homepage' || e.jumpLink ==
|
||||
'/pages/Personal/Personal') {
|
||||
uni.switchTab({
|
||||
url: e.jumpLink
|
||||
})
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: e.jumpLink
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user