list.less 44 KB

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