Browse Source

手机验证

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@5600 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 10 years ago
parent
commit
79e38fb97a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/webapp/resources/tpl/index/account/user.html

+ 1 - 1
src/main/webapp/resources/tpl/index/account/user.html

@@ -288,7 +288,7 @@
 							ng-class="{'has-error': userTelError, 'has-success': userTelSuccess}">
 							<input ng-model="newUser.userTel"
 							ng-blur="telValid(newUser.userTel)" required name="newUserTel"
-							class="form-control input-sm" ng-pattern="/^[\d-]{8,}$/" type="text" placeholder="手机号">
+							class="form-control input-sm" ng-pattern="/^1[3|4|5|7|8]\d{9}$/" type="text" placeholder="手机号">
 						</td>
 						<td class="text-center"
 							ng-class="{'has-error': userEmailError, 'has-success': userEmailSuccess}">