class.less 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446
  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. }
  510. }
  511. }
  512. //左侧的下半部分
  513. .zixunBottom {
  514. width: 790px;
  515. height: 280px;
  516. margin-top: 40px;
  517. img {
  518. width: 498px;
  519. height: 280px;
  520. }
  521. >.leftList {
  522. width: 290px;
  523. height: 280px;
  524. background-color: #f6f6f6;
  525. padding: 11px 26px 6px 20px;
  526. box-sizing: border-box;
  527. >li {
  528. width: 296px;
  529. height: 35px;
  530. line-height: 35px;
  531. color: #666666;
  532. font-size: 14px;
  533. margin-bottom: 18px;
  534. h4 {
  535. font-family: Source Han Sans, Source Han Sans;
  536. height: 35px;
  537. line-height: 35px;
  538. font-size: 18px;
  539. font-weight: 400;
  540. white-space: nowrap;
  541. /* 禁止换行 */
  542. overflow: hidden;
  543. /* 隐藏超出部分 */
  544. text-overflow: ellipsis;
  545. /* 超出部分显示省略号 */
  546. color: #333333;
  547. width: 260px;
  548. em {
  549. display: inline-block;
  550. width: 8px;
  551. height: 8px;
  552. background-color: #333333;
  553. border-radius: 8px;
  554. margin-right: 5px;
  555. }
  556. }
  557. p {
  558. width: 249px;
  559. height: 48px;
  560. line-height: 24px;
  561. padding-left: 14px;
  562. display: -webkit-box;
  563. -webkit-box-orient: vertical;
  564. -webkit-line-clamp: 2;
  565. /* 限制显示的行数 */
  566. overflow: hidden;
  567. text-overflow: ellipsis;
  568. }
  569. }
  570. >li:hover,
  571. >li:hover>h4>a,
  572. >li:hover>p>a {
  573. color: #088f04;
  574. }
  575. >li:hover>h4>em {
  576. background-color: #088f04;
  577. }
  578. }
  579. }
  580. }
  581. .innerRight {
  582. .information {
  583. width: 380px;
  584. margin-top: 20px;
  585. >li {
  586. width: 380px;
  587. height: 120px;
  588. margin-bottom: 21px;
  589. img {
  590. float: left;
  591. width: 160px;
  592. height: 120px;
  593. }
  594. .text {
  595. float: left;
  596. width: 220px;
  597. height: 120px;
  598. padding-left: 15px;
  599. box-sizing: border-box;
  600. >h5 {
  601. width: 199px;
  602. height: 49px;
  603. display: -webkit-box;
  604. -webkit-box-orient: vertical;
  605. -webkit-line-clamp: 2;
  606. overflow: hidden;
  607. padding-top: 6px;
  608. font-family: PingFang SC, PingFang SC;
  609. font-weight: 600;
  610. font-size: 18px;
  611. color: #333333;
  612. line-height: 26px;
  613. text-align: left;
  614. font-style: normal;
  615. text-transform: none;
  616. }
  617. >p {
  618. width: 198px;
  619. height: 20px;
  620. display: -webkit-box;
  621. -webkit-box-orient: vertical;
  622. -webkit-line-clamp: 2;
  623. overflow: hidden;
  624. text-overflow: ellipsis;
  625. word-break: break-all;
  626. margin-top: 16px;
  627. font-family: PingFang SC, PingFang SC;
  628. font-weight: 400;
  629. font-size: 14px;
  630. color: #666666;
  631. line-height: 24px;
  632. text-align: left;
  633. font-style: normal;
  634. text-transform: none;
  635. margin-top: 40px;
  636. }
  637. }
  638. .text:hover {
  639. box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.1);
  640. background-color: #fff;
  641. h5 {
  642. a {
  643. color: #088f04;
  644. }
  645. }
  646. p {
  647. color: #088f04;
  648. }
  649. }
  650. }
  651. }
  652. }
  653. }
  654. // 农民工
  655. .farming {
  656. width: 100%;
  657. height: 605px;
  658. // 左侧
  659. .innerLeft {
  660. width: 790px;
  661. height: 605px;
  662. margin-right: 21px;
  663. // background-color: #ccc;
  664. .farmer {
  665. width: 790px;
  666. height: 312px;
  667. >h3 {
  668. height: 36px;
  669. font-family: Source Han Sans, Source Han Sans;
  670. font-weight: bold;
  671. font-size: 24px;
  672. color: #000000;
  673. line-height: 28px;
  674. text-align: left;
  675. font-style: normal;
  676. text-transform: none;
  677. border-bottom: 1px solid #139602;
  678. >span {
  679. float: right;
  680. width: 56px;
  681. height: 20px;
  682. line-height: 24px;
  683. font-weight: 400;
  684. font-size: 14px;
  685. color: #999999;
  686. font-style: normal;
  687. text-transform: none;
  688. }
  689. }
  690. >ul {
  691. margin-top: 20px;
  692. >li {
  693. float: left;
  694. width: 362px;
  695. height: 22px;
  696. font-weight: 500;
  697. font-size: 18px;
  698. color: #333333;
  699. line-height: 21px;
  700. text-align: left;
  701. margin-bottom: 29px;
  702. margin-right: 27px;
  703. white-space: nowrap;
  704. /* 禁止换行 */
  705. overflow: hidden;
  706. /* 隐藏超出部分 */
  707. text-overflow: ellipsis;
  708. /* 超出部分显示省略号 */
  709. >em {
  710. display: inline-block;
  711. width: 8px;
  712. height: 8px;
  713. background-color: #d9d9d9;
  714. border-radius: 4px;
  715. margin: 5px 8px 6px;
  716. vertical-align: middle;
  717. }
  718. }
  719. >li:hover {
  720. color: #139602;
  721. a {
  722. color: #139602;
  723. }
  724. }
  725. }
  726. }
  727. .farmerbottom {
  728. width: 790px;
  729. height: 280px;
  730. img {
  731. width: 498px;
  732. height: 280px;
  733. }
  734. >.leftList {
  735. width: 290px;
  736. height: 280px;
  737. background-color: #f6f6f6;
  738. padding: 11px 26px 6px 20px;
  739. box-sizing: border-box;
  740. >li {
  741. width: 296px;
  742. height: 75px;
  743. color: #666666;
  744. font-size: 14px;
  745. margin-bottom: 18px;
  746. h4 {
  747. font-family: Source Han Sans, Source Han Sans;
  748. height: 27px;
  749. line-height: 21px;
  750. font-size: 18px;
  751. color: #333333;
  752. em {
  753. display: inline-block;
  754. width: 8px;
  755. height: 8px;
  756. background-color: #333333;
  757. border-radius: 8px;
  758. }
  759. }
  760. p {
  761. width: 249px;
  762. height: 48px;
  763. line-height: 24px;
  764. padding-left: 14px;
  765. }
  766. }
  767. >li:hover,
  768. >li:hover>h4 {
  769. color: #088f04;
  770. }
  771. >li:hover>h4>em {
  772. background-color: #088f04;
  773. }
  774. }
  775. }
  776. }
  777. // 右侧
  778. .innerRight {
  779. width: 380px;
  780. height: 605px;
  781. // 标题部分
  782. >h3 {
  783. height: 36px;
  784. font-family: Source Han Sans, Source Han Sans;
  785. font-weight: bold;
  786. font-size: 24px;
  787. color: #000000;
  788. line-height: 28px;
  789. text-align: left;
  790. font-style: normal;
  791. text-transform: none;
  792. border-bottom: 1px solid #139602;
  793. >span {
  794. float: right;
  795. width: 56px;
  796. height: 20px;
  797. line-height: 24px;
  798. font-weight: 400;
  799. font-size: 14px;
  800. color: #999999;
  801. font-style: normal;
  802. text-transform: none;
  803. }
  804. }
  805. // 轮播图
  806. .banner {
  807. width: 380px;
  808. height: 214px;
  809. margin-top: 20px;
  810. }
  811. .banner_b_img {
  812. // 图片部分
  813. .photo {
  814. height: 104px;
  815. margin-top: 10px;
  816. display: flex;
  817. }
  818. .photoL,
  819. .photoR {
  820. float: left;
  821. width: 185px;
  822. height: 104px;
  823. position: relative;
  824. img {
  825. width: 185px;
  826. height: 104px;
  827. }
  828. span {
  829. position: absolute;
  830. top: 0;
  831. left: 0;
  832. display: inline-block;
  833. padding-left: 7px;
  834. box-sizing: border-box;
  835. width: 185px;
  836. height: 22px;
  837. background-color: rgba(0, 0, 0, 0.5);
  838. font-weight: 500px;
  839. font-size: 14px;
  840. color: #FFFFFF;
  841. line-height: 22px;
  842. white-space: nowrap;
  843. /* 禁止换行 */
  844. overflow: hidden;
  845. /* 隐藏超出部分 */
  846. text-overflow: ellipsis;
  847. /* 超出部分显示省略号 */
  848. }
  849. }
  850. .photoL {
  851. margin-right: 10px;
  852. }
  853. }
  854. .banner_text_list {
  855. ul {
  856. width: 380px;
  857. height: 186px;
  858. margin-top: 30px;
  859. >li {
  860. a {
  861. height: 22px;
  862. font-size: 16px;
  863. &:hover {
  864. color: #139609;
  865. }
  866. }
  867. height: 22px;
  868. padding-bottom: 16px;
  869. white-space: nowrap;
  870. /* 禁止换行 */
  871. overflow: hidden;
  872. /* 隐藏超出部分 */
  873. text-overflow: ellipsis;
  874. /* 超出部分显示省略号 */
  875. >strong {
  876. display: inline-block;
  877. width: 24px;
  878. height: 24px;
  879. line-height: 24px;
  880. background-color: #cecece;
  881. padding-left: 6px;
  882. box-sizing: border-box;
  883. font-family: Source Han Sans, Source Han Sans;
  884. font-weight: 500;
  885. font-size: 18px;
  886. color: #FFFFFF;
  887. font-style: normal;
  888. text-transform: none;
  889. }
  890. >em {
  891. display: inline-block;
  892. width: 6px;
  893. height: 6px;
  894. border-radius: 10px;
  895. border: 2px solid #8CBA86;
  896. margin-right: 10px;
  897. }
  898. >span {
  899. width: 380px;
  900. height: 22px;
  901. font-family: PingFang SC, PingFang SC;
  902. font-weight: 500;
  903. font-size: 18px;
  904. color: #333333;
  905. line-height: 21px;
  906. text-align: left;
  907. font-style: normal;
  908. text-transform: none;
  909. }
  910. >span:hover {
  911. color: #139609;
  912. }
  913. }
  914. }
  915. }
  916. }
  917. }
  918. //三农科教
  919. .scienceEducation {
  920. height: 600px;
  921. margin-bottom: 76px;
  922. .innerLeft,
  923. .innerRight {
  924. float: left;
  925. }
  926. // 左侧
  927. .innerLeft {
  928. width: 790px;
  929. height: 616px;
  930. margin-right: 21px;
  931. }
  932. // 右侧
  933. .innerRight {
  934. width: 380px;
  935. height: 600px;
  936. // 标题部分
  937. >h3 {
  938. height: 36px;
  939. font-family: Source Han Sans, Source Han Sans;
  940. font-weight: bold;
  941. font-size: 24px;
  942. color: #000000;
  943. line-height: 28px;
  944. text-align: left;
  945. font-style: normal;
  946. text-transform: none;
  947. border-bottom: 1px solid #139602;
  948. >span {
  949. float: right;
  950. width: 56px;
  951. height: 20px;
  952. line-height: 24px;
  953. font-weight: 400;
  954. font-size: 14px;
  955. color: #999999;
  956. font-style: normal;
  957. text-transform: none;
  958. }
  959. }
  960. ul.sannongList {
  961. width: 380px;
  962. height: 186px;
  963. >li {
  964. height: 22px;
  965. padding-top: 16px;
  966. white-space: nowrap;
  967. /* 禁止换行 */
  968. overflow: hidden;
  969. /* 隐藏超出部分 */
  970. text-overflow: ellipsis;
  971. /* 超出部分显示省略号 */
  972. >strong {
  973. display: inline-block;
  974. width: 24px;
  975. height: 24px;
  976. line-height: 24px;
  977. background-color: #cecece;
  978. padding-left: 6px;
  979. box-sizing: border-box;
  980. font-family: Source Han Sans, Source Han Sans;
  981. font-weight: 500;
  982. font-size: 18px;
  983. color: #FFFFFF;
  984. font-style: normal;
  985. text-transform: none;
  986. }
  987. >em {
  988. display: inline-block;
  989. width: 6px;
  990. height: 6px;
  991. border-radius: 10px;
  992. border: 2px solid #8CBA86;
  993. }
  994. >span {
  995. width: 380px;
  996. height: 22px;
  997. font-family: PingFang SC, PingFang SC;
  998. font-weight: 500;
  999. font-size: 18px;
  1000. color: #333333;
  1001. line-height: 21px;
  1002. text-align: left;
  1003. font-style: normal;
  1004. text-transform: none;
  1005. padding-left: 9px;
  1006. }
  1007. >span:hover {
  1008. color: #139609;
  1009. a {
  1010. color: #088f04;
  1011. }
  1012. }
  1013. }
  1014. }
  1015. // 轮播图
  1016. .banner {
  1017. width: 380px;
  1018. height: 214px;
  1019. margin-top: 45px;
  1020. }
  1021. .banner_b_img {
  1022. // 图片部分
  1023. .photo {
  1024. height: 104px;
  1025. margin-top: 10px;
  1026. display: flex;
  1027. }
  1028. .photoL,
  1029. .photoR {
  1030. float: left;
  1031. width: 185px;
  1032. height: 104px;
  1033. position: relative;
  1034. img {
  1035. width: 185px;
  1036. height: 104px;
  1037. }
  1038. span {
  1039. position: absolute;
  1040. top: 0;
  1041. left: 0;
  1042. display: inline-block;
  1043. padding-left: 7px;
  1044. box-sizing: border-box;
  1045. width: 185px;
  1046. height: 22px;
  1047. background-color: rgba(0, 0, 0, 0.5);
  1048. font-weight: 500px;
  1049. font-size: 14px;
  1050. color: #FFFFFF;
  1051. line-height: 22px;
  1052. white-space: nowrap;
  1053. /* 禁止换行 */
  1054. overflow: hidden;
  1055. /* 隐藏超出部分 */
  1056. text-overflow: ellipsis;
  1057. /* 超出部分显示省略号 */
  1058. a {
  1059. color: #fff;
  1060. }
  1061. }
  1062. }
  1063. .photoL {
  1064. margin-right: 10px;
  1065. }
  1066. }
  1067. }
  1068. }
  1069. // 标题
  1070. .scienceTitle {
  1071. height: 37px;
  1072. h5 {
  1073. float: left;
  1074. width: 96px;
  1075. height: 34px;
  1076. font-family: PingFang SC, PingFang SC;
  1077. font-weight: 600;
  1078. font-size: 24px;
  1079. color: #000000;
  1080. line-height: 28px;
  1081. text-align: left;
  1082. font-style: normal;
  1083. text-transform: none;
  1084. margin-right: 20px;
  1085. }
  1086. >p {
  1087. float: left;
  1088. height: 37px;
  1089. line-height: 30px;
  1090. display: flex;
  1091. >span {
  1092. display: inline-block;
  1093. //height: 20px;
  1094. line-height: 20px;
  1095. text-align: center;
  1096. margin: 4px 0px 3px;
  1097. padding: 0 20px;
  1098. //border-right: 1px solid #ccc;
  1099. font-weight: 500;
  1100. font-size: 20px;
  1101. cursor: pointer;
  1102. padding-bottom: 11px;
  1103. // >a {
  1104. // display: inline-block;
  1105. // padding-bottom: 11px;
  1106. // font-family: PingFang SC, PingFang SC;
  1107. // font-weight: 500;
  1108. // font-size: 20px;
  1109. // color: #666666;
  1110. // line-height: 20px;
  1111. // font-style: normal;
  1112. // text-transform: none;
  1113. // box-sizing: border-box;
  1114. // }
  1115. .current {
  1116. color: #139602;
  1117. border-bottom: 1px solid #139602;
  1118. }
  1119. }
  1120. >span:nth-child(4) {
  1121. border-right: none;
  1122. }
  1123. >span:hover>a {
  1124. color: #139602;
  1125. border-bottom: 1px solid #139602;
  1126. }
  1127. }
  1128. }
  1129. .box {
  1130. width: 790px;
  1131. height: 570px;
  1132. position: relative;
  1133. overflow: hidden;
  1134. }
  1135. .fade-in {
  1136. animation: fadeIn 1s ease-in-out;
  1137. }
  1138. .fade-enter-from,
  1139. .fade-leave-to {
  1140. opacity: 0;
  1141. }
  1142. .fade-enter-to,
  1143. .fade-leave-from {
  1144. opacity: 1;
  1145. }
  1146. .fade-enter-active,
  1147. .fade-leave-active {
  1148. transition: opacity 1s ease;
  1149. }
  1150. .scienceListBox {
  1151. width: 3160px;
  1152. height: 570px;
  1153. position: absolute;
  1154. top: 0;
  1155. left: 0;
  1156. transition: all 3s linear 0;
  1157. }
  1158. // 标题下列表
  1159. .scienceList {
  1160. width: 790px;
  1161. height: 570px;
  1162. float: left;
  1163. margin-top: 17px;
  1164. >li {
  1165. width: 250px;
  1166. height: 276px;
  1167. float: left;
  1168. margin-right: 20px;
  1169. position: relative;
  1170. img {
  1171. width: 250px;
  1172. height: 220px;
  1173. border-top-left-radius: 40px;
  1174. border-bottom-right-radius: 40px;
  1175. }
  1176. >p {
  1177. height: 50px;
  1178. width: 248px;
  1179. font-family: PingFang SC, PingFang SC;
  1180. font-weight: 600;
  1181. font-size: 18px;
  1182. color: #333333;
  1183. line-height: 24px;
  1184. text-align: left;
  1185. font-style: normal;
  1186. text-transform: none;
  1187. display: -webkit-box;
  1188. -webkit-box-orient: vertical;
  1189. -webkit-line-clamp: 2;
  1190. /* 限制显示的行数 */
  1191. overflow: hidden;
  1192. text-overflow: ellipsis;
  1193. }
  1194. // >p:hover {
  1195. // color: #139602;
  1196. // }
  1197. }
  1198. >li:hover {
  1199. color: #088f04;
  1200. >p:hover {
  1201. a {
  1202. color: #088f04;
  1203. }
  1204. // color: #139602;
  1205. }
  1206. }
  1207. >li:nth-child(3),
  1208. >li:nth-child(6) {
  1209. margin-right: 0;
  1210. }
  1211. >li::before {
  1212. content: "";
  1213. display: inline-block;
  1214. width: 40px;
  1215. height: 20px;
  1216. position: absolute;
  1217. top: 0;
  1218. right: 0;
  1219. background-image: url("../../public/images/Component 209.png");
  1220. }
  1221. }
  1222. .active {
  1223. border-bottom: 3px solid #139602;
  1224. height: 36px;
  1225. display: inline-block;
  1226. }
  1227. .noSelect {
  1228. border-bottom: 3px solid #fff;
  1229. height: 36px;
  1230. display: inline-block;
  1231. }