class.less 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. font-family: "微软雅黑", "microsoft yahei";
  5. }
  6. a:active {
  7. text-decoration: none;
  8. }
  9. a:hover {
  10. text-decoration: none;
  11. }
  12. a:visited {
  13. text-decoration: none;
  14. }
  15. a:link {
  16. text-decoration: none;
  17. }
  18. a:focus {
  19. text-decoration: none;
  20. }
  21. body {
  22. position: relative;
  23. }
  24. .clearfix {
  25. overflow: hidden;
  26. }
  27. .clearfix_2::after {
  28. content: '';
  29. display: block;
  30. height: 0;
  31. visibility: hidden;
  32. clear: both;
  33. }
  34. .hiddenColor {
  35. visibility: hidden;
  36. }
  37. .hand {
  38. cursor: pointer;
  39. }
  40. .dot1 {
  41. display: block;
  42. word-break: keep-all;
  43. white-space: nowrap;
  44. overflow: hidden;
  45. text-overflow: ellipsis;
  46. }
  47. .dot2 {
  48. overflow: hidden;
  49. display: -webkit-box;
  50. -webkit-box-orient: vertical;
  51. -webkit-line-clamp: 2;
  52. }
  53. .dot3 {
  54. overflow: hidden;
  55. display: -webkit-box;
  56. -webkit-box-orient: vertical;
  57. -webkit-line-clamp: 3;
  58. }
  59. input,
  60. img {
  61. border: none;
  62. }
  63. .cover100 img {
  64. display: block;
  65. width: 100%;
  66. height: 100%;
  67. object-fit: cover;
  68. }
  69. .back100 {
  70. background-size: 100% 100%;
  71. background-repeat: no-repeat;
  72. }
  73. article,
  74. aside,
  75. footer,
  76. header,
  77. time,
  78. video,
  79. main,
  80. nav,
  81. h4,
  82. h3,
  83. section {
  84. display: block;
  85. }
  86. .index_main {
  87. margin: 0 auto ;
  88. }
  89. .slow_6 {
  90. -webkit-transition: all .6s;
  91. -moz-transition: all .6s;
  92. -ms-transition: all .6s;
  93. -o-transition: all .6s;
  94. transition: all .6s;
  95. }
  96. .index_main {
  97. width: 1200px;
  98. }
  99. /*channel*/
  100. .channel_box_1 {
  101. float: left;
  102. width: 450px;
  103. }
  104. .channel_box_2 {
  105. float: right;
  106. width: 720px;
  107. }
  108. .channel_box_3 {
  109. float: left;
  110. width: 720px;
  111. }
  112. .channel_box_4 {
  113. float: right;
  114. width: 450px;
  115. }
  116. .channel_box_5 {
  117. float: left;
  118. width: 350px;
  119. }
  120. .channel_box_6 {
  121. float: right;
  122. width: 350px;
  123. }
  124. .channel_name_ul {
  125. margin-top: 0px;
  126. .channel_name_ul_li {
  127. height: 24px;
  128. margin-bottom: 18.4px;
  129. display: flex;
  130. }
  131. .channel_name_ul_li_tag {
  132. height: 24px;
  133. line-height: 24px;
  134. color: #004564;
  135. font-size: 18px;
  136. margin-right: 10px;
  137. word-break: keep-all;
  138. white-space: nowrap;
  139. }
  140. .channel_name_ul_li_dot1 {
  141. height: 24px;
  142. line-height: 24px;
  143. color: #333;
  144. font-size: 18px;
  145. width: 100%;
  146. }
  147. .channel_name_ul_li:nth-of-type(5n-4) .channel_name_ul_li_dot1 {
  148. font-weight: bold;
  149. font-size: 20px;
  150. color: #004564;
  151. }
  152. .channel_name_ul_li:nth-of-type(5n-4) .channel_name_ul_li_tag {
  153. display: none;
  154. }
  155. .channel_name_ul_li:hover .channel_name_ul_li_dot1 {
  156. color: #004564;
  157. }
  158. }
  159. .channel_1_box {
  160. width: 720px;
  161. height: 405px;
  162. }
  163. .channel_1 {
  164. margin: 40px auto 0px;
  165. }
  166. .channel_banner_1 {
  167. width: 1200px;
  168. margin: 12px auto 0px;
  169. .channel_banner_1_a {
  170. width: 1200px;
  171. display: block;
  172. }
  173. .channel_banner_1_img {
  174. width: 1200px;
  175. display: block;
  176. }
  177. }
  178. .channel_2 {
  179. margin: 30px auto 0px;
  180. }
  181. .channel_head_btn_box {
  182. height: 39px;
  183. margin-bottom: 30px;
  184. border-bottom: solid 2px #004564;
  185. position: relative;
  186. .channel_head_btn {
  187. float: left;
  188. height: 30px;
  189. line-height: 30px;
  190. color: #004564;
  191. font-size: 22px;
  192. margin-right: 22px;
  193. font-weight: bold;
  194. }
  195. .channel_head_a {
  196. height: 30px;
  197. line-height: 30px;
  198. color: #333;
  199. font-size: 22px;
  200. font-weight: bold;
  201. }
  202. .channel_head_btn_only {
  203. color: #004564;
  204. }
  205. .channel_head_btn_only .channel_head_a {
  206. color: #004564;
  207. }
  208. .channel_head_btn_right_a {
  209. float: right;
  210. color: #999;
  211. font-size: 16px;
  212. margin-top: 4px;
  213. }
  214. .channel_head_btn_right_a:hover {
  215. color: #004564;
  216. }
  217. }
  218. .channel_big_ul {
  219. .channel_big_li {
  220. background: #F9FAFB;
  221. box-sizing: border-box;
  222. margin-bottom: 19px;
  223. }
  224. .channel_big_li_img_box {
  225. width: 200px;
  226. height: 145px;
  227. float: left;
  228. }
  229. .channel_big_li_img {
  230. display: block;
  231. width: 200px;
  232. height: 145px;
  233. }
  234. .channel_big_li_in {
  235. width: 502px;
  236. float: right;
  237. margin: 10px 8px 0px 0px;
  238. }
  239. }
  240. .channel_ul_1_a {
  241. height: 24px;
  242. line-height: 24px;
  243. color: #333;
  244. font-size: 18px;
  245. margin-bottom: 10px;
  246. box-sizing: border-box;
  247. position: relative;
  248. text-indent: 16px;
  249. }
  250. .channel_ul_1_a::after {
  251. content: '';
  252. display: block;
  253. width: 6px;
  254. height: 6px;
  255. background: #ddd;
  256. border-radius: 50%;
  257. position: absolute;
  258. left: 0px;
  259. top: 9px;
  260. z-index: 11;
  261. }
  262. .channel_ul_1_a:hover {
  263. color: #004564;
  264. }
  265. .channel_ul_1_a:hover::after {
  266. content: '';
  267. display: block;
  268. background: #004564;
  269. }
  270. .channel_ul_1_a:nth-of-type(1) {
  271. font-weight: bold;
  272. }
  273. .channel_ul_1_a:last-of-type(1) {
  274. margin: 0;
  275. }
  276. .channel_head_top {
  277. margin-top: 10px;
  278. }
  279. .channel_img_ul_2 {
  280. .channel_img_ul_2_li {
  281. height: 230px;
  282. margin-bottom: 18px;
  283. position: relative;
  284. }
  285. .channel_img_ul_2_li_a {}
  286. .channel_img_ul_2_li_img {
  287. display: block;
  288. height: 230px;
  289. width: 350px;
  290. }
  291. .channel_img_ul_2_li_dot1 {
  292. height: 44px;
  293. line-height: 44px;
  294. color: #fff;
  295. font-size: 18px;
  296. padding: 0px 10px;
  297. box-sizing: border-box;
  298. position: absolute;
  299. width: 350px;
  300. z-index: 11;
  301. left: 0px;
  302. bottom: 0px;
  303. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 6%, rgba(0, 0, 0, 0) 100%);
  304. }
  305. }
  306. .channel_ul_2_a {
  307. height: 24px;
  308. line-height: 24px;
  309. color: #333;
  310. font-size: 18px;
  311. margin-bottom: 17px;
  312. box-sizing: border-box;
  313. text-indent: 16px;
  314. position: relative;
  315. }
  316. .channel_ul_2_a::after {
  317. content: '';
  318. display: block;
  319. width: 6px;
  320. height: 6px;
  321. background: #ddd;
  322. border-radius: 50%;
  323. position: absolute;
  324. left: 0px;
  325. top: 8px;
  326. z-index: 11;
  327. &:hover {
  328. color: #004564;
  329. }
  330. }
  331. .channel_ul_2_a:nth-of-type(3n-2) {
  332. font-weight: bold;
  333. }
  334. .channel_ul_2_a:hover::after {
  335. content: '';
  336. display: block;
  337. background: #004564;
  338. }
  339. .channel_img_ul_3 {
  340. margin-top: 33px;
  341. .channel_img_ul_3_li {
  342. position: relative;
  343. background: #F9FAFB;
  344. margin-bottom: 20px;
  345. }
  346. .channel_img_ul_3_li_a {
  347. width: 450px;
  348. display: flex;
  349. }
  350. .channel_img_ul_3_li_img_box {
  351. width: 140px;
  352. height: 90px;
  353. margin-right: 15px;
  354. }
  355. .channel_img_ul_3_li_img {
  356. width: 140px;
  357. height: 90px;
  358. }
  359. .channel_img_ul_3_li_dot3 {
  360. height: 72px;
  361. line-height: 24px;
  362. color: #333;
  363. font-size: 18px;
  364. margin-top: 10px;
  365. padding-right: 10px;
  366. box-sizing: border-box;
  367. width: 100%;
  368. }
  369. .channel_img_ul_3_li_num {
  370. position: absolute;
  371. width: 20px;
  372. height: 20px;
  373. color: #fff;
  374. font-size: 14px;
  375. text-align: center;
  376. line-height: 20px;
  377. z-index: 11;
  378. left: 10px;
  379. top: -3px;
  380. }
  381. }
  382. .channel_img_ul_3_li:nth-of-type(1) .channel_img_ul_3_li_num {
  383. background: #F25C57;
  384. }
  385. .channel_img_ul_3_li:nth-of-type(2) .channel_img_ul_3_li_num {
  386. background: #F29849;
  387. }
  388. .channel_img_ul_3_li:nth-of-type(3) .channel_img_ul_3_li_num {
  389. background: #F2B227;
  390. }
  391. .channel_img_ul_3_li:nth-of-type(n+4) .channel_img_ul_3_li_num {
  392. display: none;
  393. }
  394. .channel_img_ul_3_li_a:hover .channel_img_ul_3_li_dot3 {
  395. color: #004564;
  396. }
  397. .channel_banner_2 {
  398. width: 1200px;
  399. margin: 10px auto 0px;
  400. .channel_banner_2_a {
  401. width: 1200px;
  402. display: block;
  403. }
  404. .channel_banner_2_img {
  405. width: 1200px;
  406. display: block;
  407. }
  408. }
  409. .channel_3 {
  410. margin: 30px auto 0px;
  411. }
  412. .channel_img_ul_4 {
  413. .channel_img_ul_4_li {
  414. background: #F9FAFB;
  415. width: 350px;
  416. margin-bottom: 20px;
  417. }
  418. .channel_img_ul_4_li_a {
  419. display: flex;
  420. }
  421. .channel_img_ul_4_li_img_box {
  422. width: 165px;
  423. height: 96px;
  424. margin-right: 15px;
  425. }
  426. .channel_img_ul_4_li_img {
  427. width: 165px;
  428. height: 96px;
  429. }
  430. .channel_img_ul_4_li_dot2 {
  431. height: 48px;
  432. line-height: 24px;
  433. color: #333;
  434. font-size: 18px;
  435. margin-top: 23px;
  436. }
  437. .channel_img_ul_4_li_a:hover .channel_img_ul_4_li_dot2 {
  438. color: #004564;
  439. }
  440. .channel_img_ul_4_li:nth-of-type(odd) {
  441. float: left;
  442. }
  443. .channel_img_ul_4_li:nth-of-type(even) {
  444. float: right;
  445. }
  446. }
  447. .channel_ul_3_li {
  448. height: 62px;
  449. background: #F9FAFB;
  450. margin-bottom: 15px;
  451. .channel_ul_3_li_a {
  452. display: block;
  453. width: 720px;
  454. }
  455. .channel_ul_3_li_tag {
  456. width: 50px;
  457. height: 62px;
  458. box-sizing: border-box;
  459. line-height: 18px;
  460. padding: 13px 0px 0;
  461. font-weight: bold;
  462. float: left;
  463. color: #fff;
  464. font-size: 12px;
  465. background: #004564;
  466. text-align: center;
  467. letter-spacing: 5px;
  468. border-left: solid 7px #004564;
  469. }
  470. .channel_ul_3_li_dot1 {
  471. box-sizing: border-box;
  472. padding: 0px 10px;
  473. color: #333;
  474. font-size: 18px;
  475. height: 62px;
  476. line-height: 62px;
  477. width: 670px;
  478. float: right;
  479. }
  480. .channel_ul_3_li:nth-of-type(1) .channel_ul_3_li_dot1 {
  481. font-weight: bold;
  482. }
  483. &:hover .channel_ul_3_li_dot1 {
  484. color: #004564;
  485. }
  486. }
  487. .channel_img_ul_5 {}
  488. .channel_img_ul_5_li {
  489. .channel_img_ul_5_li_a {}
  490. .channel_img_ul_5_li_img {
  491. display: block;
  492. width: 450px;
  493. height: 267px;
  494. }
  495. .channel_img_ul_5_li_dot2 {
  496. height: 46px;
  497. line-height: 23px;
  498. color: #333;
  499. font-size: 18px;
  500. margin-top: 18px;
  501. font-weight: bold;
  502. }
  503. .channel_img_ul_5_li_a:hover .channel_img_ul_5_li_dot2 {
  504. color: #004564;
  505. }
  506. }
  507. .channel_4 {
  508. margin: 15px auto 0px;
  509. }
  510. .channel_img_ul_6 {}
  511. .channel_img_ul_6_li {
  512. margin-bottom: 25px;
  513. .channel_img_ul_6_li_a {}
  514. .channel_img_ul_6_li_img {
  515. display: block;
  516. width: 350px;
  517. height: 230px;
  518. }
  519. .channel_img_ul_6_li_dot2 {
  520. height: 46px;
  521. line-height: 23px;
  522. color: #333;
  523. font-size: 18px;
  524. margin-top: 22px;
  525. font-weight: bold;
  526. width: 350px;
  527. }
  528. }
  529. .channel_img_ul_6_li_a:hover .channel_img_ul_6_li_dot2 {
  530. color: #004564;
  531. }
  532. .channel_img_ul_even_1_li {
  533. width: 165px;
  534. margin-bottom: 0px;
  535. .channel_img_ul_even_1_li_a {}
  536. .channel_img_ul_even_1_li_img {
  537. width: 165px;
  538. height: 96px;
  539. }
  540. .channel_img_ul_even_1_li_dot2 {
  541. height: 46px;
  542. line-height: 23px;
  543. color: #333;
  544. font-size: 18px;
  545. margin-top: 13px;
  546. }
  547. }
  548. .channel_img_ul_even_1_li_a:hover .channel_img_ul_even_1_li_dot2 {
  549. color: #004564;
  550. }
  551. .channel_img_ul_even_1_li:nth-of-type(odd) {
  552. float: left;
  553. }
  554. .channel_img_ul_even_1_li:nth-of-type(even) {
  555. float: right;
  556. }
  557. .channel_ul_4_a {
  558. height: 24px;
  559. line-height: 24px;
  560. color: #333;
  561. font-size: 18px;
  562. margin-bottom: 27px;
  563. box-sizing: border-box;
  564. &:hover {
  565. color: #004564;
  566. }
  567. }
  568. .channel_ul_4_a:nth-of-type(5n-4) {
  569. font-weight: bold;
  570. }
  571. .channel_img_ul_7 {
  572. .channel_img_ul_7_li {
  573. margin-bottom: 21px;
  574. }
  575. .channel_img_ul_7_li_a {}
  576. .channel_img_ul_7_li_img {
  577. display: block;
  578. width: 450px;
  579. height: 170px;
  580. }
  581. .channel_img_ul_7_li_foot {
  582. height: 53px;
  583. display: flex;
  584. background: #F9FAFB;
  585. }
  586. .channel_img_ul_7_li_tag {
  587. height: 53px;
  588. text-align: center;
  589. color: #fff;
  590. font-size: 18px;
  591. line-height: 53px;
  592. background: #004564;
  593. padding: 0px 21px;
  594. word-break: keep-all;
  595. white-space: nowrap;
  596. font-weight: bold;
  597. }
  598. .channel_img_ul_7_li_dot1 {
  599. height: 53px;
  600. line-height: 53px;
  601. color: #333;
  602. font-size: 18px;
  603. padding: 0px 15px 0px 10px;
  604. box-sizing: border-box;
  605. font-weight: bold;
  606. }
  607. }
  608. .channel_img_ul_7_li_a:hover .channel_img_ul_7_li_dot1 {
  609. color: #004564;
  610. }
  611. .channel_ul_5_a {
  612. height: 24px;
  613. line-height: 24px;
  614. color: #333;
  615. font-size: 18px;
  616. margin-bottom: 19px;
  617. box-sizing: border-box;
  618. text-indent: 16px;
  619. position: relative;
  620. &:hover {
  621. color: #004564;
  622. }
  623. }
  624. .channel_ul_5_a::after {
  625. content: '';
  626. display: block;
  627. width: 6px;
  628. height: 6px;
  629. background: #ddd;
  630. border-radius: 50%;
  631. position: absolute;
  632. left: 0px;
  633. top: 8px;
  634. z-index: 11;
  635. }
  636. .channel_ul_5_a:hover::after {
  637. content: '';
  638. display: block;
  639. background: #004564;
  640. }