|
|
@@ -268,16 +268,16 @@
|
|
|
<a ng-hide="userInfo.haveUserQuestion" ng-click="updateUserQuestion()" class="mall-btn-default">立即设置</a>
|
|
|
<a ng-show="userInfo.haveUserQuestion" ng-click="updateUserQuestion()">修改</a>
|
|
|
</li>
|
|
|
- <li ng-class="{'active-safe-box': !userInfo.userEmail}">
|
|
|
+ <li ng-class="{'active-safe-box': !userInfo.emailValidCode || userInfo.emailValidCode != 2}">
|
|
|
<span>
|
|
|
- <h5 ng-show="userInfo.userEmail"><img class="ok-icon" src="static/img/user/images/ok-account.png"/></h5>
|
|
|
- <h5 ng-hide="userInfo.userEmail"><img src="static/img/user/images/safe.png"/></h5>
|
|
|
+ <h5 ng-show="userInfo.emailValidCode && userInfo.emailValidCode == 2"><img class="ok-icon" src="static/img/user/images/ok-account.png"/></h5>
|
|
|
+ <h5 ng-show="!userInfo.emailValidCode || userInfo.emailValidCode != 2"><img src="static/img/user/images/safe.png"/></h5>
|
|
|
<font>邮箱认证:</font>
|
|
|
- <span ng-show="userInfo.userEmail"><i ng-modal="userInfo.userEmail" style="color:#666;">{{userInfo.userEmail}}</i></span>
|
|
|
- <span ng-hide="userInfo.userEmail">绑定邮箱可帮助您找回登录密码,并可订阅获取最新的订单动态、促销信息。</span>
|
|
|
+ <span ng-show="userInfo.emailValidCode && userInfo.emailValidCode == 2"><i ng-modal="userInfo.userEmail" style="color:#666;">{{userInfo.userEmail}}</i></span>
|
|
|
+ <span ng-show="!userInfo.emailValidCode || userInfo.emailValidCode != 2">绑定邮箱可帮助您找回登录密码,并可订阅获取最新的订单动态、促销信息。</span>
|
|
|
</span>
|
|
|
- <a ng-show="userInfo.userEmail" ng-click="updateUserEmail()">修改</a>
|
|
|
- <a ng-hide="userInfo.userEmail" ng-click="updateUserEmail()" class="mall-btn-default">立即设置</a>
|
|
|
+ <a ng-show="userInfo.emailValidCode && userInfo.emailValidCode == 2" ng-click="updateUserEmail()">修改</a>
|
|
|
+ <a ng-show="!userInfo.emailValidCode || userInfo.emailValidCode != 2" ng-click="updateUserEmail()" class="mall-btn-default">立即设置</a>
|
|
|
</li>
|
|
|
<li>
|
|
|
<span>
|
|
|
@@ -289,15 +289,17 @@
|
|
|
</li>
|
|
|
<li ng-switch="userInfo.idEnable">
|
|
|
<span>
|
|
|
- <h5 ng-switch-when="1"><img class="ok-icon" src="static/img/user/images/ok-account.png"/></h5>
|
|
|
<h5 ng-switch-when="0"><img src="static/img/user/images/safe.png"/></h5>
|
|
|
- <h5 ng-switch-when="2"><img src="static/img/user/images/safe.png"/></h5>
|
|
|
+ <h5 ng-switch-when="1"><img src="static/img/user/images/safe.png"/></h5>
|
|
|
+ <h5 ng-switch-when="2"><img class="ok-icon" src="static/img/user/images/ok-account.png"/></h5>
|
|
|
+ <h5 ng-switch-when="3"><img src="static/img/user/images/safe.png"/></h5>
|
|
|
<font>实名认证:</font>
|
|
|
<span>实名认证后,可通过实名信息找回支付密码、修改手机号等,提高账户安全性。</span>
|
|
|
</span>
|
|
|
- <a ng-switch-when="0" ng-click="updateRealAuth()" class="mall-btn-default">立即设置</a>
|
|
|
- <a ng-switch-when="1">审核通过</a>
|
|
|
- <a ng-switch-when="2">待审核</a>
|
|
|
+ <a ng-switch-when="0" ng-click="updateRealAuth()" class="mall-btn-default">立即认证</a>
|
|
|
+ <a ng-switch-when="1">待审核</a>
|
|
|
+ <a ng-switch-when="2">已认证</a>
|
|
|
+ <a ng-switch-when="3" ng-click="updateRealAuth()" class="mall-btn-default">重新认证</a>
|
|
|
</li>
|
|
|
<!--<li>
|
|
|
<span>
|