From fec3c76ac1eb5214bd43024fbd29d869fd31ed54 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Thu, 4 Feb 2021 17:25:25 +0800 Subject: [PATCH] =?UTF-8?q?2.7=E5=8F=B7=E5=8A=9F=E8=83=BD=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../View/CompanyStatement/viewSpecialComplement.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Application/Admin/View/CompanyStatement/viewSpecialComplement.html b/Application/Admin/View/CompanyStatement/viewSpecialComplement.html index 3fce5c2e3..2fa9cef34 100644 --- a/Application/Admin/View/CompanyStatement/viewSpecialComplement.html +++ b/Application/Admin/View/CompanyStatement/viewSpecialComplement.html @@ -651,7 +651,7 @@ if (name.length>10) { $(this).val(name.substr(0,10)); - layer.msg('字符输入超过十位'); + layer.msg('字符输入超过10位'); return; } }); @@ -664,6 +664,13 @@ var flagEmail = \/^\\w+((-\\w+)|(\\.\\w+))*\\@[A-Za-z0-9]+((\\.|-)[A-Za-z0-9]+)*\\.[A-Za-z0-9]+$\/; + + if (strEmail.length>50) { + $(this).val(""); + layer.msg('字符输入超过50位'); + return; + } + if(flagPhone.test(strEmail)==false && flagEmail.test(strEmail) == false && strEmail.length>0) { $(this).val(""); layer.msg('支付宝账号格式不正确');