head.less 4.3 KB

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