Commit a7fd8a12 authored by 李智书's avatar 李智书

1.提交更新;

parent cd4f2981
......@@ -372,12 +372,10 @@
amount = this.Money * 1
}
let this_ = this;
let loading = Toast.loading({
message: '加载中...',
forbidClick: true,
loadingType: 'spinner',
duration: 0
});
uni.showLoading({
mask: true,
title: "处理中......"
})
$.ajax({
url: gHost + '/bank-wechat/icbc/account/exchange/recharge',
type: "POST",
......@@ -395,7 +393,7 @@
'sessionid': sessionID,
},
success: function(res5) {
loading.clear();
uni.hideLoading()
if (res5.code == "10000") {
this_.close();
Toast({
......@@ -412,7 +410,7 @@
}
},
error: function(err) {
loading.clear();
uni.hideLoading()
},
});
},
......@@ -453,7 +451,7 @@
} else {
uni.showModal({
title: "系统提示",
content: appStatus == '1' ? '申请已受理' : '申请失败'
content: appStatus == '1' ? '申请已受理' : res5.message
})
}
} else {
......@@ -1027,7 +1025,7 @@
}
@media (min-height: 500px) {
@media (min-height: 650px) {
.bottomdiv {
position: fixed;
left: 0;
......
......@@ -20,7 +20,7 @@
每日仅可提现一次,请明日再来。
</view>
<view class="bottomdiv">
<view class="DepositID" @click="toDeposit(0)" v-bind:style="Money!=''?'':'opacity: 0.5 !important;'">
<view class="DepositID" @click="toDeposit(0)" v-bind:style="inputOtherM>0?'':'opacity: 0.5 !important;'">
<span>提现</span>
</view>
<view class="switchbankCard" @click="BackToMini('TxHistory')">提现记录</view>
......@@ -99,11 +99,11 @@
let this_ = this
this.inputOtherM = this.cardBalanceTx * 1
this.$nextTick(function() {
if (this_.inputOtherM == '' || this_.inputOtherM * 1 < 3) {
$('.DepositID').attr('style', 'background: rgb(230, 230, 230) !important;');
} else {
$('.DepositID').removeAttr('style');
}
// if (this_.inputOtherM == '' || this_.inputOtherM * 1 < 3) {
// $('.DepositID').attr('style', 'background: rgb(230, 230, 230) !important;');
// } else {
// $('.DepositID').removeAttr('style');
// }
})
},
//查询一类卡绑定列表
......@@ -210,19 +210,19 @@
loading.hide();
if (res5.code == "10000") {
let appStatus = res5.results.appStatus;
if(appStatus == '4'){
if (appStatus == '4') {
uni.showModal({
title: "系统提示",
content: "提现成功!"
})
uni.navigateBack({})
}else{
} else {
uni.showModal({
title: "系统提示",
content: appStatus == '1' ? '申请已受理' : '申请失败'
content: appStatus == '1' ? '申请已受理' : res5.message
})
}
} else {
weui.topTips(res5.message)
uni.showModal({
......@@ -247,11 +247,11 @@
obj.value = obj.value.replace(".", "$#$").replace(/\./g, "").replace("$#$", "."); //只允许输入一个小数点
obj.value = obj.value.replace(/^(\-)*(\d+)\.(\d\d).*$/, '$1$2.$3'); //只能输入两个小数
obj.value = obj.value * 1 > 2000 ? 2000 : obj.value;
if (obj.value == '' || obj.value * 1 < 3) {
$('.DepositID').attr('style', 'background: rgb(230, 230, 230) !important;');
} else {
$('.DepositID').removeAttr('style');
}
// if (obj.value == '' || obj.value * 1 < 3) {
// $('.DepositID').attr('style', 'background: rgb(230, 230, 230) !important;');
// } else {
// $('.DepositID').removeAttr('style');
// }
this_.inputOtherM = obj.value
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment