head.less 3.9 KB

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