修改零钱反复充值bug

master
lemon橪 2022-06-15 10:09:40 +08:00
parent 63e3718178
commit 1ada23584d
2 changed files with 8 additions and 5 deletions

View File

@ -139,6 +139,7 @@
// //
this.sn = this.routerVal.recharge_sn; this.sn = this.routerVal.recharge_sn;
this.orderType = "RECHARGE"; this.orderType = "RECHARGE";
} else if (this.routerVal.trade_sn) { } else if (this.routerVal.trade_sn) {
this.sn = this.routerVal.trade_sn; this.sn = this.routerVal.trade_sn;
this.orderType = "TRADE"; this.orderType = "TRADE";
@ -161,7 +162,7 @@
}); });
// #endif // #endif
// #ifndef MP-WEIXIN
if(this.routerVal.recharge_sn){ if(this.routerVal.recharge_sn){
this.payList = res.data.result.support.filter((item) => { this.payList = res.data.result.support.filter((item) => {
return item != "WALLET"; return item != "WALLET";
@ -170,7 +171,7 @@
else{ else{
this.payList = res.data.result.support; this.payList = res.data.result.support;
} }
// #ifndef APP-PLUS // #ifdef H5
// //
var ua = window.navigator.userAgent.toLowerCase(); var ua = window.navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i) == 'micromessenger') { if (ua.match(/MicroMessenger/i) == 'micromessenger') {
@ -182,7 +183,7 @@
} }
// #endif // #endif
// #endif
this.walletValue = res.data.result.walletValue; this.walletValue = res.data.result.walletValue;

View File

@ -1,3 +1,4 @@
<template> <template>
<view> <view>
<view class="-list"> <view class="-list">
@ -5,7 +6,8 @@
<view class="content"> <view class="content">
<view class="price"> <view class="price">
<span> </span> <span> </span>
<u-input v-model="price" placeholder="" type="number" /> <u-input v-model="price" placeholder='金额' type="number" />
</view> </view>
</view> </view>