Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

index.less 43KB

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