| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- <div ui-view class="sale-view view-slide-in"></div>
- <style>
- .rbar {
- opacity: 1;
- width: 34px;
- height: 100%;
- position: fixed;
- top: 0;
- right: 0;
- padding-top: 85px;
- color: #555;
- -webkit-box-shadow: 0 0 7px 0 rgba(119, 119, 119, 0.2);
- box-shadow: 0 0 7px 0 rgba(119, 119, 119, 0.2);
- background-color: #fafafa;
- background: -webkit-linear-gradient(left, #e9e9e9, #fafafa);
- background: -moz-linear-gradient(left, #e9e9e9, #fafafa);
- background: -o-linear-gradient(left, #e9e9e9, #fafafa);
- background: -ms-linear-gradient(left, #e9e9e9, #fafafa);
- background: linear-gradient(left, #e9e9e9, #fafafa);
- border-left: 1px solid #d9d9d9;
- zoom: 1;
- z-index: 2;
- background: -o-linear-gradient(left, #e9e9e9, #fafafa);
- }
- .rbar a:hover {
- color: #fff;
- }
- .rbar a:hover,.rbar a:focus,.rbar a:active {
- text-decoration: none;
- }
- .rbar .item-wrap {
- position: relative;
- cursor: pointer;
- text-align: center;
- font-family: "Microsoft YaHei", SimHei, "WenQuanYi Micro Hei", STHeiti;
- border-bottom: 1px solid #f9f9f9;
- -webkit-transition: all 0.15s ease-in-out;
- -moz-transition: all 0.15s ease-in-out;
- transition: all 0.15s ease-in-out;
- }
- .rbar .item-inner {
- border-bottom: 1px solid #e3e3e3;
- width: 34px;
- display: block;
- }
- .rbar .item-wrap:hover {
- background-color: #56a022;
- color: #fff;
- }
- .rbar .inner-text {
- width: 20px;
- padding: 10px 0 5px 0;
- margin: auto;
- text-align: center;
- display: block;
- }
- .item-inner .badge {
- padding: 3px 5px;
- margin-bottom: 5px;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- background-color: #56a022;
- }
- .item-wrap:hover .badge {
- background-color: #fff;
- color: #56a022;
- }
- .item-wrap .tip {
- position: absolute;
- opacity: 0;
- zoom: 1;
- right: -100px;
- top: 0;
- width: 100px;
- height: 100%;
- background-color: #494949;
- border-radius: 2px 0 0 2px;
- -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .2);
- -moz-box-shadow: 0 0 5px rgba(0, 0, 0, .2);
- box-shadow: 0 0 5px rgba(0, 0, 0, .2);
- font-size: 12px;
- text-align: center;
- color: #fff;
- -webkit-transition: all 0.35s ease-in-out;
- -moz-transition: all 0.35s ease-in-out;
- transition: all 0.35s ease-in-out;
- z-index: 0;
- }
- .item-wrap .tip:after {
- position: absolute;
- content: '';
- top: 30%;
- right: -10px;
- width: 0;
- height: 0;
- font-size: 0;
- border: solid 5px;
- border-color: transparent transparent transparent #494949;
- }
- .item-wrap:hover .tip {
- opacity: 1;
- right: 32px;
- }
- .item-wrap .tip>ul {
- margin: 0;
- padding: 0;
- }
- .item-wrap .tip>ul>li {
- color: #fff;
- padding: 10px;
- border-bottom: 1px solid #f6f6f6;
- -webkit-transition: all 0.15s ease-in-out;
- -moz-transition: all 0.15s ease-in-out;
- transition: all 0.15s ease-in-out;
- }
- .item-wrap .tip>ul>li>a {
- color: #fff;
- }
- .item-wrap .tip>ul>li:hover {
- background-color: #56a022;
- }
- .rbar .bar-bottom {
- position: absolute;
- bottom: 0;
- left: 0;
- border-top: 1px solid #e3e3e3;
- }
- .bar-bottom .item-wrap:first-child .item-inner {
- border-top: 1px solid #f9f9f9;
- }
- .rbar .icon-left {
- margin: 8px 10px 0 0;
- float: left;
- width: 30%;
- }
- </style>
- <!-- right static-bar Start -->
- <div class="rbar">
- <div class="item-wrap" ng-controller="TruckCtrl">
- <div class="item-inner">
- <span class="inner-text"> <!-- <i class="fa fa-fw fa-truck fa-2x"></i> -->我的货车
- </span> <span class="badge" ng-bind="truckCount"></span>
- </div>
- <div class="tip">
- <ul class="list-unstyled">
- <li ng-click="openTrack()"><a><i class="fa fa-cubes fa-2x icon-left"></i>打开<br>货车</a></li>
- <li ng-click="clearAll()"><a><i class="fa fa-undo fa-2x icon-left"></i>清空<br>货车</a></li>
- </ul>
- </div>
- </div>
- <div class="bar-center" ng-controller="TodoCtrl">
- <div class="item-wrap">
- <a class="item-inner" ui-sref="sale.inquiry"> <span
- class="inner-text">待报价</span> <span class="badge"
- ng-bind="todo.inquiry"></span>
- </a>
- <div class="tip" style="display: none;">报价</div>
- </div>
- <div class="item-wrap">
- <a class="item-inner" ui-sref="sale.order"> <span
- class="inner-text">待回复</span> <span class="badge"
- ng-bind="todo.order"></span>
- </a>
- </div>
- <div class="item-wrap">
- <a class="item-inner" ui-sref="sale.change"> <span
- class="inner-text">变更中</span> <span class="badge"
- ng-bind="todo.orderChange"></span>
- </a>
- </div>
- <div class="item-wrap">
- <a class="item-inner" ui-sref="sale.notice"> <span
- class="inner-text">待发货</span> <span class="badge"
- ng-bind="todo.notice"></span>
- </a>
- </div>
- </div>
- <div class="bar-bottom">
- <div class="item-wrap">
- <div class="item-inner">
- <span class="inner-text"><i
- class="fa fa-fw fa-headphones fa-lg"></i></span>
- </div>
- </div>
- <div class="item-wrap">
- <div class="item-inner">
- <span class="inner-text"><i class="fa fa-fw fa-tablet fa-lg"></i></span>
- </div>
- </div>
- </div>
- </div>
- <!-- right static-bar End -->
|