Jelajahi Sumber

账户管理新需求调整,样式调整

liusw 8 tahun lalu
induk
melakukan
babf408c59

+ 1 - 0
src/main/webapp/resources/view/usercenter/forstore/account_manager.html

@@ -30,6 +30,7 @@
 	.rt_menu span.last-login span {
 		font-size: 12px;
 		font-weight: normal;
+		margin: 0;
 	}
 	.count01 .count-content{
 		width: 100%;

+ 5 - 3
src/main/webapp/resources/view/usercenter/left_nav.html

@@ -20,12 +20,14 @@
     .disabled {
         cursor: not-allowed;
     }
+    #toast-container {
+        top: 36px;
+    }
     #toast-container > .toast-info {
         background-color: #d88f2c;
         font-size: 14px;
         font-weight: normal;
         width: auto;
-        top: 36px;
     }
 </style>
 <body>
@@ -34,12 +36,12 @@
             <a href="user#/home"><p ng-class="{'active' : active == 'home'}"><span>买家中心</span></p></a>
             <ul>
                 <li ng-class="{'active' : active == 'buyer_cart'}"><a  ui-sref="buyer_cart">购物车<em>(<span ng-bind="countCart || 0 | number"></span>)</em></a> </li>
-                <div ng-hide="!(userInfo.pwdEnable && userInfo.haveUserQuestion && (userInfo.userEmail==null?false:true))">
+                <div ng-hide="!(userInfo.pwdEnable && userInfo.haveUserQuestion && userInfo.userEmail)">
                     <li ng-class="{'active' : active == 'buyer_order'}"><a  ui-sref="buyer_order">订单中心</a></li>
                     <li ng-class="{'active' : active == 'pay_center'}"><a  ui-sref="pay_center">支付中心</a></li>
                     <li ng-class="{'active' : active == 'buyer_invoice'}"><a  ui-sref="buyer_invoice">发票管理</a></li>
                 </div>
-                <div ng-hide="userInfo.pwdEnable && userInfo.haveUserQuestion && (userInfo.userEmail==null?false:true)">
+                <div ng-hide="userInfo.pwdEnable && userInfo.haveUserQuestion && userInfo.userEmail">
                     <li ng-class="{'active' : active == 'buyer_order'}"><a ng-click="promptUpdate()" class="disabled">订单中心</a></li>
                     <li ng-class="{'active' : active == 'pay_center'}"><a ng-click="promptUpdate()" class="disabled" >支付中心</a></li>
                     <li ng-class="{'active' : active == 'buyer_invoice'}"><a ng-click="promptUpdate()" class="disabled" >发票管理</a></li>

+ 9 - 4
src/main/webapp/resources/view/vendor/forstore/vendor_account_management.html

@@ -354,6 +354,11 @@
   .rt_menu span.last-login span {
     font-size: 12px;
     font-weight: normal;
+    margin: 0;
+  }
+  .count01 ul li.active-safe-box {
+    background: #fef2f2;
+    border: 1px solid #faaebe;
   }
 </style>
 <!--右侧主体部分-->
@@ -622,7 +627,7 @@
           来保障您的账户安全!
         </span>
         </li>
-        <li>
+        <li ng-class="{'active-safe-box': !userInfo.pwdEnable}">
 				<span>
 					<h5 ng-show="userInfo.pwdEnable"><img class="ok-icon" src="static/img/user/images/ok-account.png"/></h5>
 					<h5 ng-hide="userInfo.pwdEnable"><img src="static/img/user/images/safe.png"/></h5>
@@ -632,7 +637,7 @@
           <a ng-show="userInfo.pwdEnable" ng-click="updatePassword()">修改</a>
           <a ng-hide="userInfo.pwdEnable" ng-click="updatePassword()" class="mall-btn-default">立即设置</a>
         </li>
-        <li>
+        <li ng-class="{'active-safe-box': !userInfo.haveUserQuestion}">
 				<span>
 					<h5 ng-show="userInfo.haveUserQuestion"><img class="ok-icon" src="static/img/user/images/ok-account.png"/></h5>
 					<h5 ng-hide="userInfo.haveUserQuestion"><img src="static/img/user/images/safe.png"/></h5>
@@ -642,7 +647,7 @@
           <a ng-hide="userInfo.haveUserQuestion" ng-click="updateUserQuestion()" class="mall-btn-default">立即设置</a>
           <a ng-show="userInfo.haveUserQuestion" ng-click="updateUserQuestion()">修改</a>
         </li>
-        <li>
+        <li ng-class="{'active-safe-box': !userInfo.userEmail}">
 				<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>
@@ -651,7 +656,7 @@
 					<span ng-hide="userInfo.userEmail">绑定邮箱可帮助您找回登录密码,并可订阅获取最新的订单动态、促销信息。</span>
 				</span>
           <a ng-show="userInfo.userEmail" ng-click="updateUserEmail()">修改</a>
-          <a ng-hide="userInfo.userEmail" ng-click="updateUserEmail()">立即设置</a>
+          <a ng-hide="userInfo.userEmail" ng-click="updateUserEmail()" class="mall-btn-default">立即设置</a>
         </li>
         <li>
 				<span>

+ 4 - 2
src/main/webapp/resources/view/vendor/left_nav.html

@@ -20,18 +20,20 @@
 	.disabled {
 		cursor: not-allowed;
 	}
+	#toast-container {
+		top: 36px;
+	}
 	#toast-container > .toast-info {
 		background-color: #d88f2c;
 		font-size: 14px;
 		font-weight: normal;
 		width: auto;
-		top: 36px;
 	}
 </style>
 <div id="vendor_left_bar" class="user_left fl" ng-controller="leftNavCtrl">
 	<a  ui-sref="vendor_index"><p ng-class="{'active' : active == 'index'}"><span>卖家中心</span></p></a>
 	<ul>
-		<div ng-hide="!(userInfo.pwdEnable && userInfo.haveUserQuestion && (userInfo.userEmail==null?false:true))">
+		<div ng-hide="!(userInfo.pwdEnable && userInfo.haveUserQuestion && userInfo.userEmail)">
 		<li ng-class="{'active' : active == 'vendor_order'}"><a  ui-sref="vendor_order">订单中心</a></li>
 		<li ng-class="{'active' : active == 'vendor_logistics'}">
 			<a  ui-sref="vendor_logistics" ng-hide="store && (!store.status || store.status === 'OPENED')">物流管理</a>