class.less 40 KB

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