xiaozy_二维码 #2

Merged
caoliancun merged 11 commits from xiaozy_二维码 into master 2023-07-05 18:35:57 +08:00
2 changed files with 15 additions and 2 deletions
Showing only changes of commit c943ba57c0 - Show all commits

View File

@@ -225,7 +225,7 @@
},
refuseEmpower() {
uni.navigateTo({
url: '/BagAuth/pages/login/oldLogin'
url: `/BagAuth/pages/login/oldLogin?scanningParams=${this.scanningParams}`
})
},

View File

@@ -171,7 +171,14 @@
count: 0,
loginRes: {},
checked: false,
next: false
next: false,
scanningParams:null
}
},
onLoad(option) {
if(options.scanningParams) {
// 用于扫码进入油站详情页面
this.scanningParams = options.scanningParams
}
},
onShow() {},
@@ -402,6 +409,12 @@
icon: 'none'
})
}, 1000);
if(this.scanningParams) {
uni.redirectTo({
url: `/BagStation/pages/stationDetail/stationDetail?q=${this.scanningParams}`
})
return
}
// 这里有问题
uni.switchTab({
url: '/pages/tabbar/home/home'