base.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  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. border: 1px solid #f8f8f8;
  142. min-width: 128px;
  143. left: 50%;
  144. top: 68px;
  145. transform: translateX(-50%);
  146. }
  147. .header .nav .menu > li:hover {
  148. background: #0688d2;
  149. }
  150. .header .nav .menu > li:hover > a {
  151. color: #fff;
  152. }
  153. .header .nav .menu > li:hover .submenu {
  154. display: block;
  155. }
  156. .header .nav .menu > li > a {
  157. display: block;
  158. font-size: 14px;
  159. text-align: center;
  160. line-height: 50px;
  161. }
  162. .header .nav .menu > li.dropdown > a {
  163. background: url(/img/icon-arrow-right.png) no-repeat;
  164. background-position: 88% center;
  165. background-size: 16px;
  166. }
  167. .header .nav .menu .submenu {
  168. display: none;
  169. position: absolute;
  170. top: 0;
  171. right: 0;
  172. background: #fff;
  173. width: 306px;
  174. min-height: 200px;
  175. border: 1px solid #f8f8f8;
  176. border-left-color: #e8e8e8;
  177. transform: translateX(100%) translateX(-1px);
  178. box-sizing: border-box;
  179. padding: 16px 24px;
  180. }
  181. .header .nav .menu .submenu > li {
  182. float: left;
  183. margin: 16px 16px 0 0;
  184. }
  185. .header .nav .menu .submenu > li:nth-child(2n) {
  186. margin-right: 0;
  187. }
  188. .header .nav .menu .submenu > li:nth-child(-n+2) {
  189. margin-top: 0;
  190. }
  191. .header .nav .menu .submenu > li > a {
  192. display: block;
  193. font-size: 14px;
  194. width: 120px;
  195. text-align: center;
  196. line-height: 32px;
  197. background: #f7f7f7;
  198. }
  199. .header .nav .menu .submenu > li > a:hover {
  200. background: #eff9ff;
  201. color: #0688d2;
  202. }
  203. .footer {
  204. margin-top: 120px;
  205. padding-top: 38px;
  206. padding-bottom: 24px;
  207. background: #1b1b1b;
  208. }
  209. .footer .container .section {
  210. margin-right: 180px;
  211. }
  212. .footer .container .section .item {
  213. position: relative;
  214. color: rgba(255, 255, 255, 0.5);
  215. margin-top: 20px;
  216. padding-left: 30px;
  217. font-size: 12px;
  218. }
  219. .footer .container .section .item::before {
  220. content: "";
  221. display: block;
  222. width: 20px;
  223. height: 20px;
  224. background-color: #fff;
  225. position: absolute;
  226. left: 0;
  227. top: 50%;
  228. transform: translateY(-50%);
  229. }
  230. .footer .container .section .item.mobile span:last-child {
  231. margin-left: 16px;
  232. }
  233. .footer .container .nav {
  234. margin-left: 110px;
  235. }
  236. .footer .container .nav li {
  237. margin-top: 25px;
  238. text-align: center;
  239. }
  240. .footer .container .nav li:first-child {
  241. margin-top: 12px;
  242. }
  243. .footer .container .nav li a {
  244. font-size: 14px;
  245. color: rgba(255, 255, 255, 0.5);
  246. }
  247. .footer .container .nav li a:hover {
  248. color: #0688d2;
  249. }
  250. .footer .container .qrcode {
  251. padding: 7px;
  252. background: rgba(255, 255, 255, 0.06);
  253. }
  254. .footer .container .qrcode img {
  255. display: block;
  256. width: 94px;
  257. height: 94px;
  258. background-color: #fff;
  259. }
  260. .footer .container .qrcode .tip {
  261. font-size: 12px;
  262. color: #ffffff;
  263. margin-top: 5px;
  264. text-align: center;
  265. }
  266. .footer .line {
  267. width: 100%;
  268. height: 1px;
  269. background-color: rgba(255, 255, 255, 0.3);
  270. margin: 32px 0 24px;
  271. }
  272. .footer .link {
  273. display: flex;
  274. justify-content: center;
  275. align-items: center;
  276. }
  277. .footer .link i {
  278. display: block;
  279. height: 10px;
  280. width: 1px;
  281. background-color: rgba(255, 255, 255, 0.4);
  282. margin: 0 16px;
  283. }
  284. .footer .link a {
  285. color: rgba(255, 255, 255, 0.4);
  286. font-size: 12px;
  287. }
  288. .footer .link a:hover {
  289. color: #0688d2;
  290. }
  291. .footer .copyright {
  292. margin-top: 20px;
  293. text-align: center;
  294. color: rgba(255, 255, 255, 0.4);
  295. font-size: 12px;
  296. }
  297. .footer .copyright a {
  298. color: rgba(255, 255, 255, 0.8);
  299. text-decoration: underline;
  300. }
  301. .footer .copyright * {
  302. margin: 0 24px;
  303. }