base.css 7.0 KB

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