head.less 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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: #028E21;
  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: 47px;
  60. }
  61. .headerNav .right {
  62. position: relative;
  63. display: flex;
  64. margin-right: 10px;
  65. button {
  66. font-size: 12px;
  67. color: #666666;
  68. border: none;
  69. background: none;
  70. cursor: pointer;
  71. }
  72. .login {
  73. width: 36px;
  74. height: 19px;
  75. color: #fff;
  76. border-radius: 4px;
  77. background-color: #028E21;
  78. margin-right: 15px;
  79. cursor: pointer;
  80. }
  81. .menu,
  82. .right-top-menu {
  83. display: flex;
  84. }
  85. .reg {
  86. margin-right: 20px;
  87. display: flex;
  88. align-items: center;
  89. justify-content: center;
  90. height: 33px;
  91. img {
  92. margin-right: 5px;
  93. }
  94. }
  95. }
  96. .headerNav .right {
  97. float: right;
  98. font-size: 12px;
  99. span {
  100. margin-right: 20px;
  101. }
  102. .home,
  103. .collection {
  104. display: inline-block;
  105. width: 16px;
  106. height: 16px;
  107. vertical-align: -3px;
  108. }
  109. .exit {
  110. line-height: 30px;
  111. }
  112. // .exit:hover{
  113. // color: #028E21;
  114. // }
  115. }
  116. /* // 头部logo */
  117. .headerLogo {
  118. width: 100%;
  119. height: 145px;
  120. .inner {
  121. display: flex;
  122. justify-content: space-between;
  123. width: 1200px;
  124. margin: 0 auto;
  125. position: relative;
  126. height: 145px;
  127. .titlead {
  128. position: absolute;
  129. bottom: 15px;
  130. right: 0px;
  131. }
  132. }
  133. .inner>img {
  134. width: 305px;
  135. height: 100px;
  136. margin-top: 25px;
  137. cursor: pointer;
  138. }
  139. /* // 搜索框部分 */
  140. .search {
  141. float: left;
  142. width: 440px;
  143. height: 40px;
  144. background-color: #fff;
  145. line-height: 40px;
  146. margin-left: 39px;
  147. margin: 71px 39px 48px;
  148. position: relative;
  149. em {
  150. display: inline-block;
  151. width: 30px;
  152. height: 30px;
  153. position: absolute;
  154. top: 5px;
  155. left: 15px;
  156. }
  157. input {
  158. float: left;
  159. width: 351px;
  160. height: 40px;
  161. border: none;
  162. outline: none;
  163. padding-left: 65px;
  164. box-sizing: border-box;
  165. border: 1px solid #028E21;
  166. border-right: none;
  167. border-radius: 4px 0px 0px 4px;
  168. }
  169. button {
  170. float: right;
  171. width: 89px;
  172. height: 40px;
  173. background-color: #028E21;
  174. border-radius: 0px 4px 4px 0px;
  175. border: none;
  176. font-size: 14px;
  177. color: #fff;
  178. font-family: PingFang SC, PingFang SC;
  179. font-weight: 500;
  180. }
  181. }
  182. /* // 右侧小图标 */
  183. .serve {
  184. float: right;
  185. height: 60px;
  186. margin-top: 60px;
  187. margin-right: 60px;
  188. >li {
  189. float: left;
  190. height: 64px;
  191. margin-left: 48px;
  192. }
  193. >li>a {
  194. display: inline-block;
  195. height: 64px;
  196. }
  197. >li img {
  198. width: 29px;
  199. height: 29px;
  200. padding: 8px 14px;
  201. }
  202. >li p {
  203. height: 28px;
  204. text-align: center;
  205. color: #666666;
  206. }
  207. }
  208. }