|
@@ -142,7 +142,11 @@
|
|
|
<li ng-if="userInfo" class="dropdown">
|
|
<li ng-if="userInfo" class="dropdown">
|
|
|
<a class="dropdown-toggle" href="javascript:void(0)">欢迎您,
|
|
<a class="dropdown-toggle" href="javascript:void(0)">欢迎您,
|
|
|
<span ng-bind="userInfo.userName"></span>
|
|
<span ng-bind="userInfo.userName"></span>
|
|
|
- <span href="javascript:void(0)" ng-click="logout()" class="logout">[退出]</span>
|
|
|
|
|
|
|
+ <span> | </span>
|
|
|
|
|
+
|
|
|
|
|
+ <span style="float:right;margin-left: 15px" href="javascript:void(0)" ng-click="logout()" class="logout">[退出]</span>
|
|
|
|
|
+ <span style="float:right;margin-left: 8px;max-width: 190px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;display: inline-block;" ng-if="userInfo.enterprise" ng-bind="userInfo.enterprise.enName" ></span>
|
|
|
|
|
+ <span style="float:right;margin-left: 8px;max-width: 190px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;display: inline-block;" ng-if="!userInfo.enterprise" ng-bind="'个人账户'" ></span>
|
|
|
</a>
|
|
</a>
|
|
|
<div class="dropdown-menu" style="top: 36px; left: 0; min-width: 220px;">
|
|
<div class="dropdown-menu" style="top: 36px; left: 0; min-width: 220px;">
|
|
|
<!-- <p>欢迎您,<span ng-bind="userInfo.userName"></span>
|
|
<!-- <p>欢迎您,<span ng-bind="userInfo.userName"></span>
|
|
@@ -152,7 +156,7 @@
|
|
|
<!--<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.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>
|
|
<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.enterprise.enName" class="member-text"></span>
|
|
|
- <span ng-if="!userInfo.enterprise" ng-bind="userInfo.userName + '(个人账户)'" class="member-text"></span>
|
|
|
|
|
|
|
+ <span ng-if="!userInfo.enterprise" ng-bind="' 个人账户'" class="member-text"></span>
|
|
|
<a href="javascript:void(0)" class="pull-right" ng-if="userInfo.enterprises" ng-click="toggleSwitch()" ng-bind="switching?'取消':'切换'">切换</a>
|
|
<a href="javascript:void(0)" class="pull-right" ng-if="userInfo.enterprises" ng-click="toggleSwitch()" ng-bind="switching?'取消':'切换'">切换</a>
|
|
|
</p>
|
|
</p>
|
|
|
<ul class="unstyled" ng-show="switching" style="-webkit-padding-start: 0;">
|
|
<ul class="unstyled" ng-show="switching" style="-webkit-padding-start: 0;">
|