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

1.提交更新;

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