Browse Source

修改导航企业名的样式

Administrator 8 years ago
parent
commit
93bcd24c4a

+ 1 - 1
src/main/webapp/WEB-INF/views/normal/index.html

@@ -54,7 +54,7 @@
 					</div>
 				</ul>
 				<div id="home-headerName">
-					<a ui-sref="approvalflow.enterprise"><span ng-bind="userInfo.enterprise.enName"></span> <i class="fa fa-chevron-down"></i></a>
+					<a ui-sref="approvalflow.enterprise"><span ng-bind="userInfo.enterprise.enName"></span> <i ng-if="userInfo.enSelect.length !== 0" class="fa fa-chevron-down"></i></a>
 				</div>
 				<div class="name-tk">
 					<div>

+ 3 - 0
src/main/webapp/resources/css/index.css

@@ -791,6 +791,7 @@ ul>li.item-link>a {
 	font-size: 14px;
 }
 #home-headerName span{
+	text-align: right;
 	display:inline-block;
 	width:100%;
 	overflow: hidden;
@@ -2777,9 +2778,11 @@ input.ng-invalid.ng-dirty,textarea.ng-invalid.ng-dirty {
 	border-bottom: 1px solid #ccc;
 	padding-right:10px;
 }
+
 .name-tk .user-message li:last-child {
 	border-bottom: none;
 }
+
 .name-tk .user-message li:first-child a{
 	color:#d32526;
 }