class.less 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747
  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: 40px 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 40px;
  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: 40px 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: 40px;
  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. }
  432. .channel_ul_4 {
  433. margin-top: 0px;
  434. .channel_ul_4_a {
  435. height: 24px;
  436. line-height: 24px;
  437. color: #333;
  438. font-size: 18px;
  439. margin-bottom: 20px;
  440. box-sizing: border-box;
  441. text-indent: 16px;
  442. position: relative;
  443. }
  444. .channel_ul_4_a::after {
  445. content: '';
  446. display: block;
  447. width: 8px;
  448. height: 8px;
  449. background: #ddd;
  450. border-radius: 50%;
  451. position: absolute;
  452. left: 0px;
  453. top: 8px;
  454. z-index: 11;
  455. }
  456. .channel_ul_4_a:hover::after {
  457. background: #A91B33;
  458. }
  459. .channel_ul_4_a:hover {
  460. color: #A91B33;
  461. }
  462. .channel_ul_4_a:nth-of-type(1) {
  463. font-weight: bold;
  464. color: #333;
  465. }
  466. .channel_ul_4_a:nth-of-type(1):hover {
  467. color: #A91B33;
  468. }
  469. .channel_ul_4_a:nth-of-type(1):hover::after {
  470. background: #A91B33;
  471. }
  472. .channel_ul_4_a:nth-last-of-type(1) {
  473. margin-bottom: 0px;
  474. }
  475. }
  476. .channel_img_ul_2 {
  477. .channel_img_ul_2_li {
  478. margin-bottom: 25px;
  479. }
  480. .channel_img_ul_2_li_a {}
  481. .channel_img_ul_2_li_img {
  482. display: block;
  483. height: 267px;
  484. width: 450px;
  485. }
  486. .channel_img_ul_2_li_dot2 {
  487. height: 46px;
  488. line-height: 23px;
  489. color: #333;
  490. font-size: 18px;
  491. margin-top: 22px;
  492. font-weight: bold;
  493. }
  494. .channel_img_ul_2_li_a:hover .channel_img_ul_2_li_dot2 {
  495. color: #A91B33;
  496. }
  497. .channel_img_ul_2_li:nth-last-of-type(1) {
  498. margin-bottom: 0px;
  499. }
  500. }
  501. .channel_banner_2 {
  502. width: 1200px;
  503. margin: 24px auto 0px;
  504. height: 90px;
  505. .channel_banner_2_a {
  506. width: 1200px;
  507. display: block;
  508. }
  509. .channel_banner_2_img {
  510. width: 1200px;
  511. display: block;
  512. }
  513. }
  514. .channel_4 {
  515. margin: 30px auto 0px;
  516. }
  517. .channel_img_ul_3_ul {
  518. .channel_img_ul_3_li {
  519. width: 350px;
  520. height: 230px;
  521. margin-bottom: 20px;
  522. position: relative;
  523. }
  524. .channel_img_ul_3_li_a {}
  525. .channel_img_ul_3_li_img {
  526. display: block;
  527. width: 350px;
  528. height: 230px;
  529. }
  530. .channel_img_ul_3_li_dot1 {
  531. width: 350px;
  532. height: 44px;
  533. line-height: 44px;
  534. color: #fff;
  535. font-size: 18px;
  536. padding: 0px 10px;
  537. box-sizing: border-box;
  538. position: absolute;
  539. z-index: 11;
  540. left: 0px;
  541. bottom: 0px;
  542. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  543. }
  544. }
  545. .channel_2 {
  546. margin: 30px auto 0px;
  547. }
  548. .channel_ul_2_a {
  549. height: 24px;
  550. line-height: 24px;
  551. color: #333;
  552. font-size: 18px;
  553. margin-bottom: 22px;
  554. box-sizing: border-box;
  555. text-indent: 16px;
  556. position: relative;
  557. .channel_ul_2_a:nth-of-type(5n-4) {
  558. font-weight: bold;
  559. }
  560. &:hover::after {
  561. background: #A91B33;
  562. }
  563. &:hover {
  564. color: #A91B33;
  565. }
  566. }
  567. .channel_ul_2_a::after {
  568. content: '';
  569. display: block;
  570. width: 8px;
  571. height: 8px;
  572. background: #ddd;
  573. border-radius: 50%;
  574. position: absolute;
  575. left: 0px;
  576. top: 9px;
  577. z-index: 11;
  578. }
  579. .channel_ul_5_a {
  580. height: 24px;
  581. line-height: 24px;
  582. color: #333;
  583. font-size: 18px;
  584. margin-bottom: 17px;
  585. box-sizing: border-box;
  586. text-indent: 16px;
  587. position: relative;
  588. &:hover::after {
  589. background: #A91B33;
  590. }
  591. &:hover {
  592. color: #A91B33;
  593. }
  594. }
  595. .channel_ul_5_a::after {
  596. content: '';
  597. display: block;
  598. width: 8px;
  599. height: 8px;
  600. background: #ddd;
  601. border-radius: 50%;
  602. position: absolute;
  603. left: 0px;
  604. top: 8px;
  605. z-index: 11;
  606. }
  607. .channel_ul_5_a:nth-of-type(3n-2) {
  608. font-weight: bold;
  609. }
  610. .channel_head_box_2 {
  611. margin-top: 11px;
  612. }
  613. .channel_img_ul_4_ul {
  614. .channel_img_ul_4_li {
  615. width: 350px;
  616. height: 230px;
  617. margin-bottom: 20px;
  618. position: relative;
  619. }
  620. .channel_img_ul_4_li_a {}
  621. .channel_img_ul_4_li_img {
  622. display: block;
  623. width: 350px;
  624. height: 230px;
  625. }
  626. .channel_img_ul_4_li_dot1 {
  627. width: 350px;
  628. height: 44px;
  629. line-height: 44px;
  630. color: #fff;
  631. font-size: 18px;
  632. padding: 0px 10px;
  633. box-sizing: border-box;
  634. position: absolute;
  635. z-index: 11;
  636. left: 0px;
  637. bottom: 0px;
  638. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  639. }
  640. }
  641. .channel_ul_6_a {
  642. height: 24px;
  643. line-height: 24px;
  644. color: #333;
  645. font-size: 18px;
  646. margin-bottom: 17px;
  647. box-sizing: border-box;
  648. text-indent: 16px;
  649. position: relative;
  650. &:hover::after {
  651. background: #A91B33;
  652. }
  653. &:hover {
  654. color: #A91B33;
  655. }
  656. }
  657. .channel_ul_6_a::after {
  658. content: '';
  659. display: block;
  660. width: 8px;
  661. height: 8px;
  662. background: #ddd;
  663. border-radius: 50%;
  664. position: absolute;
  665. left: 0px;
  666. top: 8px;
  667. z-index: 11;
  668. }
  669. .channel_ul_6_a:nth-of-type(3n-2) {
  670. font-weight: bold;
  671. }
  672. .channel_img_ul_5_ul {
  673. .channel_img_ul_5_li {
  674. height: 265px;
  675. margin-bottom: 20px;
  676. position: relative;
  677. }
  678. .channel_img_ul_5_li_a {}
  679. .channel_img_ul_5_li_img {
  680. display: block;
  681. height: 265px;
  682. width: 100%;
  683. }
  684. .channel_img_ul_5_li_dot1 {
  685. width: 450px;
  686. height: 44px;
  687. line-height: 44px;
  688. color: #fff;
  689. font-size: 18px;
  690. padding: 0px 10px;
  691. box-sizing: border-box;
  692. position: absolute;
  693. z-index: 11;
  694. left: 0px;
  695. bottom: 0px;
  696. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  697. }
  698. }
  699. .index_ul_7 {
  700. margin-top: 17px;
  701. .index_ul_7_a {
  702. height: 24px;
  703. line-height: 24px;
  704. color: #333;
  705. font-size: 18px;
  706. margin-bottom: 18px;
  707. box-sizing: border-box;
  708. text-indent: 16px;
  709. position: relative;
  710. &:hover {
  711. color: #A91B33;
  712. }
  713. }
  714. .index_ul_7_a:nth-last-of-type(1){margin-bottom:0px;}
  715. .index_ul_7_a::after {
  716. content: '';
  717. display: block;
  718. width: 8px;
  719. height: 8px;
  720. background: #ddd;
  721. border-radius: 50%;
  722. position: absolute;
  723. left: 0px;
  724. top: 9px;
  725. z-index: 11;
  726. }
  727. .index_ul_7_a:hover::after {
  728. background: #A91B33;
  729. }
  730. .index_ul_7_a:nth-of-type(-n+3) {
  731. text-indent: 33px;
  732. }
  733. .index_ul_7_a:nth-of-type(-n+3)::after {
  734. background: aqua;
  735. width: 24px;
  736. height: 24px;
  737. left: 0px;
  738. top: 0px;
  739. background: url(@/public/img/2.png) no-repeat left 0px;
  740. background-size: auto 90%;
  741. }
  742. }