head.less 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  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: #dd7d18;
  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: 180px;
  48. font-size: 12px;
  49. font-family: PingFang SC-Regular;
  50. color: #666666;
  51. background: url("http://img.bjzxtw.org.cn/master/bjzxtw/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. }
  61. .headerNav .right {
  62. display: flex;
  63. margin-right: 10px;
  64. position: relative;
  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. .home {
  110. background-image: url("http://img.bjzxtw.org.cn/master/bjzxtw/public/image/search.png");
  111. }
  112. .collection {
  113. background-image: url("http://img.bjzxtw.org.cn/master/bjzxtw/public/image/search.png");
  114. }
  115. .exit {
  116. line-height: 30px;
  117. }
  118. // .exit:hover{
  119. // color: #028E21;
  120. // }
  121. }
  122. /* // 头部logo */
  123. .headerLogo {
  124. height: 145px;
  125. position: relative;
  126. //background: url("../../public/head/topBg.png") no-repeat center;
  127. .titlead {
  128. position: absolute;
  129. bottom: 14px;
  130. right: 26px;
  131. width: 830px;
  132. height: 110px;
  133. overflow: hidden;
  134. a {
  135. display: block;
  136. width: 830px;
  137. height: 110px;
  138. overflow: hidden;
  139. }
  140. img {
  141. width: 100%;
  142. height:110px;
  143. }
  144. }
  145. .inner {
  146. position: relative;
  147. height: 145px;
  148. }
  149. .inner>img {
  150. width: 297px;
  151. height: 110px;
  152. margin-top: 20px;
  153. cursor: pointer;
  154. }
  155. /* // 搜索框部分 */
  156. .search {
  157. float: left;
  158. width: 440px;
  159. height: 40px;
  160. background-color: #fff;
  161. line-height: 40px;
  162. margin-left: 39px;
  163. margin: 71px 39px 48px;
  164. position: relative;
  165. em {
  166. display: inline-block;
  167. width: 30px;
  168. height: 30px;
  169. background: url("http://img.bjzxtw.org.cn/master/bjzxtw/public/image/search.png") no-repeat;
  170. position: absolute;
  171. top: 5px;
  172. left: 15px;
  173. }
  174. input {
  175. float: left;
  176. width: 351px;
  177. height: 40px;
  178. border: none;
  179. outline: none;
  180. padding-left: 65px;
  181. box-sizing: border-box;
  182. border: 1px solid #028E21;
  183. border-right: none;
  184. border-radius: 4px 0px 0px 4px;
  185. }
  186. button {
  187. float: right;
  188. width: 89px;
  189. height: 40px;
  190. background-color: #028E21;
  191. border-radius: 0px 4px 4px 0px;
  192. border: none;
  193. font-size: 14px;
  194. color: #fff;
  195. font-family: PingFang SC, PingFang SC;
  196. font-weight: 500;
  197. }
  198. }
  199. /* // 右侧小图标 */
  200. .serve {
  201. float: right;
  202. height: 60px;
  203. margin-top: 60px;
  204. margin-right: 60px;
  205. >li {
  206. float: left;
  207. height: 64px;
  208. margin-left: 48px;
  209. }
  210. >li>a {
  211. display: inline-block;
  212. height: 64px;
  213. }
  214. >li img {
  215. width: 29px;
  216. height: 29px;
  217. padding: 8px 14px;
  218. }
  219. >li p {
  220. height: 28px;
  221. text-align: center;
  222. color: #666666;
  223. }
  224. }
  225. }