head.less 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. .tips {
  2. padding: 20px 0;
  3. text-align: center;
  4. font-size: 20px;
  5. color: #333333;
  6. font-weight: bold;
  7. img {
  8. width: 78px;
  9. height: 78px;
  10. vertical-align: middle;
  11. margin-right: 20px;
  12. p {
  13. line-height: 30px;
  14. }
  15. }
  16. p {
  17. line-height: 40px;
  18. }
  19. >p:first-child {
  20. margin-bottom: 30px;
  21. }
  22. }
  23. /* 页面头部 */
  24. header {
  25. width: 100%;
  26. // height: 201px;
  27. font-size: 12px;
  28. font-family: PingFang SC-Regular;
  29. color: #666666;
  30. background: url("@/public/head/headtopbg.png") repeat-x;
  31. }
  32. .headerNav {
  33. width: 100%;
  34. height: 33px;
  35. line-height: 33px;
  36. }
  37. .headerNav .left>span {
  38. margin-right: 47px;
  39. }
  40. .headerNav .right {
  41. display: flex;
  42. margin-right: 10px;
  43. position: relative;
  44. button {
  45. font-size: 12px;
  46. color: #666666;
  47. border: none;
  48. background: none;
  49. cursor: pointer;
  50. }
  51. .login {
  52. width: 36px;
  53. height: 19px;
  54. color: #fff;
  55. border-radius: 4px;
  56. background-color: #028E21;
  57. margin-right: 15px;
  58. cursor: pointer;
  59. }
  60. .menu,
  61. .right-top-menu {
  62. display: flex;
  63. }
  64. .reg {
  65. margin-right: 20px;
  66. display: flex;
  67. align-items: center;
  68. justify-content: center;
  69. height: 33px;
  70. img {
  71. margin-right: 5px;
  72. }
  73. }
  74. }
  75. .headerNav .right {
  76. float: right;
  77. font-size: 12px;
  78. span {
  79. margin-right: 20px;
  80. }
  81. .home,
  82. .collection {
  83. display: inline-block;
  84. width: 16px;
  85. height: 16px;
  86. vertical-align: -3px;
  87. }
  88. .exit {
  89. line-height: 30px;
  90. }
  91. // .exit:hover{
  92. // color: #028E21;
  93. // }
  94. }
  95. /* // 头部logo */
  96. .headerLogo {
  97. width: 100%;
  98. height: 145px;
  99. .inner {
  100. display: flex;
  101. justify-content: space-between;
  102. width: 1200px;
  103. margin: 0 auto;
  104. position: relative;
  105. height: 145px;
  106. .titlead {
  107. position: absolute;
  108. bottom: 14px;
  109. right: 0px;
  110. }
  111. }
  112. .inner>img {
  113. width: 297px;
  114. height: 110px;
  115. margin-top: 20px;
  116. cursor: pointer;
  117. }
  118. /* // 搜索框部分 */
  119. .search {
  120. float: left;
  121. width: 440px;
  122. height: 40px;
  123. background-color: #fff;
  124. line-height: 40px;
  125. margin-left: 39px;
  126. margin: 71px 39px 48px;
  127. position: relative;
  128. em {
  129. display: inline-block;
  130. width: 30px;
  131. height: 30px;
  132. position: absolute;
  133. top: 5px;
  134. left: 15px;
  135. }
  136. input {
  137. float: left;
  138. width: 351px;
  139. height: 40px;
  140. border: none;
  141. outline: none;
  142. padding-left: 65px;
  143. box-sizing: border-box;
  144. border: 1px solid #028E21;
  145. border-right: none;
  146. border-radius: 4px 0px 0px 4px;
  147. }
  148. button {
  149. float: right;
  150. width: 89px;
  151. height: 40px;
  152. background-color: #028E21;
  153. border-radius: 0px 4px 4px 0px;
  154. border: none;
  155. font-size: 14px;
  156. color: #fff;
  157. font-family: PingFang SC, PingFang SC;
  158. font-weight: 500;
  159. }
  160. }
  161. /* // 右侧小图标 */
  162. .serve {
  163. float: right;
  164. height: 60px;
  165. margin-top: 60px;
  166. margin-right: 60px;
  167. >li {
  168. float: left;
  169. height: 64px;
  170. margin-left: 48px;
  171. }
  172. >li>a {
  173. display: inline-block;
  174. height: 64px;
  175. }
  176. >li img {
  177. width: 29px;
  178. height: 29px;
  179. padding: 8px 14px;
  180. }
  181. >li p {
  182. height: 28px;
  183. text-align: center;
  184. color: #666666;
  185. }
  186. }
  187. }
  188. .userInfo11 {
  189. width: 100px;
  190. height: 80px;
  191. background-color: #fff;
  192. box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  193. border-radius: 3px;
  194. position: absolute;
  195. top: 40px;
  196. right: 35px;
  197. font-size: 14px;
  198. z-index: 999;
  199. li {
  200. height: 40px;
  201. line-height: 40px;
  202. color: #333333;
  203. padding-left: 10px;
  204. }
  205. >li:hover {
  206. color: #489d97;
  207. }
  208. }