head.less 4.9 KB

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