base.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. body {
  2. min-height: 100vh;
  3. font-size: 16px;
  4. color: #272727;
  5. font-family: "Microsoft YaHei", SimSun, Arial, Helvetica, sans-serif;
  6. }
  7. h1,
  8. h2,
  9. h3,
  10. h4,
  11. h5,
  12. h6,
  13. p {
  14. margin: 0;
  15. font-size: 16px;
  16. }
  17. ul,
  18. ol {
  19. margin: 0;
  20. padding: 0;
  21. }
  22. li {
  23. padding: 0;
  24. list-style-type: none;
  25. }
  26. a {
  27. text-decoration: none;
  28. color: #272727;
  29. }
  30. ::-webkit-scrollbar {
  31. width: 8px;
  32. height: 8px;
  33. background-color: #f5f5f5;
  34. }
  35. ::-webkit-scrollbar-thumb {
  36. border-radius: 4px;
  37. background-color: #cccecf;
  38. }
  39. .container {
  40. width: 1200px;
  41. margin: 0 auto;
  42. }
  43. .flex {
  44. display: flex;
  45. justify-content: space-between;
  46. align-items: center;
  47. }
  48. .fl {
  49. float: left !important;
  50. }
  51. .fr {
  52. float: right !important;
  53. }
  54. .clearfix::after {
  55. content: "";
  56. display: block;
  57. clear: both;
  58. }
  59. .mt18 {
  60. margin-top: 18px;
  61. }
  62. .mr18 {
  63. margin-right: 18px;
  64. }
  65. .mb18 {
  66. margin-bottom: 18px;
  67. }
  68. .ml18 {
  69. margin-left: 18px;
  70. }
  71. .banner {
  72. position: relative;
  73. width: 100%;
  74. min-width: 1200px;
  75. height: 530px;
  76. overflow: hidden;
  77. }
  78. .banner img {
  79. position: absolute;
  80. left: 50%;
  81. top: 50%;
  82. transform: translate(-50%, -50%);
  83. }
  84. .header {
  85. position: sticky;
  86. width: 100%;
  87. left: 0;
  88. top: 0;
  89. z-index: 99;
  90. background-color: #fff;
  91. }
  92. .header .logo h1 {
  93. font-size: 0;
  94. }
  95. .header .logo img {
  96. display: block;
  97. height: 42px;
  98. }
  99. .header .nav > li {
  100. float: left;
  101. position: relative;
  102. margin-right: 56px;
  103. }
  104. .header .nav > li:last-child {
  105. margin-right: 0;
  106. }
  107. .header .nav > li:hover > a {
  108. color: #0688d2;
  109. }
  110. .header .nav > li:hover::after {
  111. display: block;
  112. }
  113. .header .nav > li:hover .menu {
  114. display: block;
  115. }
  116. .header .nav > li > a {
  117. display: block;
  118. line-height: 68px;
  119. }
  120. .header .nav > li::after {
  121. content: "";
  122. position: absolute;
  123. display: none;
  124. width: 32px;
  125. height: 3px;
  126. background: #0688d2;
  127. left: 50%;
  128. bottom: 0;
  129. transform: translateX(-50%);
  130. }
  131. .header .nav > li.active > a {
  132. color: #0688d2;
  133. }
  134. .header .nav > li.active::after {
  135. display: block;
  136. }
  137. .header .nav .menu {
  138. display: none;
  139. position: absolute;
  140. background: #fff;
  141. min-width: 128px;
  142. left: 50%;
  143. top: 68px;
  144. transform: translateX(-50%);
  145. }
  146. .header .nav .menu > li:hover {
  147. background: #0688d2;
  148. }
  149. .header .nav .menu > li:hover > a {
  150. color: #fff;
  151. }
  152. .header .nav .menu > li:hover .submenu {
  153. display: block;
  154. }
  155. .header .nav .menu > li > a {
  156. display: block;
  157. font-size: 14px;
  158. text-align: center;
  159. line-height: 50px;
  160. }
  161. .header .nav .menu > li.dropdown > a {
  162. background: url(/img/icon-arrow-right.png) no-repeat;
  163. background-position: 88% center;
  164. background-size: 16px;
  165. }
  166. .header .nav .menu .submenu {
  167. display: none;
  168. position: absolute;
  169. top: 0;
  170. right: 0;
  171. background: #fff;
  172. width: 306px;
  173. min-height: 200px;
  174. border-left: 1px solid #f8f8f8;
  175. border-left-color: #e8e8e8;
  176. transform: translateX(100%) translateX(-1px);
  177. box-sizing: border-box;
  178. padding: 16px 24px;
  179. }
  180. .header .nav .menu .submenu > li {
  181. float: left;
  182. margin: 16px 16px 0 0;
  183. }
  184. .header .nav .menu .submenu > li:nth-child(2n) {
  185. margin-right: 0;
  186. }
  187. .header .nav .menu .submenu > li:nth-child(-n+2) {
  188. margin-top: 0;
  189. }
  190. .header .nav .menu .submenu > li > a {
  191. display: block;
  192. font-size: 14px;
  193. width: 120px;
  194. text-align: center;
  195. line-height: 32px;
  196. background: #f7f7f7;
  197. }
  198. .header .nav .menu .submenu > li > a:hover {
  199. background: #eff9ff;
  200. color: #0688d2;
  201. }
  202. .footer {
  203. margin-top: 120px;
  204. padding-top: 38px;
  205. padding-bottom: 24px;
  206. background: #1b1b1b;
  207. }
  208. .footer .container .section {
  209. margin-right: 180px;
  210. }
  211. .footer .container .section .item {
  212. position: relative;
  213. color: rgba(255, 255, 255, 0.5);
  214. margin-top: 20px;
  215. padding-left: 30px;
  216. font-size: 12px;
  217. }
  218. .footer .container .section .item::before {
  219. content: "";
  220. display: block;
  221. width: 20px;
  222. height: 20px;
  223. background-color: #fff;
  224. position: absolute;
  225. left: 0;
  226. top: 50%;
  227. transform: translateY(-50%);
  228. }
  229. .footer .container .section .item.mobile span:last-child {
  230. margin-left: 16px;
  231. }
  232. .footer .container .nav {
  233. margin-left: 110px;
  234. }
  235. .footer .container .nav li {
  236. margin-top: 25px;
  237. text-align: center;
  238. }
  239. .footer .container .nav li:first-child {
  240. margin-top: 12px;
  241. }
  242. .footer .container .nav li a {
  243. font-size: 14px;
  244. color: rgba(255, 255, 255, 0.5);
  245. }
  246. .footer .container .nav li a:hover {
  247. color: #0688d2;
  248. }
  249. .footer .container .qrcode {
  250. padding: 7px;
  251. background: rgba(255, 255, 255, 0.06);
  252. }
  253. .footer .container .qrcode img {
  254. display: block;
  255. width: 94px;
  256. height: 94px;
  257. background-color: #fff;
  258. }
  259. .footer .container .qrcode .tip {
  260. font-size: 12px;
  261. color: #ffffff;
  262. margin-top: 5px;
  263. text-align: center;
  264. }
  265. .footer .line {
  266. width: 100%;
  267. height: 1px;
  268. background-color: rgba(255, 255, 255, 0.3);
  269. margin: 32px 0 24px;
  270. }
  271. .footer .link {
  272. display: flex;
  273. justify-content: center;
  274. align-items: center;
  275. }
  276. .footer .link i {
  277. display: block;
  278. height: 10px;
  279. width: 1px;
  280. background-color: rgba(255, 255, 255, 0.4);
  281. margin: 0 16px;
  282. }
  283. .footer .link a {
  284. color: rgba(255, 255, 255, 0.4);
  285. font-size: 12px;
  286. }
  287. .footer .link a:hover {
  288. color: #0688d2;
  289. }
  290. .footer .copyright {
  291. margin-top: 20px;
  292. text-align: center;
  293. color: rgba(255, 255, 255, 0.4);
  294. font-size: 12px;
  295. }
  296. .footer .copyright a {
  297. color: rgba(255, 255, 255, 0.8);
  298. text-decoration: underline;
  299. }
  300. .footer .copyright * {
  301. margin: 0 24px;
  302. }