index.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610
  1. /* 头部 */
  2. .header {
  3. width: 100%;
  4. height: 683px;
  5. background-image: url(../images/bg-header.png);
  6. background-size: 100% 100%;
  7. font-size: 16px;
  8. color: #FFFFFF;
  9. padding-top: 20px;
  10. }
  11. .header .top,
  12. .header .banner {
  13. display: flex;
  14. justify-content: space-between;
  15. }
  16. .header .top .left a {
  17. color: #FFFFFF;
  18. }
  19. .header .top .right {
  20. width: 548px;
  21. display: flex;
  22. justify-content: space-between;
  23. }
  24. .header .banner {
  25. margin-top: 40px;
  26. }
  27. .header .banner ul {
  28. width: 801px;
  29. display: flex;
  30. justify-content: space-between;
  31. align-items: center;
  32. }
  33. .header .search {
  34. width: 739px;
  35. color: #FFFFFF;
  36. position: relative;
  37. margin-top: 255px;
  38. }
  39. .header .search input {
  40. width: 739px;
  41. height: 70px;
  42. background: rgb(255 255 255 / 54%);
  43. border-radius: 35px;
  44. font-size: 20px;
  45. padding-left: 36px;
  46. box-sizing: border-box;
  47. }
  48. .header .search input::placeholder {
  49. color: #FFFFFF;
  50. }
  51. .header .search button {
  52. width: 128px;
  53. height: 60px;
  54. background: linear-gradient(76deg, #52DDF4, #39AFF6);
  55. border-radius: 30px;
  56. color: #FFFFFF;
  57. position: absolute;
  58. right: 5px;
  59. top: 5px;
  60. font-size: 20px;
  61. display: flex;
  62. align-items: center;
  63. justify-content: center;
  64. }
  65. /* 公共 */
  66. .cont-width {
  67. width: 1400px;
  68. background: #FFFFFF;
  69. box-shadow: 0px 7px 24px 5px rgba(36, 60, 81, 0.08);
  70. margin: 20px auto;
  71. padding: 35px 44px;
  72. box-sizing: border-box;
  73. }
  74. .cont-width .title {
  75. background-size: 100% 100%;
  76. height: 23px;
  77. line-height: 23px;
  78. text-align: center;
  79. font-size: 24px;
  80. font-weight: bold;
  81. color: #1458B4;
  82. }
  83. /* 二维码 */
  84. .codeBig {
  85. width: 246px;
  86. height: 269px;
  87. font-size: 18px;
  88. color: #FFFFFF;
  89. background: rgb(60 92 134 / 94%);
  90. box-shadow: 0px 7px 7px 1px rgba(42, 104, 187, 0.16);
  91. border-radius: 10px;
  92. position: absolute;
  93. padding: 10px;
  94. box-sizing: border-box;
  95. display: flex;
  96. flex-direction: column;
  97. align-items: center;
  98. justify-content: space-evenly;
  99. }
  100. .codeBig img {
  101. width: 158px;
  102. }
  103. .codeBig .line {
  104. width: 58px;
  105. height: 1px;
  106. background: #FFFFFF;
  107. }
  108. /* 第一部分 */
  109. .first {
  110. /*margin-top: -152px;*/
  111. }
  112. .first .left .list li {
  113. font-size: 20px;
  114. color: #203C50;
  115. position: relative;
  116. width: 333px;
  117. height: 76px;
  118. background: #F4FAFF;
  119. border-radius: 10px;
  120. display: flex;
  121. align-items: center;
  122. margin-top: 20px;
  123. cursor: pointer;
  124. }
  125. .first .left .list li.click {
  126. background: linear-gradient(264deg, #78C5FC, #4CA0F6);
  127. font-weight: bold;
  128. color: #FFFFFF;
  129. }
  130. .first .left .list li img:first-child {
  131. width: 52px;
  132. height: 52px;
  133. margin: auto 18px;
  134. }
  135. .first .left .list li .code {
  136. width: 33px;
  137. height: 26px;
  138. position: absolute;
  139. top: 0;
  140. right: 0;
  141. }
  142. .first .left .list li .arrow {
  143. width: 0;
  144. height: 0;
  145. opacity: 0;
  146. border-top: 22px solid transparent;
  147. border-bottom: 22px solid transparent;
  148. border-right: 22px solid #F2F9FF;
  149. position: absolute;
  150. right: -31px;
  151. }
  152. .first .code1{
  153. left: 342px;
  154. }
  155. .first .message {
  156. margin-top: 20px;
  157. background: #F2F9FF;
  158. padding: 18px 23px;
  159. box-sizing: border-box;
  160. }
  161. .first .message .img {
  162. width: 364px;
  163. height: 165px;
  164. font-size: 20px;
  165. color: #FFFFFF;
  166. background-size: 100% 100%;
  167. display: flex;
  168. align-items: flex-end;
  169. justify-content: flex-start;
  170. padding-left: 20px;
  171. padding-bottom: 5px;
  172. box-sizing: border-box;
  173. }
  174. .first .message li {
  175. display: flex;
  176. align-items: center;
  177. justify-content: space-between;
  178. height: 50px;
  179. font-size: 18px;
  180. color: #333333;
  181. border-bottom: 1px solid #D3D3D3;
  182. cursor: pointer;
  183. }
  184. .first .message li:last-child {
  185. border-bottom: none;
  186. }
  187. .first .left .message li img {
  188. width: 36px;
  189. height: 36px;
  190. }
  191. .first .right .message li img{
  192. width: 67px;
  193. width: 67px;
  194. }
  195. .first .right .time {
  196. height: 49px;
  197. background: #F4FAFF;
  198. border-radius: 10px;
  199. margin-top: 20px;
  200. font-size: 18px;
  201. font-weight: bold;
  202. color: #1458B4;
  203. display: flex;
  204. align-items: center;
  205. justify-content: center;
  206. position: relative;
  207. cursor: pointer;
  208. }
  209. .first .right .time .logo {
  210. width: 32px;
  211. margin-right: 120px;
  212. }
  213. .first .right .time .arrow {
  214. position: absolute;
  215. right: 20px;
  216. }
  217. .first .right li {
  218. height: 120px;
  219. }
  220. /*热点推荐*/
  221. .second{
  222. width: 1400px;
  223. height: 367px;
  224. background: #FFFFFF;
  225. box-shadow: 0px 7px 24px 5px rgba(36,60,81,0.08);
  226. margin: auto;
  227. }
  228. .recommended {
  229. display: flex;
  230. }
  231. .second .title{
  232. width: 1216px;
  233. box-sizing: border-box;
  234. padding-left: 90px;
  235. }
  236. .second .shuaxin{
  237. font-size: 16px;
  238. /* width: 16px;
  239. height: 16px; */
  240. color: #1458B4;
  241. margin-left: 23px;
  242. }
  243. .second .huan{
  244. width: 48px;
  245. height: 17px;
  246. font-size: 16px;
  247. font-family: Microsoft YaHei;
  248. font-weight: 400;
  249. color: #1458B4;
  250. }
  251. .mokuai1{
  252. width: 308px;
  253. height: 223px;
  254. background: #FFFFFF;
  255. border: 1px solid #EEEEEE;
  256. border-radius: 10px;
  257. }
  258. .mokuai1 .top{
  259. width: 42px;
  260. height: 19px;
  261. font-size: 18px;
  262. font-family: Microsoft YaHei;
  263. font-weight: 400;
  264. color: #333333;
  265. line-height: 24px;
  266. }
  267. .second .zhong{
  268. margin-top: 45px;
  269. display: flex;
  270. justify-content: space-between;
  271. position: relative;
  272. }
  273. .second .mokuai1 .top{
  274. margin:22px 0 0px 22px;
  275. margin-bottom: 20px;
  276. width: 265px;
  277. height: 71px;
  278. display: -webkit-box;
  279. font-size: 18px;
  280. line-height: 23px;
  281. -webkit-line-clamp: 3; /*最多显示5行*/
  282. overflow: hidden;
  283. text-overflow: ellipsis;
  284. -webkit-box-orient: vertical;
  285. word-break: break-all; /*强制英文单词自动换行*/
  286. }
  287. .mokuai1 .center .left{
  288. font-size: 16px;
  289. color: #999999;
  290. }
  291. .mokuai1 .center{
  292. display: flex;
  293. margin-left: 21px;
  294. margin-right: 25px;
  295. justify-content: space-between;
  296. }
  297. .mokuai1 .center .hot{
  298. margin-right: 5px;
  299. }
  300. .mokuai1 .center .right{
  301. display: flex;
  302. text-align: center;
  303. font-size: 16px;
  304. color: #F59A23;
  305. align-items: center;
  306. }
  307. .mokuai1 .center .right img{
  308. width: 15px;
  309. height: 17px;
  310. }
  311. .mokuai1 .bottom{
  312. font-size: 16px;
  313. display: flex;
  314. align-items: center;
  315. margin-left: 21px;
  316. margin-right: 25px;
  317. justify-content: space-between;
  318. height: 60px;
  319. border-top: 1px solid #EEEEEE;
  320. margin-top: 20px;
  321. }
  322. .mokuai1 .bottom .left{
  323. width: 35px;
  324. }
  325. .second .code2{
  326. top: 0;
  327. left: 320px;
  328. }
  329. /* 第三部分 */
  330. .third {
  331. padding: 0;
  332. margin-top: 54px;
  333. }
  334. .third .top {
  335. display: flex;
  336. justify-content: space-between;
  337. }
  338. .third .top li {
  339. width: 697px;
  340. height: 93px;
  341. background: #F5F7F8;
  342. font-size: 24px;
  343. color: #8CA2AD;
  344. display: flex;
  345. align-items: center;
  346. justify-content: center;
  347. }
  348. .third .top li span {
  349. margin-left: 42px;
  350. }
  351. .third .top li.click {
  352. background: #F4FAFF;
  353. font-weight: bold;
  354. color: #1458B4;
  355. border-bottom: 6px solid #1458B4;
  356. }
  357. .third .list{
  358. display: flex;
  359. }
  360. .third .list .banner {
  361. display: flex;
  362. font-size: 18px;
  363. justify-content: space-evenly;
  364. margin-top: 30px;
  365. }
  366. .third .list .banner li {
  367. width: 142px;
  368. height: 47px;
  369. line-height: 47px;
  370. text-align: center;
  371. background: #F4FAFF;
  372. border-radius: 10px;
  373. }
  374. .third .list .banner li.click {
  375. background: linear-gradient(0deg, #78C5FC, #4CA0F6);
  376. color: #FFFFFF;
  377. }
  378. .third .list .item {
  379. display: flex;
  380. flex-wrap: wrap;
  381. margin-top: 20px;
  382. }
  383. .third .list .item li {
  384. width: 168px;
  385. height: 142px;
  386. background: #FFFFFF;
  387. border: 1px solid #EEEEEE;
  388. border-radius: 10px;
  389. font-size: 18px;
  390. color: #203C50;
  391. position: relative;
  392. display: flex;
  393. flex-direction: column;
  394. align-items: center;
  395. justify-content: center;
  396. margin-left: 50px;
  397. margin-top: 50px;
  398. }
  399. .third .list .item li.click {
  400. font-weight: bold;
  401. color: #203C50;
  402. border: 1px solid #EEEEEE;
  403. box-shadow: 0px 3px 8px 0px rgba(42, 104, 187, 0.29);
  404. }
  405. .third .list .item .code {
  406. width: 20px;
  407. height: 20px;
  408. margin-top: 20px;
  409. }
  410. .third .list .item .logo {
  411. width: 52px;
  412. position: absolute;
  413. top: -26px;
  414. }
  415. .third .list .item .name {
  416. width: 108px;
  417. display: flex;
  418. flex-wrap: wrap;
  419. justify-content: center;
  420. margin-top: 30px;
  421. }
  422. .third .message {
  423. width: 448px;
  424. background: #FDFEFF;
  425. box-shadow: 0px 3px 8px 0px rgba(42, 104, 187, 0.29);
  426. padding: 18px 20px;
  427. box-sizing: border-box;
  428. position: relative;
  429. position: absolute;
  430. top: 140px;
  431. left: 250px;
  432. }
  433. .third .message .img {
  434. width: 407px;
  435. height: 165px;
  436. font-size: 20px;
  437. color: #FFFFFF;
  438. background-size: 100% 100%;
  439. display: flex;
  440. align-items: flex-end;
  441. justify-content: flex-start;
  442. padding-left: 20px;
  443. padding-bottom: 5px;
  444. box-sizing: border-box;
  445. }
  446. .third .message li {
  447. display: flex;
  448. align-items: center;
  449. justify-content: space-between;
  450. height: 50px;
  451. font-size: 18px;
  452. color: #333333;
  453. border-bottom: 1px solid #D3D3D3;
  454. }
  455. .third .message li:last-child {
  456. border-bottom: none;
  457. }
  458. .third .message li img {
  459. width: 36px;
  460. height: 36px;
  461. }
  462. .third .message .arrow {
  463. width: 0;
  464. height: 0;
  465. content: '';
  466. border-style: solid;
  467. border-width: 14px;
  468. border-color: #FDFEFF #FDFEFF transparent transparent;
  469. transform: rotate(224deg);
  470. box-shadow: 2px -2px 2px rgb(147 175 213 / 29%);
  471. position: absolute;
  472. left: -14px;
  473. top: 30px;
  474. }
  475. /* 第四部分 */
  476. .four .title{
  477. padding-left: 56px;
  478. box-sizing: border-box;
  479. }
  480. .four .down{
  481. display: flex;
  482. display: flex;
  483. justify-content: space-between;
  484. margin-top: 63px;
  485. }
  486. .four .down li{
  487. background-size: 100%;
  488. width: 298px;
  489. height: 155px;
  490. font-size: 26px;
  491. font-weight: bold;
  492. color: #FFFFFF;
  493. text-align: center;
  494. line-height: 155px;
  495. cursor: pointer;
  496. }
  497. .four .down .one{
  498. background-image: url(../images/jinji-one.png);
  499. }
  500. .four .down .two{
  501. background-image: url(../images/jinji-tow.png);
  502. }
  503. .four .down .three{
  504. background-image: url(../images/jinji-three.png);
  505. }
  506. .four .down .four{
  507. background-image: url(../images/jinji-four.png);
  508. }
  509. .news-item {
  510. border-bottom: 1px solid #E1E1E1;
  511. margin-top: 20px;
  512. display: flex;
  513. flex-direction: column;
  514. font-size: 16px;
  515. font-family: Source Han Sans SC;
  516. font-weight: 400;
  517. color: #333333;
  518. cursor: pointer;
  519. }
  520. .news-item .jigou {
  521. font-size: 14px;
  522. font-family: Source Han Sans SC;
  523. font-weight: 400;
  524. color: #2E77C6;
  525. /* background: #B9D9FD; */
  526. }
  527. .news-item .jigou span{
  528. padding: 3px 8px;
  529. background: #B9D9FD;
  530. line-height: 20px;
  531. }
  532. .news-item p{
  533. margin-top: 13px;
  534. margin-bottom: 24px;
  535. }
  536. .news-item:hover p{
  537. opacity: 0.8;
  538. }
  539. .news-item .time {
  540. font-size: 14px;
  541. font-family: Source Han Sans SC;
  542. font-weight: 400;
  543. color: #999999;
  544. margin-bottom: 24px;
  545. }
  546. .line-limit-2 {
  547. display: -webkit-box;
  548. font-size: 18px;
  549. line-height: 20px;
  550. height: 40px;
  551. -webkit-line-clamp: 2; /*最多显示5行*/
  552. overflow: hidden;
  553. text-overflow: ellipsis;
  554. -webkit-box-orient: vertical;
  555. word-break: break-all; /*强制英文单词自动换行*/
  556. }