class.less 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452
  1. a {
  2. color: #333333;
  3. }
  4. //农民工part1
  5. .farmingPartOne {
  6. width: 100%;
  7. height: 600px;
  8. .inner {
  9. height: 600px;
  10. .innerLeft {
  11. height: 600px;
  12. .leftTop {
  13. margin-top: 20px;
  14. height: 320px;
  15. .leftTopPhoto {
  16. width: 387px;
  17. height: 320px;
  18. position: relative;
  19. img {
  20. width: 387px;
  21. height: 320px;
  22. }
  23. span {
  24. display: inline-block;
  25. width: 387px;
  26. height: 50px;
  27. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
  28. color: #FFFFFF;
  29. position: absolute;
  30. bottom: 0;
  31. left: 0;
  32. font-family: Source Han Sans, Source Han Sans;
  33. font-weight: 500;
  34. font-size: 20px;
  35. line-height: 23px;
  36. padding-top: 11px;
  37. padding-left: 13px;
  38. box-sizing: border-box;
  39. white-space: nowrap;
  40. /* 禁止换行 */
  41. overflow: hidden;
  42. /* 隐藏超出部分 */
  43. text-overflow: ellipsis;
  44. /* 超出部分显示省略号 */
  45. }
  46. }
  47. >ul.left {
  48. margin-left: 25px;
  49. width: 362px;
  50. height: 320px;
  51. margin-top: 5px;
  52. >li {
  53. em {
  54. display: inline-block;
  55. width: 8px;
  56. height: 8px;
  57. border-radius: 8px;
  58. background-color: #d9d9d9;
  59. margin-right: 8px;
  60. vertical-align: middle;
  61. }
  62. width: 362px;
  63. height: 22px;
  64. font-family: PingFang SC,
  65. PingFang SC;
  66. font-weight: 500;
  67. font-size: 18px;
  68. color: #333333;
  69. line-height: 22px;
  70. text-align: left;
  71. font-style: normal;
  72. text-transform: none;
  73. margin-bottom: 19px;
  74. white-space: nowrap;
  75. /* 禁止换行 */
  76. overflow: hidden;
  77. /* 隐藏超出部分 */
  78. text-overflow: ellipsis;
  79. /* 超出部分显示省略号 */
  80. }
  81. >li:hover {
  82. a {
  83. color: #088f04;
  84. }
  85. color: #088f04;
  86. }
  87. >li:hover>em {
  88. background-color: #088f04;
  89. }
  90. }
  91. }
  92. .leftBottom {
  93. height: 202px;
  94. margin-top: 21px;
  95. >li {
  96. float: left;
  97. width: 185px;
  98. height: 202px;
  99. margin-right: 10px;
  100. >a {
  101. >img {
  102. width: 185px;
  103. height: 139px;
  104. }
  105. }
  106. >p {
  107. width: 185px;
  108. height: 58px;
  109. padding: 8px 5px 12px;
  110. box-sizing: border-box;
  111. background-color: #f5f5f5;
  112. font-family: PingFang SC, PingFang SC;
  113. font-weight: 500;
  114. font-size: 18px;
  115. color: #333333;
  116. line-height: 24px;
  117. text-align: left;
  118. font-style: normal;
  119. text-transform: none;
  120. display: -webkit-box;
  121. -webkit-box-orient: vertical;
  122. -webkit-line-clamp: 2;
  123. /* 限制显示的行数 */
  124. overflow: hidden;
  125. text-overflow: ellipsis;
  126. }
  127. }
  128. >li:hover {
  129. a {
  130. color: #088f04;
  131. }
  132. }
  133. >li:last-child {
  134. margin: 0;
  135. }
  136. }
  137. }
  138. .innerRight {
  139. .rightList {
  140. height: 540px;
  141. margin-top: 20px;
  142. >li {
  143. height: 100px;
  144. margin-bottom: 10px;
  145. img {
  146. width: 150px;
  147. height: 100px;
  148. }
  149. >p {
  150. width: 219px;
  151. height: 100px;
  152. display: -webkit-box;
  153. -webkit-box-orient: vertical;
  154. -webkit-line-clamp: 4;
  155. overflow: hidden;
  156. text-overflow: ellipsis;
  157. word-break: break-all;
  158. padding-left: 12px;
  159. font-family: PingFang SC, PingFang SC;
  160. font-weight: 400;
  161. font-size: 16px;
  162. color: #333333;
  163. line-height: 24px;
  164. text-align: left;
  165. font-style: normal;
  166. text-transform: none;
  167. }
  168. >p:hover {
  169. box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.1);
  170. a {
  171. color: #088f04;
  172. }
  173. }
  174. }
  175. }
  176. }
  177. }
  178. }
  179. //农民工part2
  180. .farmingPartTwo {
  181. width: 100%;
  182. height: 600px;
  183. .inner {
  184. width: 1200px;
  185. height: 600px;
  186. >.farmer {
  187. float: left;
  188. width: 380px;
  189. height: 600px;
  190. margin-right: 29px;
  191. // 农民工part2标题
  192. >.title {
  193. width: 380px;
  194. }
  195. >.title>h3 {
  196. height: 36px;
  197. font-family: Source Han Sans, Source Han Sans;
  198. font-weight: bold;
  199. font-size: 24px;
  200. color: #000000;
  201. line-height: 28px;
  202. text-align: left;
  203. font-style: normal;
  204. text-transform: none;
  205. border-bottom: 1px solid #139602;
  206. }
  207. >.title>h3>span>a {
  208. float: right;
  209. width: 56px;
  210. height: 20px;
  211. line-height: 24px;
  212. font-weight: 400;
  213. font-size: 14px;
  214. color: #999999;
  215. font-style: normal;
  216. text-transform: none;
  217. }
  218. // 农民工part2图片
  219. .PartTwoPhoto {
  220. width: 380px;
  221. height: 280px;
  222. margin-top: 20px;
  223. position: relative;
  224. img {
  225. width: 380px;
  226. height: 280px;
  227. }
  228. span {
  229. display: inline-block;
  230. width: 380px;
  231. height: 50px;
  232. background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
  233. color: #FFFFFF;
  234. position: absolute;
  235. bottom: 0;
  236. left: 0;
  237. font-family: Source Han Sans, Source Han Sans;
  238. font-weight: 500;
  239. font-size: 20px;
  240. line-height: 23px;
  241. padding-top: 11px;
  242. padding-left: 13px;
  243. box-sizing: border-box;
  244. white-space: nowrap;
  245. /* 禁止换行 */
  246. overflow: hidden;
  247. /* 隐藏超出部分 */
  248. text-overflow: ellipsis;
  249. /* 超出部分显示省略号 */
  250. }
  251. }
  252. //农民工part2文字列表
  253. .PartTwoList {
  254. width: 380px;
  255. height: 263px;
  256. background-color: #fff;
  257. box-shadow: 0px 4px 30px 1px rgba(174, 174, 174, 0.25);
  258. padding-top: 20px;
  259. box-sizing: border-box;
  260. >li {
  261. width: 380px;
  262. height: 25px;
  263. line-height: 25px;
  264. font-family: PingFang SC, PingFang SC;
  265. font-weight: 500;
  266. font-size: 18px;
  267. color: #333333;
  268. margin-bottom: 16px;
  269. white-space: nowrap;
  270. /* 禁止换行 */
  271. overflow: hidden;
  272. /* 隐藏超出部分 */
  273. text-overflow: ellipsis;
  274. /* 超出部分显示省略号 */
  275. >em {
  276. display: inline-block;
  277. width: 8px;
  278. height: 8px;
  279. background-color: #d9d9d9;
  280. border-radius: 8px;
  281. margin-left: 19px;
  282. margin-right: 10px;
  283. }
  284. }
  285. >li:hover {
  286. color: #139602;
  287. a {
  288. color: #088f04;
  289. }
  290. }
  291. >li:hover>em {
  292. background-color: #139602;
  293. }
  294. }
  295. }
  296. >.farmer:last-child {
  297. margin-right: 0;
  298. }
  299. }
  300. }
  301. //资讯推荐
  302. .zixuntuijian {
  303. width: 100%;
  304. height: 600px;
  305. .innerLeft {
  306. // 左侧的上半部分
  307. .zixunTop {
  308. height: 286px;
  309. .zixunLeft,
  310. .zixunRight {
  311. float: left;
  312. width: 380px;
  313. height: 286px;
  314. .towPic {
  315. display: flex;
  316. width: 380px;
  317. height: 116px;
  318. margin-top: 20px;
  319. .picBox {
  320. width: 50%;
  321. text-align: center;
  322. }
  323. .picBox:nth-child(3),
  324. .picBox:nth-child(4),
  325. .picBox:nth-child(5) {
  326. display: none;
  327. }
  328. img {
  329. width: 190px;
  330. height: 120px;
  331. }
  332. .picBox:first-child {
  333. margin-right: 5px;
  334. }
  335. }
  336. // 标题部分
  337. >.title {
  338. width: 380px;
  339. }
  340. >.title>h3 {
  341. height: 36px;
  342. font-family: Source Han Sans, Source Han Sans;
  343. font-weight: bold;
  344. font-size: 24px;
  345. color: #000000;
  346. line-height: 28px;
  347. text-align: left;
  348. font-style: normal;
  349. text-transform: none;
  350. border-bottom: 1px solid #139602;
  351. }
  352. >.title>h3>span {
  353. float: right;
  354. width: 56px;
  355. height: 20px;
  356. line-height: 24px;
  357. font-weight: 400;
  358. font-size: 14px;
  359. color: #999999;
  360. font-style: normal;
  361. text-transform: none;
  362. }
  363. .photo_text {
  364. article {
  365. white-space: nowrap;
  366. /* 禁止换行 */
  367. overflow: hidden;
  368. /* 隐藏超出部分 */
  369. text-overflow: ellipsis;
  370. /* 超出部分显示省略号 */
  371. li {
  372. white-space: nowrap;
  373. /* 禁止换行 */
  374. overflow: hidden;
  375. /* 隐藏超出部分 */
  376. text-overflow: ellipsis;
  377. /* 超出部分显示省略号 */
  378. a:hover {
  379. color: #088f04;
  380. }
  381. }
  382. li:hover {
  383. color: #088f04;
  384. a {
  385. color: #088f04;
  386. }
  387. }
  388. img {
  389. width: 100px;
  390. }
  391. }
  392. li {
  393. width: 380px;
  394. height: 25px;
  395. font-family: PingFang SC, PingFang SC;
  396. font-weight: 500;
  397. font-size: 18px;
  398. color: #333333;
  399. line-height: 21px;
  400. text-align: left;
  401. font-style: normal;
  402. text-transform: none;
  403. margin-bottom: 9px;
  404. em {
  405. display: inline-block;
  406. width: 8px;
  407. height: 8px;
  408. border-radius: 8px;
  409. margin-right: 10px;
  410. background-color: #d9d9d9;
  411. }
  412. }
  413. }
  414. }
  415. // 左侧的资讯推荐的左半部分
  416. .zixunLeft {
  417. margin-right: 30px;
  418. .photo_text {
  419. li:first-child {
  420. width: 380px;
  421. height: 120px;
  422. margin-top: 20px;
  423. margin-bottom: 16px;
  424. position: relative;
  425. img {
  426. float: left;
  427. width: 160px;
  428. height: 120px;
  429. }
  430. div {
  431. float: left;
  432. width: 220px;
  433. height: 120px;
  434. padding-left: 15px;
  435. padding-top: 6px;
  436. box-sizing: border-box;
  437. background-color: #f6f6f6;
  438. h5 {
  439. width: 200px;
  440. height: 54px;
  441. white-space: nowrap;
  442. overflow: hidden;
  443. text-overflow: ellipsis;
  444. font-family: Source Han Sans, Source Han Sans;
  445. font-weight: 500;
  446. font-size: 18px;
  447. color: #333333;
  448. line-height: 26px;
  449. text-align: left;
  450. font-style: normal;
  451. text-transform: none;
  452. }
  453. p {
  454. width: 200px;
  455. height: 22px;
  456. line-height: 20px;
  457. position: absolute;
  458. bottom: 5px;
  459. right: 0;
  460. span {
  461. display: inline-block;
  462. width: 75px;
  463. height: 18px;
  464. font-family: Source Han Sans, Source Han Sans;
  465. font-weight: 400;
  466. font-size: 12px;
  467. color: #999999;
  468. text-align: left;
  469. line-height: 14px;
  470. font-style: normal;
  471. text-transform: none;
  472. }
  473. span:last-child {
  474. width: 90px;
  475. text-align: right;
  476. }
  477. }
  478. }
  479. }
  480. >li {
  481. width: 380px;
  482. height: 25px;
  483. font-family: PingFang SC, PingFang SC;
  484. font-weight: 500;
  485. font-size: 18px;
  486. color: #333333;
  487. line-height: 21px;
  488. text-align: left;
  489. font-style: normal;
  490. text-transform: none;
  491. margin-bottom: 9px;
  492. em {
  493. display: inline-block;
  494. width: 8px;
  495. height: 8px;
  496. border-radius: 8px;
  497. margin-right: 10px;
  498. background-color: #d9d9d9;
  499. }
  500. }
  501. }
  502. }
  503. // 左侧的资讯推荐的右半部分
  504. .zixunRight {
  505. width: 380px;
  506. height: 229px;
  507. .photo_text {
  508. margin-top: 20px;
  509. >li:nth-child(1) {
  510. display: none;
  511. }
  512. >li:nth-child(2) {
  513. display: none;
  514. }
  515. }
  516. }
  517. }
  518. //左侧的下半部分
  519. .zixunBottom {
  520. width: 790px;
  521. height: 280px;
  522. margin-top: 40px;
  523. img {
  524. width: 498px;
  525. height: 280px;
  526. }
  527. >.leftList {
  528. width: 290px;
  529. height: 280px;
  530. background-color: #f6f6f6;
  531. padding: 11px 26px 6px 20px;
  532. box-sizing: border-box;
  533. >li {
  534. width: 296px;
  535. height: 35px;
  536. line-height: 35px;
  537. color: #666666;
  538. font-size: 14px;
  539. margin-bottom: 18px;
  540. h4 {
  541. font-family: Source Han Sans, Source Han Sans;
  542. height: 35px;
  543. line-height: 35px;
  544. font-size: 18px;
  545. font-weight: 400;
  546. white-space: nowrap;
  547. /* 禁止换行 */
  548. overflow: hidden;
  549. /* 隐藏超出部分 */
  550. text-overflow: ellipsis;
  551. /* 超出部分显示省略号 */
  552. color: #333333;
  553. width: 260px;
  554. em {
  555. display: inline-block;
  556. width: 8px;
  557. height: 8px;
  558. background-color: #333333;
  559. border-radius: 8px;
  560. margin-right: 5px;
  561. }
  562. }
  563. p {
  564. width: 249px;
  565. height: 48px;
  566. line-height: 24px;
  567. padding-left: 14px;
  568. display: -webkit-box;
  569. -webkit-box-orient: vertical;
  570. -webkit-line-clamp: 2;
  571. /* 限制显示的行数 */
  572. overflow: hidden;
  573. text-overflow: ellipsis;
  574. }
  575. }
  576. >li:hover,
  577. >li:hover>h4>a,
  578. >li:hover>p>a {
  579. color: #088f04;
  580. }
  581. >li:hover>h4>em {
  582. background-color: #088f04;
  583. }
  584. }
  585. }
  586. }
  587. .innerRight {
  588. .information {
  589. width: 380px;
  590. margin-top: 20px;
  591. >li {
  592. width: 380px;
  593. height: 120px;
  594. margin-bottom: 21px;
  595. img {
  596. float: left;
  597. width: 160px;
  598. height: 120px;
  599. }
  600. .text {
  601. float: left;
  602. width: 220px;
  603. height: 120px;
  604. padding-left: 15px;
  605. box-sizing: border-box;
  606. >h5 {
  607. width: 199px;
  608. height: 49px;
  609. display: -webkit-box;
  610. -webkit-box-orient: vertical;
  611. -webkit-line-clamp: 2;
  612. overflow: hidden;
  613. padding-top: 6px;
  614. font-family: PingFang SC, PingFang SC;
  615. font-weight: 600;
  616. font-size: 18px;
  617. color: #333333;
  618. line-height: 26px;
  619. text-align: left;
  620. font-style: normal;
  621. text-transform: none;
  622. }
  623. >p {
  624. width: 198px;
  625. height: 20px;
  626. display: -webkit-box;
  627. -webkit-box-orient: vertical;
  628. -webkit-line-clamp: 2;
  629. overflow: hidden;
  630. text-overflow: ellipsis;
  631. word-break: break-all;
  632. margin-top: 16px;
  633. font-family: PingFang SC, PingFang SC;
  634. font-weight: 400;
  635. font-size: 14px;
  636. color: #666666;
  637. line-height: 24px;
  638. text-align: left;
  639. font-style: normal;
  640. text-transform: none;
  641. margin-top: 40px;
  642. }
  643. }
  644. .text:hover {
  645. box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.1);
  646. background-color: #fff;
  647. h5 {
  648. a {
  649. color: #088f04;
  650. }
  651. }
  652. p {
  653. color: #088f04;
  654. }
  655. }
  656. }
  657. }
  658. }
  659. }
  660. // 农民工
  661. .farming {
  662. width: 100%;
  663. height: 605px;
  664. // 左侧
  665. .innerLeft {
  666. width: 790px;
  667. height: 605px;
  668. margin-right: 21px;
  669. // background-color: #ccc;
  670. .farmer {
  671. width: 790px;
  672. height: 312px;
  673. >h3 {
  674. height: 36px;
  675. font-family: Source Han Sans, Source Han Sans;
  676. font-weight: bold;
  677. font-size: 24px;
  678. color: #000000;
  679. line-height: 28px;
  680. text-align: left;
  681. font-style: normal;
  682. text-transform: none;
  683. border-bottom: 1px solid #139602;
  684. >span {
  685. float: right;
  686. width: 56px;
  687. height: 20px;
  688. line-height: 24px;
  689. font-weight: 400;
  690. font-size: 14px;
  691. color: #999999;
  692. font-style: normal;
  693. text-transform: none;
  694. }
  695. }
  696. >ul {
  697. margin-top: 20px;
  698. >li {
  699. float: left;
  700. width: 362px;
  701. height: 22px;
  702. font-weight: 500;
  703. font-size: 18px;
  704. color: #333333;
  705. line-height: 21px;
  706. text-align: left;
  707. margin-bottom: 29px;
  708. margin-right: 27px;
  709. white-space: nowrap;
  710. /* 禁止换行 */
  711. overflow: hidden;
  712. /* 隐藏超出部分 */
  713. text-overflow: ellipsis;
  714. /* 超出部分显示省略号 */
  715. >em {
  716. display: inline-block;
  717. width: 8px;
  718. height: 8px;
  719. background-color: #d9d9d9;
  720. border-radius: 4px;
  721. margin: 5px 8px 6px;
  722. vertical-align: middle;
  723. }
  724. }
  725. >li:hover {
  726. color: #139602;
  727. a {
  728. color: #139602;
  729. }
  730. }
  731. }
  732. }
  733. .farmerbottom {
  734. width: 790px;
  735. height: 280px;
  736. img {
  737. width: 498px;
  738. height: 280px;
  739. }
  740. >.leftList {
  741. width: 290px;
  742. height: 280px;
  743. background-color: #f6f6f6;
  744. padding: 11px 26px 6px 20px;
  745. box-sizing: border-box;
  746. >li {
  747. width: 296px;
  748. height: 75px;
  749. color: #666666;
  750. font-size: 14px;
  751. margin-bottom: 18px;
  752. h4 {
  753. font-family: Source Han Sans, Source Han Sans;
  754. height: 27px;
  755. line-height: 21px;
  756. font-size: 18px;
  757. color: #333333;
  758. em {
  759. display: inline-block;
  760. width: 8px;
  761. height: 8px;
  762. background-color: #333333;
  763. border-radius: 8px;
  764. }
  765. }
  766. p {
  767. width: 249px;
  768. height: 48px;
  769. line-height: 24px;
  770. padding-left: 14px;
  771. }
  772. }
  773. >li:hover,
  774. >li:hover>h4 {
  775. color: #088f04;
  776. }
  777. >li:hover>h4>em {
  778. background-color: #088f04;
  779. }
  780. }
  781. }
  782. }
  783. // 右侧
  784. .innerRight {
  785. width: 380px;
  786. height: 605px;
  787. // 标题部分
  788. >h3 {
  789. height: 36px;
  790. font-family: Source Han Sans, Source Han Sans;
  791. font-weight: bold;
  792. font-size: 24px;
  793. color: #000000;
  794. line-height: 28px;
  795. text-align: left;
  796. font-style: normal;
  797. text-transform: none;
  798. border-bottom: 1px solid #139602;
  799. >span {
  800. float: right;
  801. width: 56px;
  802. height: 20px;
  803. line-height: 24px;
  804. font-weight: 400;
  805. font-size: 14px;
  806. color: #999999;
  807. font-style: normal;
  808. text-transform: none;
  809. }
  810. }
  811. // 轮播图
  812. .banner {
  813. width: 380px;
  814. height: 214px;
  815. margin-top: 20px;
  816. }
  817. .banner_b_img {
  818. // 图片部分
  819. .photo {
  820. height: 104px;
  821. margin-top: 10px;
  822. display: flex;
  823. }
  824. .photoL,
  825. .photoR {
  826. float: left;
  827. width: 185px;
  828. height: 104px;
  829. position: relative;
  830. img {
  831. width: 185px;
  832. height: 104px;
  833. }
  834. span {
  835. position: absolute;
  836. top: 0;
  837. left: 0;
  838. display: inline-block;
  839. padding-left: 7px;
  840. box-sizing: border-box;
  841. width: 185px;
  842. height: 22px;
  843. background-color: rgba(0, 0, 0, 0.5);
  844. font-weight: 500px;
  845. font-size: 14px;
  846. color: #FFFFFF;
  847. line-height: 22px;
  848. white-space: nowrap;
  849. /* 禁止换行 */
  850. overflow: hidden;
  851. /* 隐藏超出部分 */
  852. text-overflow: ellipsis;
  853. /* 超出部分显示省略号 */
  854. }
  855. }
  856. .photoL {
  857. margin-right: 10px;
  858. }
  859. }
  860. .banner_text_list {
  861. ul {
  862. width: 380px;
  863. height: 186px;
  864. margin-top: 30px;
  865. >li {
  866. a {
  867. height: 22px;
  868. font-size: 16px;
  869. &:hover {
  870. color: #139609;
  871. }
  872. }
  873. height: 22px;
  874. padding-bottom: 16px;
  875. white-space: nowrap;
  876. /* 禁止换行 */
  877. overflow: hidden;
  878. /* 隐藏超出部分 */
  879. text-overflow: ellipsis;
  880. /* 超出部分显示省略号 */
  881. >strong {
  882. display: inline-block;
  883. width: 24px;
  884. height: 24px;
  885. line-height: 24px;
  886. background-color: #cecece;
  887. padding-left: 6px;
  888. box-sizing: border-box;
  889. font-family: Source Han Sans, Source Han Sans;
  890. font-weight: 500;
  891. font-size: 18px;
  892. color: #FFFFFF;
  893. font-style: normal;
  894. text-transform: none;
  895. }
  896. >em {
  897. display: inline-block;
  898. width: 6px;
  899. height: 6px;
  900. border-radius: 10px;
  901. border: 2px solid #8CBA86;
  902. margin-right: 10px;
  903. }
  904. >span {
  905. width: 380px;
  906. height: 22px;
  907. font-family: PingFang SC, PingFang SC;
  908. font-weight: 500;
  909. font-size: 18px;
  910. color: #333333;
  911. line-height: 21px;
  912. text-align: left;
  913. font-style: normal;
  914. text-transform: none;
  915. }
  916. >span:hover {
  917. color: #139609;
  918. }
  919. }
  920. }
  921. }
  922. }
  923. }
  924. //三农科教
  925. .scienceEducation {
  926. height: 600px;
  927. margin-bottom: 76px;
  928. .innerLeft,
  929. .innerRight {
  930. float: left;
  931. }
  932. // 左侧
  933. .innerLeft {
  934. width: 790px;
  935. height: 616px;
  936. margin-right: 21px;
  937. }
  938. // 右侧
  939. .innerRight {
  940. width: 380px;
  941. height: 600px;
  942. // 标题部分
  943. >h3 {
  944. height: 36px;
  945. font-family: Source Han Sans, Source Han Sans;
  946. font-weight: bold;
  947. font-size: 24px;
  948. color: #000000;
  949. line-height: 28px;
  950. text-align: left;
  951. font-style: normal;
  952. text-transform: none;
  953. border-bottom: 1px solid #139602;
  954. >span {
  955. float: right;
  956. width: 56px;
  957. height: 20px;
  958. line-height: 24px;
  959. font-weight: 400;
  960. font-size: 14px;
  961. color: #999999;
  962. font-style: normal;
  963. text-transform: none;
  964. }
  965. }
  966. ul.sannongList {
  967. width: 380px;
  968. height: 186px;
  969. >li {
  970. height: 22px;
  971. padding-top: 16px;
  972. white-space: nowrap;
  973. /* 禁止换行 */
  974. overflow: hidden;
  975. /* 隐藏超出部分 */
  976. text-overflow: ellipsis;
  977. /* 超出部分显示省略号 */
  978. >strong {
  979. display: inline-block;
  980. width: 24px;
  981. height: 24px;
  982. line-height: 24px;
  983. background-color: #cecece;
  984. padding-left: 6px;
  985. box-sizing: border-box;
  986. font-family: Source Han Sans, Source Han Sans;
  987. font-weight: 500;
  988. font-size: 18px;
  989. color: #FFFFFF;
  990. font-style: normal;
  991. text-transform: none;
  992. }
  993. >em {
  994. display: inline-block;
  995. width: 6px;
  996. height: 6px;
  997. border-radius: 10px;
  998. border: 2px solid #8CBA86;
  999. }
  1000. >span {
  1001. width: 380px;
  1002. height: 22px;
  1003. font-family: PingFang SC, PingFang SC;
  1004. font-weight: 500;
  1005. font-size: 18px;
  1006. color: #333333;
  1007. line-height: 21px;
  1008. text-align: left;
  1009. font-style: normal;
  1010. text-transform: none;
  1011. padding-left: 9px;
  1012. }
  1013. >span:hover {
  1014. color: #139609;
  1015. a {
  1016. color: #088f04;
  1017. }
  1018. }
  1019. }
  1020. }
  1021. // 轮播图
  1022. .banner {
  1023. width: 380px;
  1024. height: 214px;
  1025. margin-top: 45px;
  1026. }
  1027. .banner_b_img {
  1028. // 图片部分
  1029. .photo {
  1030. height: 104px;
  1031. margin-top: 10px;
  1032. display: flex;
  1033. }
  1034. .photoL,
  1035. .photoR {
  1036. float: left;
  1037. width: 185px;
  1038. height: 104px;
  1039. position: relative;
  1040. img {
  1041. width: 185px;
  1042. height: 104px;
  1043. }
  1044. span {
  1045. position: absolute;
  1046. top: 0;
  1047. left: 0;
  1048. display: inline-block;
  1049. padding-left: 7px;
  1050. box-sizing: border-box;
  1051. width: 185px;
  1052. height: 22px;
  1053. background-color: rgba(0, 0, 0, 0.5);
  1054. font-weight: 500px;
  1055. font-size: 14px;
  1056. color: #FFFFFF;
  1057. line-height: 22px;
  1058. white-space: nowrap;
  1059. /* 禁止换行 */
  1060. overflow: hidden;
  1061. /* 隐藏超出部分 */
  1062. text-overflow: ellipsis;
  1063. /* 超出部分显示省略号 */
  1064. a {
  1065. color: #fff;
  1066. }
  1067. }
  1068. }
  1069. .photoL {
  1070. margin-right: 10px;
  1071. }
  1072. }
  1073. }
  1074. }
  1075. // 标题
  1076. .scienceTitle {
  1077. height: 37px;
  1078. h5 {
  1079. float: left;
  1080. width: 96px;
  1081. height: 34px;
  1082. font-family: PingFang SC, PingFang SC;
  1083. font-weight: 600;
  1084. font-size: 24px;
  1085. color: #000000;
  1086. line-height: 28px;
  1087. text-align: left;
  1088. font-style: normal;
  1089. text-transform: none;
  1090. margin-right: 20px;
  1091. }
  1092. >p {
  1093. float: left;
  1094. height: 37px;
  1095. line-height: 30px;
  1096. display: flex;
  1097. >span {
  1098. display: inline-block;
  1099. //height: 20px;
  1100. line-height: 20px;
  1101. text-align: center;
  1102. margin: 4px 0px 3px;
  1103. padding: 0 20px;
  1104. //border-right: 1px solid #ccc;
  1105. font-weight: 500;
  1106. font-size: 20px;
  1107. cursor: pointer;
  1108. padding-bottom: 11px;
  1109. // >a {
  1110. // display: inline-block;
  1111. // padding-bottom: 11px;
  1112. // font-family: PingFang SC, PingFang SC;
  1113. // font-weight: 500;
  1114. // font-size: 20px;
  1115. // color: #666666;
  1116. // line-height: 20px;
  1117. // font-style: normal;
  1118. // text-transform: none;
  1119. // box-sizing: border-box;
  1120. // }
  1121. .current {
  1122. color: #139602;
  1123. border-bottom: 1px solid #139602;
  1124. }
  1125. }
  1126. >span:nth-child(4) {
  1127. border-right: none;
  1128. }
  1129. >span:hover>a {
  1130. color: #139602;
  1131. border-bottom: 1px solid #139602;
  1132. }
  1133. }
  1134. }
  1135. .box {
  1136. width: 790px;
  1137. height: 570px;
  1138. position: relative;
  1139. overflow: hidden;
  1140. }
  1141. .fade-in {
  1142. animation: fadeIn 1s ease-in-out;
  1143. }
  1144. .fade-enter-from,
  1145. .fade-leave-to {
  1146. opacity: 0;
  1147. }
  1148. .fade-enter-to,
  1149. .fade-leave-from {
  1150. opacity: 1;
  1151. }
  1152. .fade-enter-active,
  1153. .fade-leave-active {
  1154. transition: opacity 1s ease;
  1155. }
  1156. .scienceListBox {
  1157. width: 3160px;
  1158. height: 570px;
  1159. position: absolute;
  1160. top: 0;
  1161. left: 0;
  1162. transition: all 3s linear 0;
  1163. }
  1164. // 标题下列表
  1165. .scienceList {
  1166. width: 790px;
  1167. height: 570px;
  1168. float: left;
  1169. margin-top: 17px;
  1170. >li {
  1171. width: 250px;
  1172. height: 276px;
  1173. float: left;
  1174. margin-right: 20px;
  1175. position: relative;
  1176. img {
  1177. width: 250px;
  1178. height: 220px;
  1179. border-top-left-radius: 40px;
  1180. border-bottom-right-radius: 40px;
  1181. }
  1182. >p {
  1183. height: 50px;
  1184. width: 248px;
  1185. font-family: PingFang SC, PingFang SC;
  1186. font-weight: 600;
  1187. font-size: 18px;
  1188. color: #333333;
  1189. line-height: 24px;
  1190. text-align: left;
  1191. font-style: normal;
  1192. text-transform: none;
  1193. display: -webkit-box;
  1194. -webkit-box-orient: vertical;
  1195. -webkit-line-clamp: 2;
  1196. /* 限制显示的行数 */
  1197. overflow: hidden;
  1198. text-overflow: ellipsis;
  1199. }
  1200. // >p:hover {
  1201. // color: #139602;
  1202. // }
  1203. }
  1204. >li:hover {
  1205. color: #088f04;
  1206. >p:hover {
  1207. a {
  1208. color: #088f04;
  1209. }
  1210. // color: #139602;
  1211. }
  1212. }
  1213. >li:nth-child(3),
  1214. >li:nth-child(6) {
  1215. margin-right: 0;
  1216. }
  1217. >li::before {
  1218. content: "";
  1219. display: inline-block;
  1220. width: 40px;
  1221. height: 20px;
  1222. position: absolute;
  1223. top: 0;
  1224. right: 0;
  1225. background-image: url("../../public/images/Component 209.png");
  1226. }
  1227. }
  1228. .active {
  1229. border-bottom: 3px solid #139602;
  1230. height: 36px;
  1231. display: inline-block;
  1232. }
  1233. .noSelect {
  1234. border-bottom: 3px solid #fff;
  1235. height: 36px;
  1236. display: inline-block;
  1237. }