From 8076110f31e7d4064d6e0c423d5a125534d71216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C=E7=94=A8lww?= <“529520975@qq.com> Date: Wed, 20 Nov 2019 16:28:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E6=B3=A8=E5=86=8C-=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E8=B4=A6=E5=8F=B7=E5=AF=86=E7=A0=81=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Mobile/View/Ssg/login.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Application/Mobile/View/Ssg/login.html b/Application/Mobile/View/Ssg/login.html index b7553fe45..251224289 100644 --- a/Application/Mobile/View/Ssg/login.html +++ b/Application/Mobile/View/Ssg/login.html @@ -97,7 +97,7 @@
- +
@@ -135,11 +135,11 @@
- +
- +
@@ -267,15 +267,15 @@ var PhoneObj = { }, checkPassword(password){ console.log(password); - if(password.length < 6 || password.length > 15){ - alert('密码长度6-15个字符'); - return false; - } - var pwdRegex = new RegExp('(?=.*[0-9])(?=.*[a-zA-Z])'); - if (!pwdRegex.test(password)) { - alert("您的密码复杂度太低(密码中必须包含字母、数字)!"); + if(password.length < 6 || password.length > 12){ + alert('密码长度6-12个字符'); return false; } + // var pwdRegex = new RegExp('(?=.*[0-9])(?=.*[a-zA-Z])'); + // if (!pwdRegex.test(password)) { + // alert("您的密码复杂度太低(密码中必须包含字母、数字)!"); + // return false; + // } var chinaRex = new RegExp("[\\u4E00-\\u9FFF]+","g");; if (chinaRex.test(password)) { alert("密码不允许含有中文字符!"); @@ -435,12 +435,12 @@ var PhoneObj = { var regpassword2 = $("#regpassword2").val(); var promoteId = $("#promote_id").val(); var pwdRegex = new RegExp('(?=.*[0-9])(?=.*[a-zA-Z])'); - if(account.length < 6 || account.length > 12){ - alert('账号长度必须是6-12位'); + if(account.length < 6 || account.length > 15){ + alert('账号长度必须是6-15位'); return false; } if (!pwdRegex.test(account)) { - alert("账号必须是6-12位字母数字组合!"); + alert("账号必须是6-15位字母数字组合!"); return false; } if(!PhoneObj.checkPassword(regpassword)){