class.less 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705
  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. input,
  54. img {
  55. border: none;
  56. }
  57. .cover100 img {
  58. display: block;
  59. width: 100%;
  60. height: 100%;
  61. object-fit: cover;
  62. }
  63. .back100 {
  64. background-size: 100% 100%;
  65. background-repeat: no-repeat;
  66. }
  67. article,
  68. aside,
  69. footer,
  70. header,
  71. time,
  72. video,
  73. main,
  74. nav,
  75. h4,
  76. h3,
  77. section {
  78. display: block;
  79. }
  80. .index_main {
  81. margin: 0 auto;
  82. width: 1200px;
  83. }
  84. .channel_1 {
  85. margin-top: 40px;
  86. }
  87. .channel_nav {
  88. height: 60px;
  89. width: 1200px;
  90. background-image: url(../../public/img/5.png);
  91. margin-top: 40px;
  92. .channel_nav_a {
  93. float: left;
  94. height: 60px;
  95. line-height: 60px;
  96. color: #255590;
  97. font-size: 20px;
  98. margin: 0px 19px;
  99. font-weight: bold;
  100. }
  101. .channel_nav_a:nth-of-type(1) {
  102. color: #fff;
  103. margin: 0px 42px;
  104. }
  105. }
  106. .channel_1_box {
  107. width: 720px;
  108. height: 405px;
  109. }
  110. .channel_1_left {
  111. float: left;
  112. width: 720px;
  113. }
  114. .channel_1_right {
  115. float: right;
  116. width: 450px;
  117. }
  118. .channel_1_box_1 {
  119. float: left;
  120. width: 350px;
  121. margin-right: 20px;
  122. }
  123. .channel_1_box_2 {
  124. float: left;
  125. width: 350px;
  126. }
  127. .channel_name_ul {
  128. margin-top: 0px;
  129. .channel_name_ul_li {
  130. height: 24px;
  131. margin-bottom: 18px;
  132. display: flex;
  133. }
  134. .channel_name_ul_li_tag {
  135. height: 24px;
  136. line-height: 24px;
  137. color: #0046AE;
  138. font-size: 18px;
  139. margin-right: 15px;
  140. word-break: keep-all;
  141. white-space: nowrap;
  142. }
  143. .channel_name_ul_li_dot1 {
  144. height: 24px;
  145. line-height: 24px;
  146. color: #333;
  147. font-size: 18px;
  148. width: 100%;
  149. }
  150. .channel_name_ul_li:nth-of-type(1) .channel_name_ul_li_tag {
  151. display: none;
  152. }
  153. .channel_name_ul_li:nth-of-type(1) .channel_name_ul_li_dot1 {
  154. font-weight: bold;
  155. font-size: 20px;
  156. }
  157. .channel_name_ul_li:hover .channel_name_ul_li_dot1 {
  158. color: #255590;
  159. }
  160. }
  161. .channel_2 {
  162. margin-top: 16px;
  163. }
  164. .channel_head {
  165. height: 30px;
  166. position: relative;
  167. margin-bottom: 28px;
  168. .channel_head_name {
  169. float: left;
  170. height: 30px;
  171. line-height: 30px;
  172. color: #255590;
  173. font-size: 22px;
  174. text-indent: 22px;
  175. font-weight: bold;
  176. }
  177. .channel_head_name_a {
  178. display: block;
  179. height: 30px;
  180. line-height: 30px;
  181. color: #255590;
  182. font-size: 22px;
  183. font-weight: bold;
  184. }
  185. .channel_head_name::after {
  186. content: '';
  187. display: block;
  188. width: 3px;
  189. height: 18px;
  190. background: #255590;
  191. position: absolute;
  192. left: 0px;
  193. top: 6px;
  194. z-index: 11;
  195. }
  196. .channel_head_more {
  197. float: right;
  198. height: 30px;
  199. line-height: 30px;
  200. color: #999;
  201. font-size: 16px;
  202. }
  203. .channel_head_more::after {
  204. content: '';
  205. display: block;
  206. width: 100%;
  207. height: 100%;
  208. position: absolute;
  209. left: 0px;
  210. top: 0px;
  211. z-index: 22;
  212. }
  213. }
  214. .channel_head:hover .channel_head_more {
  215. color: #255590;
  216. }
  217. .channel_img_big_1_ul {
  218. .channel_img_big_1_li {
  219. width: 350px;
  220. height: 230px;
  221. margin-bottom: 31px;
  222. position: relative;
  223. }
  224. .channel_img_big_1_li_a {}
  225. .channel_img_big_1_li_img {
  226. display: block;
  227. width: 350px;
  228. height: 230px;
  229. }
  230. .channel_img_big_1_li_dot1 {
  231. width: 350px;
  232. height: 44px;
  233. line-height: 44px;
  234. color: #fff;
  235. font-size: 18px;
  236. padding: 0px 10px;
  237. box-sizing: border-box;
  238. position: absolute;
  239. z-index: 11;
  240. left: 0px;
  241. bottom: 0px;
  242. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  243. }
  244. }
  245. .channel_ul_2_a {
  246. height: 24px;
  247. line-height: 24px;
  248. color: #333;
  249. font-size: 18px;
  250. margin-bottom: 17px;
  251. box-sizing: border-box;
  252. text-indent: 16px;
  253. position: relative;
  254. &:hover {
  255. color: #255590;
  256. }
  257. }
  258. .channel_ul_2_a::after {
  259. content: '';
  260. display: block;
  261. width: 6px;
  262. height: 6px;
  263. background: #ddd;
  264. border-radius: 50%;
  265. position: absolute;
  266. left: 0px;
  267. top: 9px;
  268. z-index: 11;
  269. }
  270. .channel_ul_2_a:nth-of-type(3n-2) {
  271. font-weight: bold;
  272. }
  273. .channel_ul_2_a:hover::after {
  274. content: '';
  275. display: block;
  276. background: #255590;
  277. }
  278. .channel_img_big_2_ul {}
  279. .channel_img_big_2_li {
  280. width: 350px;
  281. height: 230px;
  282. margin-bottom: 20px;
  283. position: relative;
  284. }
  285. .channel_img_big_2_li_a {}
  286. .channel_img_big_2_li_img {
  287. display: block;
  288. width: 350px;
  289. height: 230px;
  290. }
  291. .channel_img_big_2_li_dot1 {
  292. width: 350px;
  293. height: 44px;
  294. line-height: 44px;
  295. color: #fff;
  296. font-size: 18px;
  297. padding: 0px 10px;
  298. box-sizing: border-box;
  299. position: absolute;
  300. z-index: 11;
  301. left: 0px;
  302. bottom: 0px;
  303. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  304. }
  305. .channel_3 {
  306. margin-top: 31px;
  307. }
  308. .channel_ul_3_a {
  309. height: 24px;
  310. line-height: 24px;
  311. color: #333;
  312. font-size: 18px;
  313. margin-bottom: 17px;
  314. box-sizing: border-box;
  315. text-indent: 16px;
  316. position: relative;
  317. &:hover {
  318. color: #255590;
  319. }
  320. }
  321. .channel_ul_3_a::after {
  322. content: '';
  323. display: block;
  324. width: 6px;
  325. height: 6px;
  326. background: #ddd;
  327. border-radius: 50%;
  328. position: absolute;
  329. left: 0px;
  330. top: 9px;
  331. z-index: 11;
  332. }
  333. .channel_ul_3_a:nth-of-type(3n-2) {
  334. font-weight: bold;
  335. }
  336. .channel_ul_3_a:hover::after {
  337. content: '';
  338. display: block;
  339. background: #255590;
  340. }
  341. .channel_img_big_3_ul {
  342. .channel_img_big_3_li {
  343. height: 265px;
  344. position: relative;
  345. width: 450px;
  346. margin-bottom: 22px;
  347. overflow: hidden;
  348. }
  349. .channel_img_big_3_li_a {}
  350. .channel_img_big_3_li_img {
  351. display: block;
  352. height: 267px;
  353. width: 450px;
  354. }
  355. .channel_img_big_3_li_dot1 {
  356. width: 450px;
  357. height: 44px;
  358. line-height: 44px;
  359. color: #fff;
  360. font-size: 18px;
  361. box-sizing: border-box;
  362. position: absolute;
  363. padding: 0px 10px;
  364. left: 0px;
  365. bottom: 0px;
  366. z-index: 11;
  367. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  368. }
  369. }
  370. .channel_ul_4 {
  371. width: 450px;
  372. .channel_ul_4_li {
  373. width: 450px;
  374. display: flex;
  375. height: 24px;
  376. margin-bottom: 24px;
  377. }
  378. .channel_ul_4_li_num {
  379. height: 24px;
  380. line-height: 24px;
  381. color: #ccc;
  382. font-size: 18px;
  383. width: 24px;
  384. text-align: center;
  385. font-style: italic;
  386. margin-right: 20px;
  387. }
  388. .channel_ul_4_a {
  389. height: 24px;
  390. line-height: 24px;
  391. color: #333;
  392. font-size: 18px;
  393. &:hover {
  394. color: #255590;
  395. }
  396. }
  397. .channel_ul_4_li:nth-of-type(-n+3) .channel_ul_4_li_num {
  398. color: #255590;
  399. }
  400. }
  401. .channel_banner {
  402. width: 1200px;
  403. margin: 2px auto 0px;
  404. }
  405. .channel_banner_a {
  406. display: block;
  407. width: 1200px;
  408. }
  409. .channel_banner_img {
  410. display: block;
  411. width: 1200px;
  412. }
  413. .channel_img_big_4_ul {
  414. .channel_img_big_4_li {
  415. width: 350px;
  416. margin-bottom: 25px;
  417. overflow: hidden;
  418. }
  419. .channel_img_big_4_li_a {}
  420. .channel_img_big_4_li_img {
  421. display: block;
  422. height: 230px;
  423. width: 350px;
  424. }
  425. .channel_img_big_4_li_dot2 {
  426. height: 48px;
  427. width: 350px;
  428. color: #333;
  429. font-size: 18px;
  430. margin-top: 20px;
  431. line-height: 24px;
  432. font-weight: bold;
  433. }
  434. }
  435. .channel_img_big_4_li_a:hover .channel_img_big_4_li_dot2 {
  436. color: #255590;
  437. }
  438. .channel_img_ul_1 {}
  439. .channel_img_ul_1_li {
  440. width: 165px;
  441. .channel_img_ul_1_li_img {
  442. display: block;
  443. width: 165px;
  444. height: 96px;
  445. }
  446. .channel_img_ul_1_li_dot2 {
  447. height: 48px;
  448. line-height: 24px;
  449. color: #333;
  450. font-size: 18px;
  451. margin-top: 15px;
  452. }
  453. }
  454. .channel_img_ul_1_li:nth-of-type(odd) {
  455. float: left;
  456. }
  457. .channel_img_ul_1_li:nth-of-type(even) {
  458. float: right;
  459. }
  460. .channel_img_ul_1_li_a {}
  461. .channel_img_ul_1_li_a:hover .channel_img_ul_1_li_dot2 {
  462. color: #255590;
  463. }
  464. .channel_ul_5_a {
  465. height: 24px;
  466. line-height: 24px;
  467. color: #333;
  468. font-size: 18px;
  469. margin-bottom: 27px;
  470. &:hover {
  471. color: #255590;
  472. }
  473. }
  474. .channel_ul_5_a:nth-of-type(5n-4) {
  475. font-weight: bold;
  476. }
  477. .channel_img_ul_2 {
  478. .channel_img_ul_2_li {
  479. width: 220px;
  480. }
  481. .channel_img_ul_2_li:nth-of-type(odd) {
  482. float: left;
  483. }
  484. .channel_img_ul_2_li:nth-of-type(even) {
  485. float: right;
  486. }
  487. .channel_img_ul_2_li_a {}
  488. .channel_img_ul_2_li_img {
  489. display: block;
  490. width: 220px;
  491. height: 130px;
  492. }
  493. .channel_img_ul_2_li_dot1 {
  494. height: 24px;
  495. line-height: 24px;
  496. color: #333;
  497. font-size: 18px;
  498. margin-top: 20px;
  499. text-align: center;
  500. }
  501. .channel_img_ul_2_li_a:hover .channel_img_ul_2_li_dot1 {
  502. color: #255590;
  503. }
  504. }
  505. .channel_ul_6 {
  506. margin-top: 39px;
  507. .channel_ul_6_a {
  508. height: 24px;
  509. line-height: 24px;
  510. color: #333;
  511. font-size: 18px;
  512. margin-bottom: 25px;
  513. box-sizing: border-box;
  514. text-indent: 16px;
  515. position: relative;
  516. }
  517. .channel_ul_6_a::after {
  518. content: '';
  519. display: block;
  520. width: 4px;
  521. height: 4px;
  522. background: #255590;
  523. position: absolute;
  524. left: 0px;
  525. top: 10px;
  526. z-index: 11;
  527. }
  528. .channel_ul_6_a:nth-last-of-type(1) {
  529. margin-bottom: 11px;
  530. }
  531. .channel_ul_6_a:hover {
  532. color: #255590;
  533. }
  534. }
  535. .channel_4 {
  536. margin-top: 14px;
  537. }
  538. .channel_ul_7_a {
  539. height: 24px;
  540. line-height: 24px;
  541. color: #333;
  542. font-size: 18px;
  543. margin-bottom: 37px;
  544. box-sizing: border-box;
  545. text-indent: 16px;
  546. position: relative;
  547. &:hover {
  548. color: #255590;
  549. }
  550. }
  551. .channel_ul_7_a::after {
  552. content: '';
  553. display: block;
  554. width: 4px;
  555. height: 4px;
  556. background: #333;
  557. position: absolute;
  558. left: 0px;
  559. top: 10px;
  560. z-index: 11;
  561. }
  562. .channel_ul_7_a:nth-of-type(1) {
  563. font-weight: bold;
  564. }
  565. .channel_ul_7_a:hover::after {
  566. content: '';
  567. display: block;
  568. background: #255590;
  569. }
  570. .channel_img_big_5_ul {
  571. .channel_img_big_5_li {
  572. margin-bottom: 25px;
  573. overflow: hidden;
  574. }
  575. .channel_img_big_5_li_a {}
  576. .channel_img_big_5_li_img {
  577. display: block;
  578. width: 100%;
  579. height: 267px;
  580. }
  581. .channel_img_big_5_li_dot2 {
  582. height: 48px;
  583. color: #333;
  584. font-size: 18px;
  585. margin-top: 20px;
  586. line-height: 24px;
  587. font-weight: bold;
  588. }
  589. .channel_img_big_5_li_a:hover .channel_img_big_5_li_dot2 {
  590. color: #255590;
  591. }
  592. }