home.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. body {
  2. color: #333;
  3. font-size: 16px;
  4. }
  5. a {
  6. color: #333;
  7. text-decoration: none;
  8. }
  9. a:hover {
  10. color: #36d9cb;
  11. }
  12. .wrap {
  13. width: 1200px;
  14. margin: 0 auto;
  15. }
  16. /*swper 组件样式*/
  17. .swiper-slide {
  18. /* Center slide text vertically */
  19. display: -webkit-box;
  20. display: -ms-flexbox;
  21. display: -webkit-flex;
  22. display: flex;
  23. -webkit-box-pack: center;
  24. -ms-flex-pack: center;
  25. -webkit-justify-content: center;
  26. justify-content: center;
  27. -webkit-box-align: center;
  28. -ms-flex-align: center;
  29. -webkit-align-items: center;
  30. align-items: center;
  31. }
  32. .swiper-button-next {
  33. width: 33px;
  34. height: 33px;
  35. background: url(/dev/images/icon-right.png);
  36. }
  37. .swiper-button-prev {
  38. width: 33px;
  39. height: 33px;
  40. background: url(/dev/images/icon-left.png);
  41. }
  42. .swiper-pagination-bullet-active {
  43. background-color: #36d9cb;
  44. }
  45. /*头部导航*/
  46. .nav {
  47. overflow: hidden;
  48. height: 80px;
  49. line-height: 90px;
  50. }
  51. .logo {
  52. width: 120px;
  53. height: 50px;
  54. float: left;
  55. margin-top: 15px;
  56. }
  57. .logo img {
  58. width: 100%;
  59. height: 100%;
  60. }
  61. .nav-bar {
  62. float: right;
  63. }
  64. .nav-bar li {
  65. float: left;
  66. margin: 0 30px;
  67. }
  68. .nav-bar a p,
  69. .nav-bar a span {
  70. -webkit-transition: all .4s;
  71. transition: all .4s;
  72. opacity: 0;
  73. -webkit-transform: translate3d(0, 0, 0);
  74. transform: translate3d(0, 0, 0);
  75. }
  76. .nav-bar a span {
  77. display: inline-block;
  78. -webkit-transform: translate3d(0, 0, 0);
  79. transform: translate3d(0, 0, 0);
  80. opacity: 1;
  81. }
  82. .nav-bar a:hover span {
  83. -webkit-transform: translate3d(0, -100%, 0);
  84. transform: translate3d(0, -100%, 0);
  85. }
  86. .nav-bar a:hover p {
  87. -webkit-transform: translate3d(0, -100%, 0);
  88. transform: translate3d(0, -100%, 0);
  89. opacity: 1;
  90. }
  91. /*banner*/
  92. .banner {
  93. width: 100%;
  94. position: relative;
  95. }
  96. .banner-cover {
  97. width: 70%;
  98. position: absolute;
  99. top: 10%;
  100. left: 15%;
  101. z-index: 10000;
  102. }
  103. .banner img {
  104. width: 100%;
  105. }
  106. .banner .swiper-container-horizontal>.swiper-pagination-bullets {
  107. bottom: 30px;
  108. }
  109. /*小标题*/
  110. .content-title {
  111. margin: 80px 0 40px;
  112. overflow: hidden;
  113. }
  114. .content-title-left {
  115. float: left;
  116. }
  117. .content-title-left h3 {
  118. font-size: 20px;
  119. font-weight: bold;
  120. }
  121. .content-title-left p {
  122. line-height: 30px;
  123. margin-top: 5px;
  124. }
  125. .content-title-left p:after {
  126. content: "";
  127. display: block;
  128. height: 2px;
  129. width: 40px;
  130. transition: all 0.3s ease-out;
  131. background-color: #36d9cb;
  132. }
  133. .content-title:hover .content-title-left p:after {
  134. width: 100%;
  135. }
  136. .content-title-right {
  137. float: right;
  138. font-size: 14px;
  139. margin-top: 22px;
  140. }
  141. /*动态*/
  142. .news-list ul {
  143. overflow: hidden;
  144. }
  145. .news-list li {
  146. float: left;
  147. width: 282px;
  148. height: 390px;
  149. background-color: #504d4b;
  150. color: #fff;
  151. margin-right: 24px;
  152. }
  153. .news-list .news-last {
  154. margin-right: 0;
  155. }
  156. .news-img {
  157. width: 100%;
  158. height: 208px;
  159. overflow: hidden;
  160. }
  161. .news-img img {
  162. width: 100%;
  163. height: 100%;
  164. transition: all .3s ease-out;
  165. }
  166. .news-list a {
  167. color: #fff;
  168. }
  169. .news-list dl {
  170. text-align: center;
  171. }
  172. .news-list dt {
  173. line-height: 50px;
  174. }
  175. .news-list dd {
  176. font-size: 12px;
  177. line-height: 26px;
  178. width: 100%;
  179. overflow: hidden;
  180. text-overflow: ellipsis;
  181. display: -webkit-box;
  182. -webkit-line-clamp: 2;
  183. -webkit-box-orient: vertical;
  184. width: 83%;
  185. margin: 0 auto;
  186. }
  187. .news-list .news-more {
  188. border-top: 1px solid #a7a6a5;
  189. padding-top: 8px;
  190. margin-top: 40px;
  191. width: 50%;
  192. transition: all .3s ease-out;
  193. }
  194. .news-list li:hover .news-img img {
  195. transform: scale(1.2);
  196. }
  197. .news-list li:hover .news-more {
  198. width: 90%;
  199. }
  200. /*资讯*/
  201. .information-list li {
  202. width: 100%;
  203. line-height: 46px;
  204. padding-left: 16px;
  205. overflow: hidden;
  206. background: url(/dev/images/policy-list-icon.png) no-repeat left center;
  207. }
  208. .information-list li:hover {
  209. background-image: url(/dev/images/policy-list-icon-hover.png);
  210. }
  211. .information-title {
  212. float: left;
  213. width: 70%;
  214. overflow: hidden;
  215. text-overflow: ellipsis;
  216. white-space: nowrap;
  217. }
  218. .information-date {
  219. float: right;
  220. }
  221. /*图标导航*/
  222. .icon-nav {
  223. width: 100%;
  224. height: 300px;
  225. background: url(/dev/images/bg.png) no-repeat;
  226. background-attachment: fixed;
  227. margin-top: 80px;
  228. }
  229. .icon-nav .wrap {
  230. height: 100%;
  231. /*background-color: rgb(219, 214, 214,.5);*/
  232. }
  233. .icon-nav a {
  234. color: #fff;
  235. }
  236. .icon-nav ul {
  237. overflow: hidden;
  238. }
  239. .icon-nav li {
  240. float: left;
  241. width: 25%;
  242. text-align: center;
  243. margin-top: 92px;
  244. }
  245. .icon-nav dt {
  246. width: 50px;
  247. height: 50px;
  248. display: inline-block;
  249. margin-bottom: 20px;
  250. transition: 1s all;
  251. }
  252. .icon-nav li:hover dt {
  253. transform: rotateY(360deg);
  254. }
  255. .icon-nav dt img {
  256. width: 100%;
  257. height: 100%;
  258. }
  259. .icon-nav dd {
  260. line-height: 30px;
  261. }
  262. /*通知公告*/
  263. .announcement {
  264. overflow: hidden;
  265. }
  266. .announcement-left {
  267. float: left;
  268. width: 50%;
  269. }
  270. .announcement-news {
  271. overflow: hidden;
  272. border-bottom: 1px solid #dbd6d6;
  273. padding: 12px 0;
  274. }
  275. .last-announcement-news {
  276. border-bottom: none;
  277. }
  278. .announcement-img {
  279. width: 128px;
  280. height: 104px;
  281. float: left;
  282. }
  283. .announcement-img img {
  284. width: 100%;
  285. height: 100%;
  286. }
  287. .announcement-left dl {
  288. margin-left: 145px;
  289. padding-top: 4px;
  290. }
  291. .announcement-left dt {
  292. overflow: hidden;
  293. text-overflow: ellipsis;
  294. white-space: nowrap;
  295. }
  296. .announcement-left dd {
  297. font-size: 14px;
  298. line-height: 20px;
  299. margin-top: 10px;
  300. overflow: hidden;
  301. text-overflow: ellipsis;
  302. display: -webkit-box;
  303. -webkit-line-clamp: 2;
  304. -webkit-box-orient: vertical;
  305. }
  306. .announcement-time {
  307. color: #777;
  308. }
  309. .announcement-right {
  310. float: right;
  311. }
  312. .announcement-right-pic {
  313. width: 582px;
  314. height: 372px;
  315. }
  316. .announcement-right-pic img {
  317. width: 100%;
  318. height: 100%;
  319. }
  320. /*合作伙伴*/
  321. .partner {
  322. background-color: #f2f2f2;
  323. padding: 70px 0;
  324. margin-top: 70px;
  325. }
  326. .partner .content-title {
  327. display: flex;
  328. justify-content: center;
  329. margin-top: 0;
  330. }
  331. .partner .swiper-container {
  332. width: 100%;
  333. height: 150px;
  334. }
  335. .partner .swiper-container-horizontal>.swiper-pagination-bullets {
  336. bottom: 0;
  337. }
  338. /*底部*/
  339. .footer {
  340. background-color: #2f383d;
  341. font-size: 14px;
  342. }
  343. .footer-message {
  344. color: #999;
  345. padding: 35px 0;
  346. }
  347. .footer-message p {
  348. line-height: 36px;
  349. }
  350. .footer-bottom {
  351. text-align: center;
  352. background-color: #292a2c;
  353. color: #818282;
  354. height: 54px;
  355. line-height: 54px;
  356. }