This commit is contained in:
xiaozhiyong
2023-03-22 17:25:40 +08:00
parent 5876735edc
commit cb276d7bef
6 changed files with 15 additions and 13 deletions

View File

@@ -201,7 +201,7 @@
let originLink = decodeURIComponent(option.q)
let target = this.obtainUrlPathParameterTarget(originLink)
console.log('target',target)
if(userInfo && target.siteId) {
if(target.siteId) {
this.siteId = target.siteId
this.getSiteInfo(target.siteId)
}
@@ -254,7 +254,7 @@
});
},
backTohome(){
innerAudioContext && this.innerAudioContext.stop()
this.innerAudioContext && this.innerAudioContext.stop()
uni.switchTab({
url:'../../../pages/tabbar/home/home'
})
@@ -263,7 +263,7 @@
this.showtitle =false
},
gotoPay(){
innerAudioContext && this.innerAudioContext.stop()
this.innerAudioContext && this.innerAudioContext.stop()
uni.navigateTo({
url: `/BagStation/pages/makeOrder/makeOrder?siteId=${this.siteId}&activeCur=${this.activeCur}`
})
@@ -273,7 +273,7 @@
this.secondChannelCode = sec
},
siteQrPay() {
innerAudioContext && this.innerAudioContext.stop()
this.innerAudioContext && this.innerAudioContext.stop()
uni.navigateTo({
url: `/BagStation/pages/stationDetail/stieQr?siteId=${this.siteId}&activeChannelCode=${this.activeChannelCode}&secondChannelCode=${this.secondChannelCode}`
})
@@ -294,7 +294,7 @@
if(this.siteInfo.juli > 1000 ){
this.showtitle = true
}else{
innerAudioContext && this.innerAudioContext.stop()
this.innerAudioContext && this.innerAudioContext.stop()
uni.navigateTo({
url: `/BagStation/pages/makeOrder/makeOrder?siteId=${this.siteId}&activeCur=${this.activeCur}`
})