This commit is contained in:
曹辉 2023-03-30 16:24:15 +08:00
parent b6788b0b58
commit 030da87d16
2 changed files with 19 additions and 4 deletions

View File

@ -12,17 +12,27 @@
return {
imageurl: null,
imageurls: null,
goto: '',
};
},
onShow() {
this.imageurl = baseurl + '/profile/appletPicture/healthyOne.png'
this.imageurls = baseurl + '/profile/appletPicture/healthyDetails.png'
},
onLoad(options) {
this.goto = options.goto
},
methods: {
godetal() {
uni.navigateBack({
delta: 1
})
if (this.goto == 'homepage') {
uni.navigateTo({
url: '/pages/medicine/medicine'
})
} else {
uni.navigateBack({
delta: 1
})
}
}
}
}

View File

@ -156,7 +156,12 @@
} else if (e.dictLabel == '新医象') {
this.goycjc();
} else {
if (e.jumpLink == '/pages/homepage/homepage' || e.jumpLink ==
if (e.jumpLink == '/pages/ConsultationDetails/ConsultationDetails') {
const url = `/pages/ConsultationDetails/ConsultationDetails?goto=${'homepage'}`
uni.navigateTo({
url: url
})
} else if (e.jumpLink == '/pages/homepage/homepage' || e.jumpLink ==
'/pages/Personal/Personal') {
uni.switchTab({
url: e.jumpLink