Merge pull request '2.7号功能提交' (#157) from feature/add_item into release

Reviewed-on: http://8.136.139.249:3000/wmtx/platform/pulls/157
master
郑永星 4 years ago
commit bf2851b11d

@ -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