2.7号功能提交

master
zhengyongxing 4 years ago
parent b2231ff63b
commit fec3c76ac1

@ -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('支付宝账号格式不正确');

Loading…
Cancel
Save