|
|
@@ -61,27 +61,40 @@
|
|
|
-moz-box-shadow: none;
|
|
|
box-shadow: none;
|
|
|
text-align: left;
|
|
|
- max-height: 330px;
|
|
|
- overflow-y: auto;
|
|
|
+ }
|
|
|
+ #site-nav .dropdown .dropdown-menu ::-webkit-scrollbar {
|
|
|
+ background: #f6f6f6;
|
|
|
+ width: .5rem;
|
|
|
+ height: .5rem;
|
|
|
+ }
|
|
|
+
|
|
|
+ #site-nav .dropdown .dropdown-menu ::-webkit-scrollbar-thumb {
|
|
|
+ border-radius: 0;
|
|
|
}
|
|
|
|
|
|
+ #site-nav .dropdown .dropdown-menu >ul{
|
|
|
+ max-height: 300px;
|
|
|
+ overflow-y: auto;
|
|
|
+ }
|
|
|
#site-nav .dropdown .dropdown-menu >ul >li {
|
|
|
padding: 0 12px;
|
|
|
line-height: 30px;
|
|
|
- max-width: 300px;
|
|
|
}
|
|
|
- #site-nav .dropdown .dropdown-menu >ul >li.switch-enterprise-title {
|
|
|
+ #site-nav .dropdown .dropdown-menu .switch-enterprise-title {
|
|
|
background: #eee;
|
|
|
- cursor: default;
|
|
|
+ padding: 0 12px;
|
|
|
+ line-height: 30px;
|
|
|
+ font-size: 12px;
|
|
|
}
|
|
|
#site-nav .dropdown .dropdown-menu >ul >li.switch-enterprises {
|
|
|
background: #f6f6f6;
|
|
|
- overflow: hidden;
|
|
|
- text-overflow: ellipsis;
|
|
|
- white-space: nowrap;
|
|
|
}
|
|
|
#site-nav .dropdown .dropdown-menu >ul >li.switch-enterprises a {
|
|
|
color: #333;
|
|
|
+ max-width: 300px;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
}
|
|
|
#site-nav .dropdown .dropdown-menu >ul >li.switch-enterprises a:hover {
|
|
|
color: #5078cb;
|
|
|
@@ -183,8 +196,8 @@
|
|
|
<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>
|
|
|
</p>-->
|
|
|
+ <div ng-if="userInfo.enterprises && userInfo.enterprises.length > 0" class="switch-enterprise-title">您可切换至以下账户:</div>
|
|
|
<ul class="unstyled" style="-webkit-padding-start: 0;">
|
|
|
- <li ng-if="userInfo.enterprises && userInfo.enterprises.length > 0" class="switch-enterprise-title">您可切换至以下账户:</li>
|
|
|
<li ng-repeat="en in userInfo.enterprises" ng-if="!en.current && userInfo.enterprises" class="switch-enterprises">
|
|
|
<a href="javascript:void(0)" ng-bind="en.enName" title="{{en.enName}}" ng-click="switchto(en.uu)"></a>
|
|
|
</li>
|