head.less 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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. .home {
  88. background-image: url("../../public/image/Iconly/Light/Home.png");
  89. }
  90. .collection {
  91. background-image: url("../../public/image/Iconly/Light/Star.png");
  92. }
  93. .exit {
  94. line-height: 30px;
  95. }
  96. // .exit:hover{
  97. // color: #028E21;
  98. // }
  99. }
  100. /* // 头部logo */
  101. .headerLogo {
  102. width: 100%;
  103. height: 174px;
  104. .inner {
  105. display: flex;
  106. justify-content: space-between;
  107. width: 1200px;
  108. margin: 0 auto;
  109. position: relative;
  110. height: 174px;
  111. .titlead {
  112. position: absolute;
  113. bottom: 30px;
  114. right: 0px;
  115. }
  116. }
  117. .inner>img {
  118. width: 297px;
  119. height: 114px;
  120. margin-top: 30px;
  121. cursor: pointer;
  122. }
  123. /* // 搜索框部分 */
  124. .search {
  125. float: left;
  126. width: 440px;
  127. height: 40px;
  128. background-color: #fff;
  129. line-height: 40px;
  130. margin-left: 39px;
  131. margin: 71px 39px 48px;
  132. position: relative;
  133. em {
  134. display: inline-block;
  135. width: 30px;
  136. height: 30px;
  137. background: url("../../public/image/Iconly/Broken/Search.png") no-repeat;
  138. position: absolute;
  139. top: 5px;
  140. left: 15px;
  141. }
  142. input {
  143. float: left;
  144. width: 351px;
  145. height: 40px;
  146. border: none;
  147. outline: none;
  148. padding-left: 65px;
  149. box-sizing: border-box;
  150. border: 1px solid #028E21;
  151. border-right: none;
  152. border-radius: 4px 0px 0px 4px;
  153. }
  154. button {
  155. float: right;
  156. width: 89px;
  157. height: 40px;
  158. background-color: #028E21;
  159. border-radius: 0px 4px 4px 0px;
  160. border: none;
  161. font-size: 14px;
  162. color: #fff;
  163. font-family: PingFang SC, PingFang SC;
  164. font-weight: 500;
  165. }
  166. }
  167. /* // 右侧小图标 */
  168. .serve {
  169. float: right;
  170. height: 60px;
  171. margin-top: 60px;
  172. margin-right: 60px;
  173. >li {
  174. float: left;
  175. height: 64px;
  176. margin-left: 48px;
  177. }
  178. >li>a {
  179. display: inline-block;
  180. height: 64px;
  181. }
  182. >li img {
  183. width: 29px;
  184. height: 29px;
  185. padding: 8px 14px;
  186. }
  187. >li p {
  188. height: 28px;
  189. text-align: center;
  190. color: #666666;
  191. }
  192. }
  193. }