修改
This commit is contained in:
parent
b6788b0b58
commit
030da87d16
@ -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
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user