right.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <div ui-view class="sale-view view-slide-in"></div>
  2. <style>
  3. .rbar {
  4. opacity: 1;
  5. width: 34px;
  6. height: 100%;
  7. position: fixed;
  8. top: 0;
  9. right: 0;
  10. padding-top: 85px;
  11. color: #555;
  12. -webkit-box-shadow: 0 0 7px 0 rgba(119, 119, 119, 0.2);
  13. box-shadow: 0 0 7px 0 rgba(119, 119, 119, 0.2);
  14. background-color: #fafafa;
  15. background: -webkit-linear-gradient(left, #e9e9e9, #fafafa);
  16. background: -moz-linear-gradient(left, #e9e9e9, #fafafa);
  17. background: -o-linear-gradient(left, #e9e9e9, #fafafa);
  18. background: -ms-linear-gradient(left, #e9e9e9, #fafafa);
  19. background: linear-gradient(left, #e9e9e9, #fafafa);
  20. border-left: 1px solid #d9d9d9;
  21. zoom: 1;
  22. z-index: 2;
  23. background: -o-linear-gradient(left, #e9e9e9, #fafafa);
  24. }
  25. .rbar a:hover {
  26. color: #fff;
  27. }
  28. .rbar a:hover,.rbar a:focus,.rbar a:active {
  29. text-decoration: none;
  30. }
  31. .rbar .item-wrap {
  32. position: relative;
  33. cursor: pointer;
  34. text-align: center;
  35. font-family: "Microsoft YaHei", SimHei, "WenQuanYi Micro Hei", STHeiti;
  36. border-bottom: 1px solid #f9f9f9;
  37. -webkit-transition: all 0.15s ease-in-out;
  38. -moz-transition: all 0.15s ease-in-out;
  39. transition: all 0.15s ease-in-out;
  40. }
  41. .rbar .item-inner {
  42. border-bottom: 1px solid #e3e3e3;
  43. width: 34px;
  44. display: block;
  45. }
  46. .rbar .item-wrap:hover {
  47. background-color: #56a022;
  48. color: #fff;
  49. }
  50. .rbar .inner-text {
  51. width: 20px;
  52. padding: 10px 0 5px 0;
  53. margin: auto;
  54. text-align: center;
  55. display: block;
  56. }
  57. .item-inner .badge {
  58. padding: 3px 5px;
  59. margin-bottom: 5px;
  60. white-space: nowrap;
  61. text-overflow: ellipsis;
  62. overflow: hidden;
  63. background-color: #56a022;
  64. }
  65. .item-wrap:hover .badge {
  66. background-color: #fff;
  67. color: #56a022;
  68. }
  69. .item-wrap .tip {
  70. position: absolute;
  71. opacity: 0;
  72. zoom: 1;
  73. right: -100px;
  74. top: 0;
  75. width: 100px;
  76. height: 100%;
  77. background-color: #494949;
  78. border-radius: 2px 0 0 2px;
  79. -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  80. -moz-box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  81. box-shadow: 0 0 5px rgba(0, 0, 0, .2);
  82. font-size: 12px;
  83. text-align: center;
  84. color: #fff;
  85. -webkit-transition: all 0.35s ease-in-out;
  86. -moz-transition: all 0.35s ease-in-out;
  87. transition: all 0.35s ease-in-out;
  88. z-index: 0;
  89. }
  90. .item-wrap .tip:after {
  91. position: absolute;
  92. content: '';
  93. top: 30%;
  94. right: -10px;
  95. width: 0;
  96. height: 0;
  97. font-size: 0;
  98. border: solid 5px;
  99. border-color: transparent transparent transparent #494949;
  100. }
  101. .item-wrap:hover .tip {
  102. opacity: 1;
  103. right: 32px;
  104. }
  105. .item-wrap .tip>ul {
  106. margin: 0;
  107. padding: 0;
  108. }
  109. .item-wrap .tip>ul>li {
  110. color: #fff;
  111. padding: 10px;
  112. border-bottom: 1px solid #f6f6f6;
  113. -webkit-transition: all 0.15s ease-in-out;
  114. -moz-transition: all 0.15s ease-in-out;
  115. transition: all 0.15s ease-in-out;
  116. }
  117. .item-wrap .tip>ul>li>a {
  118. color: #fff;
  119. }
  120. .item-wrap .tip>ul>li:hover {
  121. background-color: #56a022;
  122. }
  123. .rbar .bar-bottom {
  124. position: absolute;
  125. bottom: 0;
  126. left: 0;
  127. border-top: 1px solid #e3e3e3;
  128. }
  129. .bar-bottom .item-wrap:first-child .item-inner {
  130. border-top: 1px solid #f9f9f9;
  131. }
  132. .rbar .icon-left {
  133. margin: 8px 10px 0 0;
  134. float: left;
  135. width: 30%;
  136. }
  137. </style>
  138. <!-- right static-bar Start -->
  139. <div class="rbar">
  140. <div class="item-wrap" ng-controller="TruckCtrl">
  141. <div class="item-inner">
  142. <span class="inner-text"> <!-- <i class="fa fa-fw fa-truck fa-2x"></i> -->我的货车
  143. </span> <span class="badge" ng-bind="truckCount"></span>
  144. </div>
  145. <div class="tip">
  146. <ul class="list-unstyled">
  147. <li ng-click="openTrack()"><a><i class="fa fa-cubes fa-2x icon-left"></i>打开<br>货车</a></li>
  148. <li ng-click="clearAll()"><a><i class="fa fa-undo fa-2x icon-left"></i>清空<br>货车</a></li>
  149. </ul>
  150. </div>
  151. </div>
  152. <div class="bar-center" ng-controller="TodoCtrl">
  153. <div class="item-wrap">
  154. <a class="item-inner" ui-sref="sale.inquiry"> <span
  155. class="inner-text">待报价</span> <span class="badge"
  156. ng-bind="todo.inquiry"></span>
  157. </a>
  158. <div class="tip" style="display: none;">报价</div>
  159. </div>
  160. <div class="item-wrap">
  161. <a class="item-inner" ui-sref="sale.order"> <span
  162. class="inner-text">待回复</span> <span class="badge"
  163. ng-bind="todo.order"></span>
  164. </a>
  165. </div>
  166. <div class="item-wrap">
  167. <a class="item-inner" ui-sref="sale.change"> <span
  168. class="inner-text">变更中</span> <span class="badge"
  169. ng-bind="todo.orderChange"></span>
  170. </a>
  171. </div>
  172. <div class="item-wrap">
  173. <a class="item-inner" ui-sref="sale.notice"> <span
  174. class="inner-text">待发货</span> <span class="badge"
  175. ng-bind="todo.notice"></span>
  176. </a>
  177. </div>
  178. </div>
  179. <div class="bar-bottom">
  180. <div class="item-wrap">
  181. <div class="item-inner">
  182. <span class="inner-text"><i
  183. class="fa fa-fw fa-headphones fa-lg"></i></span>
  184. </div>
  185. </div>
  186. <div class="item-wrap">
  187. <div class="item-inner">
  188. <span class="inner-text"><i class="fa fa-fw fa-tablet fa-lg"></i></span>
  189. </div>
  190. </div>
  191. </div>
  192. </div>
  193. <!-- right static-bar End -->