diff --git a/Host/Views.Mobile/User/IndexInfo.cshtml b/Host/Views.Mobile/User/IndexInfo.cshtml
index 97d37e5..27075f8 100644
--- a/Host/Views.Mobile/User/IndexInfo.cshtml
+++ b/Host/Views.Mobile/User/IndexInfo.cshtml
@@ -112,7 +112,7 @@
@@ -387,6 +387,7 @@
});
}
function cash_out() {
+
let cash_out_money = $('#cash-out-money').val(),
reason = $('#cash-out-reason').val(),
real_name = $('#real-name').val(),
@@ -399,16 +400,14 @@
alert("抱歉!请重新输入提现金额!");
return;
}
- if(real_name.length <= 0){
- alert("抱歉!请重新输入姓名!");
- return;
- }
//
let reg = /^(?:1[3-9]\d{9}|[a-zA-Z\d._-]*\@@[a-zA-Z\d.-]{1,10}\.[a-zA-Z\d]{1,20})$/;
if(alipay_account.length <= 0 || alipay_account.match(reg) == null){
alert("抱歉!请重新输入支付宝账号!");
return;
}
+ $('#cash_out_confirm').addClass('disabled');
+ $('#cash_out_confirm').prop('disabled', true);
let cashOutData = {
cash_out_money: cash_out_money,
diff --git a/Host/Views/User/Index.cshtml b/Host/Views/User/Index.cshtml
index ed543c8..969c3ad 100644
--- a/Host/Views/User/Index.cshtml
+++ b/Host/Views/User/Index.cshtml
@@ -213,7 +213,7 @@
-
+
@@ -474,6 +474,7 @@
}
function cash_out() {
+
let cash_out_money = $('#cash-out-money').val(),
reason = $('#cash-out-reason').val(),
real_name = $('#real-name').val(),
@@ -496,7 +497,8 @@
alert("抱歉!请重新输入支付宝账号!");
return;
}
-
+ $('#cash_out_confirm').addClass('disabled');
+ $('#cash_out_confirm').prop('disabled', true);
let cashOutData = {
cash_out_money: cash_out_money,
reason: reason,