class.less 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904
  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) {
  252. margin-bottom: 0px;
  253. }
  254. .channel_ul_1_a::after {
  255. content: '';
  256. display: block;
  257. width: 8px;
  258. height: 8px;
  259. background: #ddd;
  260. border-radius: 50%;
  261. position: absolute;
  262. left: 0px;
  263. top: 9px;
  264. z-index: 11;
  265. }
  266. .channel_ul_1_a:nth-of-type(1) {
  267. font-weight: bold;
  268. }
  269. .channel_ul_1_a:hover::after {
  270. background: #A91B33;
  271. }
  272. .channel_ul_1_a:hover {
  273. color: #A91B33;
  274. }
  275. }
  276. .channel_banner_1 {
  277. width: 1200px;
  278. margin: 20px auto 0px;
  279. height: 90px;
  280. overflow: hidden;
  281. .channel_banner_1_a {
  282. width: 1200px;
  283. display: block;
  284. }
  285. .channel_banner_1_img {
  286. width: 1200px;
  287. display: block;
  288. }
  289. }
  290. .channel_2 {
  291. margin: 30px auto 0px;
  292. }
  293. .channel_ul_2_a {
  294. height: 24px;
  295. line-height: 24px;
  296. color: #333;
  297. font-size: 18px;
  298. margin-bottom: 27px;
  299. box-sizing: border-box;
  300. text-indent: 16px;
  301. position: relative;
  302. .channel_ul_2_a::after {
  303. content: '';
  304. display: block;
  305. width: 6px;
  306. height: 6px;
  307. background: #ddd;
  308. border-radius: 50%;
  309. position: absolute;
  310. left: 0px;
  311. top: 8px;
  312. z-index: 11;
  313. }
  314. .channel_ul_2_a:nth-of-type(5n-4) {
  315. font-weight: bold;
  316. }
  317. .channel_ul_2_a:hover::after {
  318. background: #A91B33;
  319. }
  320. .channel_ul_2_a:hover {
  321. color: #A91B33;
  322. }
  323. }
  324. .channel_img_ul_1 {
  325. .channel_img_ul_1_li {
  326. margin-bottom: 25px;
  327. }
  328. .channel_img_ul_1_li_a {}
  329. .channel_img_ul_1_li_img {
  330. display: block;
  331. width: 350px;
  332. height: 230px;
  333. }
  334. .channel_img_ul_1_li_dot2 {
  335. height: 46px;
  336. line-height: 23px;
  337. color: #333;
  338. font-size: 18px;
  339. margin-top: 22px;
  340. font-weight: bold;
  341. width: 350px;
  342. }
  343. .channel_img_ul_1_li_a:hover .channel_img_ul_1_li_dot2 {
  344. color: #A91B33;
  345. }
  346. }
  347. .channel_img_ul_even_1_li {
  348. width: 165px;
  349. height: 159px;
  350. margin-bottom: 0px;
  351. position: relative;
  352. .channel_img_ul_even_1_li_a {}
  353. .channel_img_ul_even_1_li_img {
  354. width: 165px;
  355. height: 96px;
  356. }
  357. .channel_img_ul_even_1_li_dot2 {
  358. position: absolute;
  359. left: 0px;
  360. bottom: 0px;
  361. height: 46px;
  362. line-height: 23px;
  363. color: #333;
  364. font-size: 18px;
  365. margin-top: 13px;
  366. }
  367. .channel_img_ul_even_1_li_a:hover .channel_img_ul_even_1_li_dot2 {
  368. color: #A91B33;
  369. }
  370. }
  371. .channel_img_ul_even_1_li:nth-of-type(odd) {
  372. float: left;
  373. }
  374. .channel_img_ul_even_1_li:nth-of-type(even) {
  375. float: right;
  376. }
  377. .channel_even_img_ul_2 {
  378. .channel_even_img_ul_2_li {
  379. width: 220px;
  380. }
  381. .channel_even_img_ul_2_li:nth-of-type(odd) {
  382. float: left;
  383. }
  384. .channel_even_img_ul_2_li:nth-of-type(even) {
  385. float: right;
  386. }
  387. .channel_even_img_ul_2_a {}
  388. .channel_even_img_ul_2_li_img {
  389. display: block;
  390. width: 220px;
  391. height: 130px;
  392. }
  393. .channel_even_img_ul_2_dot1 {
  394. height: 24px;
  395. line-height: 24px;
  396. color: #333;
  397. font-size: 18px;
  398. margin-top: 20px;
  399. text-align: center;
  400. }
  401. .channel_even_img_ul_2_a:hover .channel_even_img_ul_2_dot1 {
  402. color: #A91B33;
  403. }
  404. }
  405. .channel_ul_3 {
  406. margin-top: 30px;
  407. .channel_ul_3_a {
  408. height: 24px;
  409. line-height: 24px;
  410. color: #333;
  411. font-size: 18px;
  412. margin-bottom: 16px;
  413. box-sizing: border-box;
  414. text-indent: 16px;
  415. position: relative;
  416. }
  417. .channel_ul_3_a::after {
  418. content: '';
  419. display: block;
  420. width: 8px;
  421. height: 8px;
  422. background: #ddd;
  423. border-radius: 50%;
  424. position: absolute;
  425. left: 0px;
  426. top: 8px;
  427. z-index: 11;
  428. }
  429. .channel_ul_3_a:hover::after {
  430. background: #A91B33;
  431. }
  432. .channel_ul_3_a:hover {
  433. color: #A91B33;
  434. }
  435. }
  436. .channel_3 {
  437. margin: 4px auto 20px;
  438. height: 420px;
  439. }
  440. .channel_ul_4 {
  441. margin-top: 0px;
  442. .channel_ul_4_a {
  443. height: 24px;
  444. line-height: 24px;
  445. color: #333;
  446. font-size: 18px;
  447. margin-bottom: 20px;
  448. box-sizing: border-box;
  449. text-indent: 16px;
  450. position: relative;
  451. }
  452. .channel_ul_4_a::after {
  453. content: '';
  454. display: block;
  455. width: 8px;
  456. height: 8px;
  457. background: #ddd;
  458. border-radius: 50%;
  459. position: absolute;
  460. left: 0px;
  461. top: 8px;
  462. z-index: 11;
  463. }
  464. .channel_ul_4_a:hover::after {
  465. background: #A91B33;
  466. }
  467. .channel_ul_4_a:hover {
  468. color: #A91B33;
  469. }
  470. .channel_ul_4_a:nth-of-type(1) {
  471. font-weight: bold;
  472. color: #333;
  473. }
  474. .channel_ul_4_a:nth-of-type(1):hover {
  475. color: #A91B33;
  476. }
  477. .channel_ul_4_a:nth-of-type(1):hover::after {
  478. background: #A91B33;
  479. }
  480. .channel_ul_4_a:nth-last-of-type(1) {
  481. margin-bottom: 0px;
  482. }
  483. }
  484. .channel_img_ul_2 {
  485. .channel_img_ul_2_li {
  486. margin-bottom: 25px;
  487. }
  488. .channel_img_ul_2_li_a {}
  489. .channel_img_ul_2_li_img {
  490. display: block;
  491. height: 267px;
  492. width: 450px;
  493. }
  494. .channel_img_ul_2_li_dot2 {
  495. height: 46px;
  496. line-height: 23px;
  497. color: #333;
  498. font-size: 18px;
  499. margin-top: 22px;
  500. font-weight: bold;
  501. }
  502. .channel_img_ul_2_li_a:hover .channel_img_ul_2_li_dot2 {
  503. color: #A91B33;
  504. }
  505. .channel_img_ul_2_li:nth-last-of-type(1) {
  506. margin-bottom: 0px;
  507. }
  508. }
  509. .channel_banner_2 {
  510. width: 1200px;
  511. margin: 24px auto 0px;
  512. height: 90px;
  513. .channel_banner_2_a {
  514. width: 1200px;
  515. display: block;
  516. }
  517. .channel_banner_2_img {
  518. width: 1200px;
  519. display: block;
  520. }
  521. }
  522. .channel_4 {
  523. margin: 30px auto 0px;
  524. }
  525. .channel_img_ul_3_ul {
  526. .channel_img_ul_3_li {
  527. width: 350px;
  528. height: 230px;
  529. margin-bottom: 20px;
  530. position: relative;
  531. }
  532. .channel_img_ul_3_li_a {}
  533. .channel_img_ul_3_li_img {
  534. display: block;
  535. width: 350px;
  536. height: 230px;
  537. }
  538. .channel_img_ul_3_li_dot1 {
  539. width: 350px;
  540. height: 44px;
  541. line-height: 44px;
  542. color: #fff;
  543. font-size: 18px;
  544. padding: 0px 10px;
  545. box-sizing: border-box;
  546. position: absolute;
  547. z-index: 11;
  548. left: 0px;
  549. bottom: 0px;
  550. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  551. }
  552. }
  553. .channel_2 {
  554. margin: 30px auto 0px;
  555. height: 570px;
  556. }
  557. .channel_ul_2_a {
  558. height: 24px;
  559. line-height: 24px;
  560. color: #333;
  561. font-size: 18px;
  562. margin-bottom: 22px;
  563. box-sizing: border-box;
  564. text-indent: 16px;
  565. position: relative;
  566. .channel_ul_2_a:nth-of-type(5n-4) {
  567. font-weight: bold;
  568. }
  569. &:hover::after {
  570. background: #A91B33;
  571. }
  572. &:hover {
  573. color: #A91B33;
  574. }
  575. }
  576. .channel_ul_2_a::after {
  577. content: '';
  578. display: block;
  579. width: 8px;
  580. height: 8px;
  581. background: #ddd;
  582. border-radius: 50%;
  583. position: absolute;
  584. left: 0px;
  585. top: 9px;
  586. z-index: 11;
  587. }
  588. .channel_ul_5_a {
  589. height: 24px;
  590. line-height: 24px;
  591. color: #333;
  592. font-size: 18px;
  593. margin-bottom: 17px;
  594. box-sizing: border-box;
  595. text-indent: 16px;
  596. position: relative;
  597. &:hover::after {
  598. background: #A91B33;
  599. }
  600. &:hover {
  601. color: #A91B33;
  602. }
  603. }
  604. .channel_ul_5_a::after {
  605. content: '';
  606. display: block;
  607. width: 8px;
  608. height: 8px;
  609. background: #ddd;
  610. border-radius: 50%;
  611. position: absolute;
  612. left: 0px;
  613. top: 8px;
  614. z-index: 11;
  615. }
  616. .channel_ul_5_a:nth-of-type(3n-2) {
  617. font-weight: bold;
  618. }
  619. .channel_head_box_2 {
  620. margin-top: 11px;
  621. }
  622. .channel_img_ul_4_ul {
  623. .channel_img_ul_4_li {
  624. width: 350px;
  625. height: 230px;
  626. margin-bottom: 20px;
  627. position: relative;
  628. }
  629. .channel_img_ul_4_li_a {}
  630. .channel_img_ul_4_li_img {
  631. display: block;
  632. width: 350px;
  633. height: 230px;
  634. }
  635. .channel_img_ul_4_li_dot1 {
  636. width: 350px;
  637. height: 44px;
  638. line-height: 44px;
  639. color: #fff;
  640. font-size: 18px;
  641. padding: 0px 10px;
  642. box-sizing: border-box;
  643. position: absolute;
  644. z-index: 11;
  645. left: 0px;
  646. bottom: 0px;
  647. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  648. }
  649. }
  650. .channel_ul_6_a {
  651. height: 24px;
  652. line-height: 24px;
  653. color: #333;
  654. font-size: 18px;
  655. margin-bottom: 17px;
  656. box-sizing: border-box;
  657. text-indent: 16px;
  658. position: relative;
  659. &:hover::after {
  660. background: #A91B33;
  661. }
  662. &:hover {
  663. color: #A91B33;
  664. }
  665. }
  666. .channel_ul_6_a::after {
  667. content: '';
  668. display: block;
  669. width: 8px;
  670. height: 8px;
  671. background: #ddd;
  672. border-radius: 50%;
  673. position: absolute;
  674. left: 0px;
  675. top: 8px;
  676. z-index: 11;
  677. }
  678. .channel_ul_6_a:nth-of-type(3n-2) {
  679. font-weight: bold;
  680. }
  681. .channel_img_ul_5_ul {
  682. .channel_img_ul_5_li {
  683. height: 265px;
  684. margin-bottom: 20px;
  685. position: relative;
  686. }
  687. .channel_img_ul_5_li_a {}
  688. .channel_img_ul_5_li_img {
  689. display: block;
  690. height: 265px;
  691. width: 100%;
  692. }
  693. .channel_img_ul_5_li_dot1 {
  694. width: 450px;
  695. height: 44px;
  696. line-height: 44px;
  697. color: #fff;
  698. font-size: 18px;
  699. padding: 0px 10px;
  700. box-sizing: border-box;
  701. position: absolute;
  702. z-index: 11;
  703. left: 0px;
  704. bottom: 0px;
  705. background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 33%, rgba(0, 0, 0, 0) 100%);
  706. }
  707. }
  708. .index_ul_7 {
  709. margin-top: 17px;
  710. .index_ul_7_a {
  711. height: 24px;
  712. line-height: 24px;
  713. color: #333;
  714. font-size: 18px;
  715. margin-bottom: 18px;
  716. box-sizing: border-box;
  717. text-indent: 16px;
  718. position: relative;
  719. &:hover {
  720. color: #A91B33;
  721. }
  722. }
  723. .index_ul_7_a:nth-last-of-type(1) {
  724. margin-bottom: 0px;
  725. }
  726. .index_ul_7_a::after {
  727. content: '';
  728. display: block;
  729. width: 8px;
  730. height: 8px;
  731. background: #ddd;
  732. border-radius: 50%;
  733. position: absolute;
  734. left: 0px;
  735. top: 9px;
  736. z-index: 11;
  737. }
  738. .index_ul_7_a:hover::after {
  739. background: #A91B33;
  740. }
  741. .index_ul_7_a:nth-of-type(-n+3) {
  742. text-indent: 33px;
  743. }
  744. .index_ul_7_a:nth-of-type(-n+3)::after {
  745. background: aqua;
  746. width: 24px;
  747. height: 24px;
  748. left: 0px;
  749. top: 0px;
  750. background: url(@/public/img/2.png) no-repeat left 0px;
  751. background-size: auto 90%;
  752. }
  753. }
  754. .boxheight1 {
  755. height: 590px;
  756. }
  757. .boxheight2 {
  758. height: 249px;
  759. }