header.css 4.9 KB

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