class.less 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755
  1. /*nzgx_channel农资供销频道*/
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. font-family: "微软雅黑", "microsoft yahei";
  6. }
  7. ul,
  8. ol {
  9. list-style: none;
  10. }
  11. a:active {
  12. text-decoration: none;
  13. }
  14. a:hover {
  15. text-decoration: none;
  16. }
  17. a:visited {
  18. text-decoration: none;
  19. }
  20. a:link {
  21. text-decoration: none;
  22. }
  23. a:focus {
  24. text-decoration: none;
  25. }
  26. body {
  27. position: relative;
  28. }
  29. .clearfix {
  30. overflow: hidden;
  31. }
  32. .clearfix_2::after {
  33. content: '';
  34. display: block;
  35. height: 0;
  36. visibility: hidden;
  37. clear: both;
  38. }
  39. .hiddenColor {
  40. visibility: hidden;
  41. }
  42. .hand {
  43. cursor: pointer;
  44. }
  45. .dot1 {
  46. display: block;
  47. word-break: keep-all;
  48. white-space: nowrap;
  49. overflow: hidden;
  50. text-overflow: ellipsis;
  51. }
  52. .dot2 {
  53. overflow: hidden;
  54. display: -webkit-box;
  55. -webkit-box-orient: vertical;
  56. -webkit-line-clamp: 2;
  57. }
  58. .dot3 {
  59. overflow: hidden;
  60. display: -webkit-box;
  61. -webkit-box-orient: vertical;
  62. -webkit-line-clamp: 3;
  63. }
  64. .dot4 {
  65. overflow: hidden;
  66. display: -webkit-box;
  67. -webkit-box-orient: vertical;
  68. -webkit-line-clamp: 4;
  69. }
  70. input,
  71. img {
  72. border: none;
  73. }
  74. .cover100 img {
  75. display: block;
  76. width: 100%;
  77. height: 100%;
  78. object-fit: cover;
  79. }
  80. .back100 {
  81. background-size: 100% 100%;
  82. background-repeat: no-repeat;
  83. }
  84. article,
  85. aside,
  86. footer,
  87. header,
  88. time,
  89. video,
  90. main,
  91. nav,
  92. h4,
  93. h3,
  94. section {
  95. display: block;
  96. }
  97. .index_main {
  98. margin: 0 auto;
  99. width: 1200px;
  100. }
  101. .slow_6 {
  102. -webkit-transition: all .6s;
  103. -moz-transition: all .6s;
  104. -ms-transition: all .6s;
  105. -o-transition: all .6s;
  106. transition: all .6s;
  107. }
  108. .channel_1_box {
  109. float: left;
  110. width: 720px;
  111. }
  112. .channel_2_box {
  113. float: right;
  114. width: 450px;
  115. }
  116. .channel_3_box {
  117. float: left;
  118. width: 350px;
  119. }
  120. .channel_4_box {
  121. float: right;
  122. width: 350px;
  123. }
  124. .channel_5_box {
  125. float: left;
  126. width: 170px;
  127. }
  128. .channel_6_box {
  129. float: right;
  130. width: 265px;
  131. }
  132. .channel_head_box {
  133. border-bottom: solid 1px #D8D8D8;
  134. padding-bottom: 10px;
  135. margin-bottom: 30px;
  136. .channel_head_box_left {
  137. float: left;
  138. height: 30px;
  139. border-left: solid 5px #A91B33;
  140. }
  141. .channel_head_left_a_btn {
  142. float: left;
  143. height: 30px;
  144. margin-right: 10px;
  145. }
  146. .channel_head_left_a {
  147. display: block;
  148. height: 30px;
  149. line-height: 30px;
  150. color: #999;
  151. font-size: 20px;
  152. font-weight: bold;
  153. text-indent: 10px;
  154. }
  155. .channel_head_left_a:hover {
  156. color: #A91B33;
  157. }
  158. .channel_head_left_a_only {
  159. color: #333;
  160. }
  161. .channel_head_box_right {
  162. float: right;
  163. height: 30px;
  164. }
  165. .channel_head_box_right_1_a {
  166. display: block;
  167. height: 30px;
  168. line-height: 30px;
  169. color: #999;
  170. font-size: 16px;
  171. }
  172. .channel_head_box_right_1_a:hover {
  173. color: #A91B33;
  174. }
  175. }
  176. .channel_nav {
  177. background: #A91B33;
  178. margin: 20px auto 0px;
  179. position: relative;
  180. z-index: 11;
  181. height: 61px;
  182. .channel_nav_a {
  183. float: left;
  184. height: 22px;
  185. line-height: 22px;
  186. position: relative;
  187. color: #fff;
  188. font-size: 16px;
  189. font-weight: bold;
  190. margin: 20px 29.4px;
  191. text-align: center;
  192. }
  193. .channel_nav_a::after {
  194. content: '';
  195. display: block;
  196. position: absolute;
  197. width: 1px;
  198. height: 14px;
  199. background: #BF3519;
  200. left: -28px;
  201. top: 4px;
  202. }
  203. .channel_nav_a:nth-of-type(2)::after {
  204. display: none;
  205. }
  206. .channel_nav_a:nth-of-type(1) {
  207. background: #fff;
  208. border-top-left-radius: 7px;
  209. border-top-right-radius: 7px;
  210. position: relative;
  211. z-index: 22;
  212. height: 51px;
  213. line-height: 42px;
  214. color: #A91B33;
  215. margin: 10px 21px 0px 35px;
  216. padding: 0px 30px;
  217. }
  218. .channel_nav_a:nth-of-type(1)::after {
  219. display: none;
  220. }
  221. .channel_nav_a:nth-of-type(1)::before {
  222. content: '';
  223. display: block;
  224. position: absolute;
  225. width: 64px;
  226. height: 2px;
  227. background: #A91B33;
  228. left: 50%;
  229. margin-left: -32px;
  230. bottom: 10px;
  231. }
  232. .channel_nav_a:nth-last-of-type(1) {
  233. margin-right: 0px;
  234. }
  235. }
  236. .channel_1 {
  237. margin: 30px auto 20px;
  238. }
  239. .channel_ul_1 {
  240. margin-top: 4px;
  241. .channel_ul_1_a {
  242. height: 24px;
  243. line-height: 24px;
  244. color: #333;
  245. font-size: 18px;
  246. margin-bottom: 23px;
  247. box-sizing: border-box;
  248. text-indent: 16px;
  249. position: relative;
  250. }
  251. .channel_ul_1_a:nth-last-of-type(1){margin-bottom:0px;}
  252. .channel_ul_1_a::after {
  253. content: '';
  254. display: block;
  255. width: 8px;
  256. height: 8px;
  257. background: #ddd;
  258. border-radius: 50%;
  259. position: absolute;
  260. left: 0px;
  261. top: 9px;
  262. z-index: 11;
  263. }
  264. .channel_ul_1_a:nth-of-type(1) {
  265. font-weight: bold;
  266. }
  267. .channel_ul_1_a:hover::after {
  268. background: #A91B33;
  269. }
  270. .channel_ul_1_a:hover {
  271. color: #A91B33;
  272. }
  273. }
  274. .channel_banner_1 {
  275. width: 1200px;
  276. margin: 20px auto 0px;
  277. height: 90px;
  278. overflow: hidden;
  279. .channel_banner_1_a {
  280. width: 1200px;
  281. display: block;
  282. }
  283. .channel_banner_1_img {
  284. width: 1200px;
  285. display: block;
  286. }
  287. }
  288. .channel_2 {
  289. margin: 30px auto 0px;
  290. }
  291. .channel_ul_2_a {
  292. height: 24px;
  293. line-height: 24px;
  294. color: #333;
  295. font-size: 18px;
  296. margin-bottom: 27px;
  297. box-sizing: border-box;
  298. text-indent: 16px;
  299. position: relative;
  300. .channel_ul_2_a::after {
  301. content: '';
  302. display: block;
  303. width: 6px;
  304. height: 6px;
  305. background: #ddd;
  306. border-radius: 50%;
  307. position: absolute;
  308. left: 0px;
  309. top: 8px;
  310. z-index: 11;
  311. }
  312. .channel_ul_2_a:nth-of-type(5n-4) {
  313. font-weight: bold;
  314. }
  315. .channel_ul_2_a:hover::after {
  316. background: #A91B33;
  317. }
  318. .channel_ul_2_a:hover {
  319. color: #A91B33;
  320. }
  321. }
  322. .channel_img_ul_1 {
  323. .channel_img_ul_1_li {
  324. margin-bottom: 25px;
  325. }
  326. .channel_img_ul_1_li_a {}
  327. .channel_img_ul_1_li_img {
  328. display: block;
  329. width: 350px;
  330. height: 230px;
  331. }
  332. .channel_img_ul_1_li_dot2 {
  333. height: 46px;
  334. line-height: 23px;
  335. color: #333;
  336. font-size: 18px;
  337. margin-top: 22px;
  338. font-weight: bold;
  339. width: 350px;
  340. }
  341. .channel_img_ul_1_li_a:hover .channel_img_ul_1_li_dot2 {
  342. color: #A91B33;
  343. }
  344. }
  345. .channel_img_ul_even_1_li {
  346. width: 165px;
  347. margin-bottom: 0px;
  348. .channel_img_ul_even_1_li_a {}
  349. .channel_img_ul_even_1_li_img {
  350. width: 165px;
  351. height: 96px;
  352. }
  353. .channel_img_ul_even_1_li_dot2 {
  354. height: 46px;
  355. line-height: 23px;
  356. color: #333;
  357. font-size: 18px;
  358. margin-top: 13px;
  359. }
  360. .channel_img_ul_even_1_li_a:hover .channel_img_ul_even_1_li_dot2 {
  361. color: #A91B33;
  362. }
  363. }
  364. .channel_img_ul_even_1_li:nth-of-type(odd) {
  365. float: left;
  366. }
  367. .channel_img_ul_even_1_li:nth-of-type(even) {
  368. float: right;
  369. }
  370. .channel_even_img_ul_2 {
  371. .channel_even_img_ul_2_li {
  372. width: 220px;
  373. }
  374. .channel_even_img_ul_2_li:nth-of-type(odd) {
  375. float: left;
  376. }
  377. .channel_even_img_ul_2_li:nth-of-type(even) {
  378. float: right;
  379. }
  380. .channel_even_img_ul_2_a {}
  381. .channel_even_img_ul_2_li_img {
  382. display: block;
  383. width: 220px;
  384. height: 130px;
  385. }
  386. .channel_even_img_ul_2_dot1 {
  387. height: 24px;
  388. line-height: 24px;
  389. color: #333;
  390. font-size: 18px;
  391. margin-top: 20px;
  392. text-align: center;
  393. }
  394. .channel_even_img_ul_2_a:hover .channel_even_img_ul_2_dot1 {
  395. color: #A91B33;
  396. }
  397. }
  398. .channel_ul_3 {
  399. margin-top: 30px;
  400. .channel_ul_3_a {
  401. height: 24px;
  402. line-height: 24px;
  403. color: #333;
  404. font-size: 18px;
  405. margin-bottom: 16px;
  406. box-sizing: border-box;
  407. text-indent: 16px;
  408. position: relative;
  409. }
  410. .channel_ul_3_a::after {
  411. content: '';
  412. display: block;
  413. width: 8px;
  414. height: 8px;
  415. background: #ddd;
  416. border-radius: 50%;
  417. position: absolute;
  418. left: 0px;
  419. top: 8px;
  420. z-index: 11;
  421. }
  422. .channel_ul_3_a:hover::after {
  423. background: #A91B33;
  424. }
  425. .channel_ul_3_a:hover {
  426. color: #A91B33;
  427. }
  428. }
  429. .channel_3 {
  430. margin: 4px auto 20px;
  431. height: 420px;
  432. }
  433. .channel_ul_4 {
  434. margin-top: 0px;
  435. .channel_ul_4_a {
  436. height: 24px;
  437. line-height: 24px;
  438. color: #333;
  439. font-size: 18px;
  440. margin-bottom: 20px;
  441. box-sizing: border-box;
  442. text-indent: 16px;
  443. position: relative;
  444. }
  445. .channel_ul_4_a::after {
  446. content: '';
  447. display: block;
  448. width: 8px;
  449. height: 8px;
  450. background: #ddd;
  451. border-radius: 50%;
  452. position: absolute;
  453. left: 0px;
  454. top: 8px;
  455. z-index: 11;
  456. }
  457. .channel_ul_4_a:hover::after {
  458. background: #A91B33;
  459. }
  460. .channel_ul_4_a:hover {
  461. color: #A91B33;
  462. }
  463. .channel_ul_4_a:nth-of-type(1) {
  464. font-weight: bold;
  465. color: #333;
  466. }
  467. .channel_ul_4_a:nth-of-type(1):hover {
  468. color: #A91B33;
  469. }
  470. .channel_ul_4_a:nth-of-type(1):hover::after {
  471. background: #A91B33;
  472. }
  473. .channel_ul_4_a:nth-last-of-type(1) {
  474. margin-bottom: 0px;
  475. }
  476. }
  477. .channel_img_ul_2 {
  478. .channel_img_ul_2_li {
  479. margin-bottom: 25px;
  480. }
  481. .channel_img_ul_2_li_a {}
  482. .channel_img_ul_2_li_img {
  483. display: block;
  484. height: 267px;
  485. width: 450px;
  486. }
  487. .channel_img_ul_2_li_dot2 {
  488. height: 46px;
  489. line-height: 23px;
  490. color: #333;
  491. font-size: 18px;
  492. margin-top: 22px;
  493. font-weight: bold;
  494. }
  495. .channel_img_ul_2_li_a:hover .channel_img_ul_2_li_dot2 {
  496. color: #A91B33;
  497. }
  498. .channel_img_ul_2_li:nth-last-of-type(1) {
  499. margin-bottom: 0px;
  500. }
  501. }
  502. .channel_banner_2 {
  503. width: 1200px;
  504. margin: 24px auto 0px;
  505. height: 90px;
  506. .channel_banner_2_a {
  507. width: 1200px;
  508. display: block;
  509. }
  510. .channel_banner_2_img {
  511. width: 1200px;
  512. display: block;
  513. }
  514. }
  515. .channel_4 {
  516. margin: 30px auto 0px;
  517. }
  518. .channel_img_ul_3_ul {
  519. .channel_img_ul_3_li {
  520. width: 350px;
  521. height: 230px;
  522. margin-bottom: 20px;
  523. position: relative;
  524. }
  525. .channel_img_ul_3_li_a {}
  526. .channel_img_ul_3_li_img {
  527. display: block;
  528. width: 350px;
  529. height: 230px;
  530. }
  531. .channel_img_ul_3_li_dot1 {
  532. width: 350px;
  533. height: 44px;
  534. line-height: 44px;
  535. color: #fff;
  536. font-size: 18px;
  537. padding: 0px 10px;
  538. box-sizing: border-box;
  539. position: absolute;
  540. z-index: 11;
  541. left: 0px;
  542. bottom: 0px;
  543. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  544. }
  545. }
  546. .channel_2 {
  547. margin: 30px auto 0px;
  548. height: 570px;
  549. }
  550. .channel_ul_2_a {
  551. height: 24px;
  552. line-height: 24px;
  553. color: #333;
  554. font-size: 18px;
  555. margin-bottom: 22px;
  556. box-sizing: border-box;
  557. text-indent: 16px;
  558. position: relative;
  559. .channel_ul_2_a:nth-of-type(5n-4) {
  560. font-weight: bold;
  561. }
  562. &:hover::after {
  563. background: #A91B33;
  564. }
  565. &:hover {
  566. color: #A91B33;
  567. }
  568. }
  569. .channel_ul_2_a::after {
  570. content: '';
  571. display: block;
  572. width: 8px;
  573. height: 8px;
  574. background: #ddd;
  575. border-radius: 50%;
  576. position: absolute;
  577. left: 0px;
  578. top: 9px;
  579. z-index: 11;
  580. }
  581. .channel_ul_5_a {
  582. height: 24px;
  583. line-height: 24px;
  584. color: #333;
  585. font-size: 18px;
  586. margin-bottom: 17px;
  587. box-sizing: border-box;
  588. text-indent: 16px;
  589. position: relative;
  590. &:hover::after {
  591. background: #A91B33;
  592. }
  593. &:hover {
  594. color: #A91B33;
  595. }
  596. }
  597. .channel_ul_5_a::after {
  598. content: '';
  599. display: block;
  600. width: 8px;
  601. height: 8px;
  602. background: #ddd;
  603. border-radius: 50%;
  604. position: absolute;
  605. left: 0px;
  606. top: 8px;
  607. z-index: 11;
  608. }
  609. .channel_ul_5_a:nth-of-type(3n-2) {
  610. font-weight: bold;
  611. }
  612. .channel_head_box_2 {
  613. margin-top: 11px;
  614. }
  615. .channel_img_ul_4_ul {
  616. .channel_img_ul_4_li {
  617. width: 350px;
  618. height: 230px;
  619. margin-bottom: 20px;
  620. position: relative;
  621. }
  622. .channel_img_ul_4_li_a {}
  623. .channel_img_ul_4_li_img {
  624. display: block;
  625. width: 350px;
  626. height: 230px;
  627. }
  628. .channel_img_ul_4_li_dot1 {
  629. width: 350px;
  630. height: 44px;
  631. line-height: 44px;
  632. color: #fff;
  633. font-size: 18px;
  634. padding: 0px 10px;
  635. box-sizing: border-box;
  636. position: absolute;
  637. z-index: 11;
  638. left: 0px;
  639. bottom: 0px;
  640. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  641. }
  642. }
  643. .channel_ul_6_a {
  644. height: 24px;
  645. line-height: 24px;
  646. color: #333;
  647. font-size: 18px;
  648. margin-bottom: 17px;
  649. box-sizing: border-box;
  650. text-indent: 16px;
  651. position: relative;
  652. &:hover::after {
  653. background: #A91B33;
  654. }
  655. &:hover {
  656. color: #A91B33;
  657. }
  658. }
  659. .channel_ul_6_a::after {
  660. content: '';
  661. display: block;
  662. width: 8px;
  663. height: 8px;
  664. background: #ddd;
  665. border-radius: 50%;
  666. position: absolute;
  667. left: 0px;
  668. top: 8px;
  669. z-index: 11;
  670. }
  671. .channel_ul_6_a:nth-of-type(3n-2) {
  672. font-weight: bold;
  673. }
  674. .channel_img_ul_5_ul {
  675. .channel_img_ul_5_li {
  676. height: 265px;
  677. margin-bottom: 20px;
  678. position: relative;
  679. }
  680. .channel_img_ul_5_li_a {}
  681. .channel_img_ul_5_li_img {
  682. display: block;
  683. height: 265px;
  684. width: 100%;
  685. }
  686. .channel_img_ul_5_li_dot1 {
  687. width: 450px;
  688. height: 44px;
  689. line-height: 44px;
  690. color: #fff;
  691. font-size: 18px;
  692. padding: 0px 10px;
  693. box-sizing: border-box;
  694. position: absolute;
  695. z-index: 11;
  696. left: 0px;
  697. bottom: 0px;
  698. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  699. }
  700. }
  701. .index_ul_7 {
  702. margin-top: 17px;
  703. .index_ul_7_a {
  704. height: 24px;
  705. line-height: 24px;
  706. color: #333;
  707. font-size: 18px;
  708. margin-bottom: 18px;
  709. box-sizing: border-box;
  710. text-indent: 16px;
  711. position: relative;
  712. &:hover {
  713. color: #A91B33;
  714. }
  715. }
  716. .index_ul_7_a:nth-last-of-type(1){margin-bottom:0px;}
  717. .index_ul_7_a::after {
  718. content: '';
  719. display: block;
  720. width: 8px;
  721. height: 8px;
  722. background: #ddd;
  723. border-radius: 50%;
  724. position: absolute;
  725. left: 0px;
  726. top: 9px;
  727. z-index: 11;
  728. }
  729. .index_ul_7_a:hover::after {
  730. background: #A91B33;
  731. }
  732. .index_ul_7_a:nth-of-type(-n+3) {
  733. text-indent: 33px;
  734. }
  735. .index_ul_7_a:nth-of-type(-n+3)::after {
  736. background: aqua;
  737. width: 24px;
  738. height: 24px;
  739. left: 0px;
  740. top: 0px;
  741. background: url(@/public/img/2.png) no-repeat left 0px;
  742. background-size: auto 90%;
  743. }
  744. }
  745. .boxheight1 {
  746. height: 590px;
  747. }
  748. .boxheight2 {
  749. height: 249px;
  750. }