header.css 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. header a {
  2. color: #fff;
  3. }
  4. @media (max-width: 767px) {
  5. header .iconfont {
  6. background: url(/static/index/image/m/moban2/icon-menu.svg) no-repeat center center;
  7. background-size: 100% 100%;
  8. width: 34px;
  9. height: 34px;
  10. display: inline-block;
  11. vertical-align: middle;
  12. position: absolute;
  13. pointer-events: none;
  14. margin: unset;
  15. }
  16. header .iconfont::before {
  17. content: '';
  18. }
  19. .header .ms-nav .phone-user-center .icon-arrow-down {
  20. background-image: url(/static/index/image/m/nav/icon-arrow-down.svg);
  21. background-size: 100% 100%;
  22. width: 20px;
  23. height: 20px;
  24. display: inline-block;
  25. vertical-align: middle;
  26. position: absolute;
  27. right: 0;
  28. top: 10px;
  29. margin: unset;
  30. }
  31. .header .phone-menu {
  32. background-image: url(/static/index/image/m/moban2/icon-menu.svg);
  33. margin-top: 0;
  34. top: 17px;
  35. right: 0;
  36. pointer-events: auto;
  37. }
  38. header {
  39. background: url(/static/index/image/m/nav/nav-bg.png) no-repeat center;
  40. background-position: top center;
  41. background-size: 100% 100%;
  42. box-shadow: unset;
  43. height: 68px;
  44. position: fixed;
  45. z-index: 1000;
  46. }
  47. .header .header-left {
  48. margin: 17px 0 0 3.4px;
  49. }
  50. .header .header-left img {
  51. width: 119px;
  52. height: 34px;
  53. }
  54. /* nav */
  55. .header .phone-user-name .iconfont {
  56. position: relative;
  57. width: 24px;
  58. height: 24px;
  59. top: -2px;
  60. margin-right: 12px;
  61. }
  62. .header .phone-user-name {
  63. line-height: 24px;
  64. height: 24px;
  65. font-family: Microsoft YaHei;
  66. font-weight: 400;
  67. font-size: 14px;
  68. color: rgba(21, 21, 21, 1);
  69. margin-bottom: 12px;
  70. }
  71. .header .phone-user-name .certified {
  72. margin-left: 6px;
  73. }
  74. .header .phone-shadow {
  75. left: 0;
  76. opacity: 0;
  77. pointer-events: none;
  78. transition: all 0.5s cubic-bezier(0.4, 0, 1, 1);
  79. }
  80. .header .phone-shadow.show {
  81. opacity: 1;
  82. pointer-events: auto;
  83. }
  84. .header .ms-nav {
  85. margin: 0 0 15px 0;
  86. position: relative;
  87. top: unset;
  88. }
  89. .header .phone-nav-wrap {
  90. background: #fff;
  91. width: 300px;
  92. height: 100%;
  93. position: fixed;
  94. left: -200%;
  95. top: 0;
  96. cursor: pointer;
  97. z-index: 1001;
  98. padding: 20px 12px;
  99. }
  100. .header .ms-nav>li {
  101. float: none;
  102. border-bottom: unset;
  103. padding-left: 20px;
  104. margin-bottom: 9px;
  105. position: relative;
  106. font-family: Source Han Sans SC;
  107. font-weight: 500;
  108. vertical-align: middle;
  109. margin: unset;
  110. margin-bottom: 9px;
  111. }
  112. .header .ms-nav>li.active::before {
  113. content: "";
  114. width: 4px;
  115. height: 32px;
  116. top: 5px;
  117. left: 0;
  118. position: absolute;
  119. background-color: rgba(33, 104, 251, 1);
  120. }
  121. .header .ms-nav>li.active {
  122. background-color: rgba(248, 248, 248, 1);
  123. }
  124. .header .ms-nav>li>a,
  125. .header .ms-nav>li .user1>a {
  126. font-size: 16px;
  127. line-height: 44px;
  128. font-size: 16px;
  129. color: rgba(38, 38, 38, 1);
  130. width: 85%;
  131. display: inline-block;
  132. }
  133. .header .ms-nav>li.active>a,
  134. .header .ms-nav>li.active .user1>a {
  135. color: rgba(33, 104, 251, 1);
  136. }
  137. /* nav 二级 */
  138. .header .ms-nav .phone-user-center dl a {
  139. color: rgb(88 88 88);
  140. padding-left: 0.2rem;
  141. font-size: 0.25rem;
  142. line-height: 0.55rem;
  143. }
  144. /* 登錄按鈕 */
  145. .login .btn-nav {
  146. width: 121px;
  147. height: 34px;
  148. border-radius: 4px;
  149. border: 1px solid rgba(33, 104, 251, 1);
  150. font-size: 16px;
  151. line-height: 34px;
  152. }
  153. .header .btn-white {
  154. background: #fff;
  155. color: rgba(33, 104, 251, 1);
  156. }
  157. .header .login {
  158. position: relative;
  159. right: unset;
  160. }
  161. .login-in .login-user .logout1 {
  162. height: 34px;
  163. border-radius: 4px;
  164. border: 1px solid rgba(33, 104, 251, 1);
  165. font-size: 16px;
  166. line-height: 34px;
  167. background: #fff;
  168. color: rgba(33, 104, 251, 1);
  169. margin: 0 0 0 9px;
  170. width: 259px;
  171. text-align: center;
  172. }
  173. .login-in .login-user {
  174. padding-top: 30px;
  175. }
  176. /* 登錄信息 */
  177. .login-in {
  178. position: relative;
  179. right: unset;
  180. top: unset;
  181. }
  182. }