From 377ad1a3ae7cee353a138dcde050de64f799e131 Mon Sep 17 00:00:00 2001 From: wanyongkang <937888580@qq.com> Date: Wed, 28 Oct 2020 17:32:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=8E=B0=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Host/Views.Mobile/User/IndexInfo.cshtml | 9 ++++----- Host/Views/User/Index.cshtml | 6 ++++-- 2 files changed, 8 insertions(+), 7 deletions(-) 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,