style.less 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. .top {
  2. position: fixed;
  3. top: 0;
  4. left: 0;
  5. width: 100%;
  6. z-index: 100;
  7. height: 50px;
  8. background: #0a091e;
  9. background-color: #0a091e;
  10. color: #fff;
  11. padding: 0 16px;
  12. display: flex;
  13. justify-items: flex-start;
  14. align-items: center;
  15. line-height: 50px;
  16. user-select: none;
  17. :global {
  18. .allP_png {
  19. position: absolute;
  20. right: 1em;
  21. top: 1em;
  22. opacity: 0.8;
  23. width: 4em;
  24. display: flex;
  25. align-items: flex-start;
  26. justify-content: right;
  27. height: 3em;
  28. cursor: pointer;
  29. >img{
  30. border: 1px solid #ffffff7a;
  31. border-radius: 5px;
  32. }
  33. }
  34. .logo {
  35. margin-right: 18px;
  36. img {
  37. height: 30px;
  38. transform: translateY(-3px);
  39. }
  40. }
  41. .d_logo {
  42. height: 28px;
  43. // border-left: 1px solid #4F5C7D;
  44. padding-left: 18px;
  45. vertical-align: top;
  46. padding-right: 10px;
  47. line-height: 23px;
  48. }
  49. .user_cont {
  50. padding-top: 12px;
  51. position: absolute;
  52. width: 120px;
  53. border-radius: 3px;
  54. color: #666;
  55. font-size: 14px;
  56. text-align: center;
  57. transform: translate(0, -18px);
  58. right: 0;
  59. &::after {
  60. width: 8px;
  61. height: 8px;
  62. background-color: #fff;
  63. content: "";
  64. display: block;
  65. position: absolute;
  66. transform: rotate(45deg);
  67. top: 8px;
  68. right: 23px;
  69. }
  70. li {
  71. background-color: #fff;
  72. line-height: 32px;
  73. cursor: pointer;
  74. border-right: 1px solid #f1f1f1;
  75. border-left: 1px solid #f1f1f1;
  76. &:not(:last-child) {
  77. border-bottom: 1px solid #e8e8e8;
  78. }
  79. &:last-child {
  80. border-bottom: 1px solid #f1f1f1;
  81. }
  82. }
  83. }
  84. .title {
  85. font-size: 16px;
  86. color: rgba(255, 255, 255, 0.85);
  87. font-weight: bold;
  88. margin-right: 8px;
  89. white-space: nowrap;
  90. }
  91. .menu {
  92. display: flex;
  93. font-size: 13px;
  94. text-align: center;
  95. // flex-wrap: wrap;
  96. li {
  97. list-style: none;
  98. padding: 0;
  99. border-radius: 1px;
  100. cursor: pointer;
  101. width: 80px;
  102. white-space: nowrap;
  103. color: rgba(255, 255, 255, 0.7);
  104. overflow: hidden;
  105. text-overflow: ellipsis;
  106. // &>span{
  107. // display: inline-block;
  108. // overflow: hidden;
  109. // text-overflow: ellipsis;
  110. // max-width: 80px;
  111. // line-height: 50px;
  112. // height: 44px;
  113. // }
  114. &:hover {
  115. color: rgba(255, 255, 255, 1);
  116. }
  117. .actived {
  118. height: 44px;
  119. color: #009F95;
  120. box-shadow: 0 -2px 0 0 #009F95 inset;
  121. line-height: 50px;
  122. display: inline-block;
  123. }
  124. }
  125. }
  126. //联系我们
  127. .contact {
  128. display: flex;
  129. align-items: center;
  130. margin-right: 15px;
  131. cursor: pointer;
  132. }
  133. .tips_count {
  134. display: flex;
  135. align-items: center;
  136. margin-right: 15px;
  137. cursor: pointer;
  138. position: relative;
  139. .count_num {
  140. border-radius: 8px;
  141. height: 16px;
  142. padding: 0 5px;
  143. background-color: #FF4650;
  144. color: #fff;
  145. font-size: 12px;
  146. line-height: 14px;
  147. position: absolute;
  148. right: -8px;
  149. top: -8px;
  150. }
  151. }
  152. .show_more {
  153. font-size: 12px;
  154. width: 50px;
  155. color: #1c45b4;
  156. cursor: pointer;
  157. min-width: 50px !important;
  158. line-height: 48px;
  159. margin-left: 0 !important;
  160. }
  161. .controler {
  162. font-size: 14px;
  163. color: #fff;
  164. position: relative;
  165. .ant-dropdown-trigger {
  166. min-width: 70px;
  167. }
  168. .ant-dropdown-link {
  169. font-size: 13px;
  170. color: #fff;
  171. }
  172. img {
  173. margin-right: 6px;
  174. }
  175. }
  176. .senior {
  177. margin-right: 12px;
  178. }
  179. .iconfont {
  180. font-size: 12px;
  181. }
  182. .style {
  183. color: rgba(255, 255, 255, 0.5);
  184. font-size: 12px;
  185. .style_change {
  186. padding-left: 5px;
  187. cursor: pointer;
  188. }
  189. }
  190. .split_line {
  191. color: rgba(255, 255, 255, 0.5);
  192. padding: 0 15px;
  193. }
  194. }
  195. // .ant-menu>[role="menuitem"]:last-child{
  196. // display: none;
  197. // }
  198. }
  199. :global {
  200. .ant-menu>[data-menu-id*="alipay"] {
  201. display: none;
  202. }
  203. // .ant-dropdown-arrow{
  204. // border-color: #000 transparent transparent #000!important;
  205. // }
  206. .ant-dropdown-menu {
  207. // opacity: 0.8;
  208. border-radius: 7px !important;
  209. }
  210. //下拉(个人中心、修改密码、退出登录)
  211. .dropSelect {
  212. .ant-dropdown-menu-item-active {
  213. color: #009F95;
  214. }
  215. }
  216. }
  217. .feedbackModal {
  218. :global {
  219. .ant-modal-body {
  220. padding-bottom: 0;
  221. }
  222. }
  223. }