优化diamante

This commit is contained in:
java110 2021-10-17 18:55:31 +08:00
parent 129647da64
commit 53eb18ce18
2 changed files with 26 additions and 7 deletions

View File

@ -47,6 +47,10 @@
<button @click="onPayFee" :disabled="amount == 0"
class="cu-btn bg-green shadow-blur round lg">确认缴费</button>
</view>
<view class="cu-bar btn-group" style="margin-top: 30px;">
<button @click="onReQuery()"
class="cu-btn bg-grey shadow-blur round lg">重新查询</button>
</view>
</view>
</scroll-view>
</view>
@ -149,6 +153,11 @@
});
})
},
onReQuery:function(){
uni.navigateTo({
url: '/pages/tempParkingFee/tempParkingFee?paId=' + _that.paId + "&appId=" + _that.appId + "&openId=" + this.openId
})
}
}
};

View File

@ -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() {