Browse Source

个人账户修改样式

ouxq 8 years ago
parent
commit
ddb00d53d3
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/main/webapp/resources/view/common/site-nav.html

+ 3 - 1
src/main/webapp/resources/view/common/site-nav.html

@@ -150,7 +150,9 @@
                 </p>-->
                 <p>
                     <!--<i class="fa fa-map-marker"></i> <span ng-if="userInfo.enterprises" ng-bind="userInfo.enterprise.enName"></span><span ng-if="!userInfo.enterprises" ng-bind="userInfo.userName"></span><span ng-if="!userInfo.enterprises">(个人账户)</span>-->
-                    <i class="fa fa-map-marker"></i> <span ng-if="userInfo.enterprise" ng-bind="userInfo.enterprise.enName" class="member-text"></span><span ng-if="!userInfo.enterprise" ng-bind="userInfo.userName" class="member-text"></span><span ng-if="!userInfo.enterprise">(个人账户)</span>
+                    <i class="fa fa-map-marker"></i>
+                    <span ng-if="userInfo.enterprise" ng-bind="userInfo.enterprise.enName" class="member-text"></span>
+                    <span ng-if="!userInfo.enterprise" ng-bind="userInfo.userName + '(个人账户)'" class="member-text"></span>
                     <a href="javascript:void(0)" class="pull-right" ng-if="userInfo.enterprises" ng-click="toggleSwitch()" ng-bind="switching?'取消':'切换'">切换</a>
                 </p>
                 <ul class="unstyled" ng-show="switching" style="-webkit-padding-start: 0;">