From 6a4d5ac0ad2684d283d9ffbc0bd9fb16457dd1f5 Mon Sep 17 00:00:00 2001 From: qiaojiale Date: Fri, 11 Apr 2025 17:31:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9F=AD=E4=BF=A1=E9=AA=8C?= =?UTF-8?q?=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 167b6a9..a1a0051 100644 --- a/index.html +++ b/index.html @@ -1168,7 +1168,31 @@ //发送二维码 $('#sendRegCode').click(function () { - Btnsettimeou() + + if(!$("#mobile").val()){ + Swal.fire({ + title: '提示', + text: '请填写联系方式!', + icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question' + confirmButtonText: '确定' + }); + + return; + } + if($("#mobile").val().length != 11){ + Swal.fire({ + title: '提示', + text: '请填写正确联系方式!', + icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question' + confirmButtonText: '确定' + }); + + return; + } + + Btnsettimeou() + + })