|
@@ -0,0 +1,96 @@
|
|
|
|
|
+<div>
|
|
|
|
|
+ <div class="modal-header">
|
|
|
|
|
+ <h3 class="modal-title"><i class="glyphicon glyphicon-hand-right"></i> 温馨提示</h3>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <form class="userTel" name="userTelForm" ng-sumbit="updateTel()" novalidate>
|
|
|
|
|
+ <div class="modal-body">
|
|
|
|
|
+ <table>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td colspan="2"><font size="3">您的联系方式格式不正确,请及时修改</font></td>
|
|
|
|
|
+ <td> </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td> </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td> </td>
|
|
|
|
|
+ <td class="text-right"><font size="3">用户名:</font></td>
|
|
|
|
|
+ <td><font size="3"> {{user.userName}}</font></td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td> </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td> </td>
|
|
|
|
|
+ <td class="text-right"> <font size="3">联系方式:</font></td>
|
|
|
|
|
+ <td><font size="3"> {{user.userTel}}</font></td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td> </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <!-- <tr>
|
|
|
|
|
+ <td class="text-right">更新联系方式:</td>
|
|
|
|
|
+ <td><input type="text" class="form-control" name="userTel" style="width: 200px;"
|
|
|
|
|
+ ng-model="user.userTel" ng-pattern= "/^1[3|4|5|7|8]\d{9}$/" required/></td>
|
|
|
|
|
+ <td><span class="text-danger" ng-show="userTelForm.userTel.$invalid"
|
|
|
|
|
+ ng-show="userTelForm.userTel.$error"> 电话号码格式不合法</span>
|
|
|
|
|
+ <div class="msgInfoSuccess" ng-if="msgInfoSuccess">
|
|
|
|
|
+ <i class="fa fa-fw fa-check-square"></i><span class="text-success">恭喜!获取验证码成功!请查看手机信息</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="msgInfoError" ng-if="msgInfoError">
|
|
|
|
|
+ <i class="fa fa-fw fa-warning"></i><span class="text-inverse">抱歉!获取验证码失败!请检查您输入的手机号码是否有效</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td> </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td class="text-right"><div class="checkPhoneCode">手机验证码:</div></td>
|
|
|
|
|
+ <td><input type="search" class="form-control" style="width: 200px;"
|
|
|
|
|
+ ng-model="user.phoneCode" placeholder="请输入您的手机号验证码"
|
|
|
|
|
+ ng-search="checkPhoneCode(user.phoneCode)"/>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td><i> </i><button class="btn btn-info btn-default" id="button1"
|
|
|
|
|
+ ng-disabled="!user.userTel || btnState || loading || userTelForm.userTel.$invalid" ng-model="user.userTel"
|
|
|
|
|
+ ng-click="getPhoneCode(user.userTel)">
|
|
|
|
|
+ <span ng-if="!btnTimes" >获取手机验证码</span>
|
|
|
|
|
+ <span ng-if="btnTimes">{{btnTimes}}秒后重新获取</span>
|
|
|
|
|
+ </button>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td> </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td></td>
|
|
|
|
|
+ <td colspan="2">
|
|
|
|
|
+ <div class="msgInfoError" ng-if="errorloading ">
|
|
|
|
|
+ <i class="fa fa-fw fa-warning" class="text-danger"></i><span class="text-inverse">抱歉,您今天获取验证码次数过多</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div ng-if="msgInfoError2" class="msgInfoError">
|
|
|
|
|
+ <i class="fa fa-fw fa-warning" class="text-danger"></i><span class="text-inverse">抱歉!输入验证码错误,请重新输入!!</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div ng-if="result" class="msgInfoSuccess">
|
|
|
|
|
+ <i class="fa fa-fw fa-check-square"></i> <span class="text-success">恭喜!输入验证码验证成功!</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>-->
|
|
|
|
|
+ </table>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="modal-footer">
|
|
|
|
|
+ <!-- <center><button class="btn btn-primary" type="submit" ng-click="updateTel(user.phoneCode,user.userTel,user.userUU)"
|
|
|
|
|
+ ng-disabled="userTelForm.$invalid">确认修改
|
|
|
|
|
+ </button>
|
|
|
|
|
+ </center> -->
|
|
|
|
|
+ <center><button class="btn btn-primary" ng-click="cancel()">点击跳过</button></center>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- <div ng-if="result" class="resultSuccess">
|
|
|
|
|
+ <div class="msgInfo_result">
|
|
|
|
|
+ <i class="fa fa-2x fa-thumbs-o-up"></i><span class="text-success">恭喜您,更新手机号成功,正在登录系统,请稍等...</span>
|
|
|
|
|
+ <i class="fa fa-spinner fa-pulse"></i>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div> -->
|
|
|
|
|
+ </form>
|
|
|
|
|
+</div>
|