base.css 6.0 KB

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