diff --git a/pages/tempCarFee/tempCarFee.vue b/pages/tempCarFee/tempCarFee.vue
index 21ad7b8..934e602 100644
--- a/pages/tempCarFee/tempCarFee.vue
+++ b/pages/tempCarFee/tempCarFee.vue
@@ -47,6 +47,10 @@
+
+
+
@@ -149,6 +153,11 @@
});
})
},
+ onReQuery:function(){
+ uni.navigateTo({
+ url: '/pages/tempParkingFee/tempParkingFee?paId=' + _that.paId + "&appId=" + _that.appId + "&openId=" + this.openId
+ })
+ }
}
};
diff --git a/pages/tempParkingFee/tempParkingFee.vue b/pages/tempParkingFee/tempParkingFee.vue
index 5a45f4c..f78e32b 100644
--- a/pages/tempParkingFee/tempParkingFee.vue
+++ b/pages/tempParkingFee/tempParkingFee.vue
@@ -73,7 +73,9 @@
import {
refreshUserOpenId
} from '../../api/user/userApi.js'
- import {isWxOrAli} from '../../utils/EnvUtil.js'
+ import {
+ isWxOrAli
+ } from '../../utils/EnvUtil.js'
export default {
data() {
return {
@@ -106,6 +108,14 @@
this._refreshWechatOpenId();
return;
}
+ this.carNum = options.carNum;
+ if (isNotNull(this.carNum)) {
+ uni.navigateTo({
+ url: '/pages/tempCarFee/tempCarFee?paId=' + this.paId + '&carNum=' + this
+ .carNum + "&appId=" + this.appId + "&openId=" + this.openId
+ })
+ return;
+ }
},
methods: {
showCarNumberKeyboard() {
@@ -173,24 +183,24 @@
}
uni.navigateTo({
url: '/pages/tempCarFee/tempCarFee?paId=' + _that.paId + '&carNum=' + _that
- .carNum + "&appId=" + _that.appId+"&openId="+this.openId
+ .carNum + "&appId=" + _that.appId + "&openId=" + this.openId
})
})
},
_refreshWechatOpenId: function() {
- if(isWxOrAli() == 'AliPay'){
+ if (isWxOrAli() == 'AliPay') {
uni.showToast({
- icon:'none',
- title:'支付宝暂时未开通,敬请期待'
+ icon: 'none',
+ title: '支付宝暂时未开通,敬请期待'
})
- return ;
+ return;
}
let _redirectUrl = window.location.href;
refreshUserOpenId({
redirectUrl: _redirectUrl,
wAppId: this.appId
}).then(_data => {
- console.log(_data,123)
+ console.log(_data, 123)
if (_data.code == 0) {
window.location.href = _data.data.openUrl;
return;