You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738
  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. .banner_box{
  19. display: flex;
  20. justify-content: space-between;
  21. margin-bottom: 120px;
  22. .news_banner{
  23. width: 100%;
  24. max-width: 1500px;
  25. position: relative;
  26. img{
  27. width: 100%;
  28. height: 750px;
  29. object-fit: cover;
  30. }
  31. .news_content{
  32. width: 100%;
  33. color: #231F20;
  34. padding: 120px 30px 40px;
  35. box-sizing: border-box;
  36. display: flex;
  37. justify-content: space-between;
  38. .cont1{
  39. font-weight: bold;
  40. font-size: 60px;
  41. color: #231F20;
  42. margin-left: 100px;
  43. font-family: 'MyFont1';
  44. }
  45. .cont2{
  46. width: 640px;
  47. font-size: 20px;
  48. color: #231F20;
  49. margin-right: 110px;
  50. line-height: 40px;
  51. text-align: justify;
  52. }
  53. }
  54. }
  55. }
  56. .tabs_box{
  57. width: 1300px;
  58. margin: 0 auto;
  59. font-weight: 400;
  60. font-size: 24px;
  61. display: flex;
  62. align-items: center;
  63. .tabs_li{
  64. color: #231F20;
  65. margin-right: 80px;
  66. cursor: pointer;
  67. padding: 30px 0;
  68. transition: all .2s;
  69. border-bottom: 2px solid transparent;
  70. position: relative;
  71. &::after{
  72. content: "";
  73. width: 0;
  74. height: 2px;
  75. background: #B81C25;
  76. position: absolute;
  77. left: 0;
  78. bottom: -2px;
  79. right: 0;
  80. margin: auto;
  81. transition: all .4s ease;
  82. }
  83. &:hover{
  84. color: #B81C25;
  85. &::after{
  86. width: 100%;
  87. }
  88. }
  89. }
  90. .tabs_lis{
  91. color: #B81C25;
  92. border-bottom: 2px solid #B81C25;
  93. }
  94. }
  95. }
  96. .news_ul{
  97. width: 100%;
  98. max-width: 1920px;
  99. margin: 0 auto;
  100. background: #F6F6F6;
  101. .news_list{
  102. width: 1300px;
  103. margin: 0 auto;
  104. .news_li{
  105. display: flex;
  106. align-items: center;
  107. justify-content: space-between;
  108. padding: 40px 0;
  109. border-bottom:1px solid #DADADA;
  110. transition: all .2s;
  111. .li_left{
  112. width: 65px;
  113. height: 66px;
  114. border-radius: 8px;
  115. border: 1px solid #A7A5A5;
  116. text-align: center;
  117. font-size: 12px;
  118. padding: 0px 12px 0;
  119. box-sizing: border-box;
  120. .timerData{
  121. font-size: 26px;
  122. color: #b81c25;
  123. border-bottom: 1px solid #b81c25;
  124. padding-bottom: 3px;
  125. margin-bottom: 3px;
  126. line-height: 30px;
  127. padding-top: 4px;
  128. }
  129. }
  130. // .li_left{
  131. // width: 66px;
  132. // height: 66px;
  133. // background: #F6F6F6;
  134. // border: 1px solid #A7A5A5;
  135. // display: flex;
  136. // align-items: center;
  137. // justify-content: center;
  138. // flex-direction: column;
  139. // margin-right: 30px;
  140. // transition: all .5s;
  141. // border-radius: 8px;
  142. // span:nth-child(1){
  143. // font-family: Source Han Sans CN;
  144. // font-weight: 500;
  145. // font-size: 30px;
  146. // color: #B81C25;
  147. // }
  148. // span:nth-child(2){
  149. // font-family: Source Han Sans CN;
  150. // font-weight: 500;
  151. // font-size: 13px;
  152. // color: #231F20;
  153. // position: relative;
  154. // &::after{
  155. // content: '';
  156. // position: absolute;
  157. // top: -1px;
  158. // left: -8%;
  159. // height: 1px;
  160. // width: 120%;
  161. // background-color: #B81C25;
  162. // }
  163. // }
  164. // a{
  165. // cursor: pointer;
  166. // }
  167. // }
  168. .li_cont{
  169. width: calc(100% - 80px);
  170. font-family: Source Han Sans CN;
  171. font-weight: 400;
  172. transition: all .2s;
  173. div:nth-child(1){
  174. font-weight: 500;
  175. font-size: 20px;
  176. color: #231F20;
  177. line-height: 30px;
  178. margin-bottom: 10px;
  179. transition: all .2s;
  180. }
  181. div:nth-child(2){
  182. font-weight: 500;
  183. font-size: 16px;
  184. color: #A7A5A5;
  185. line-height: 30px;
  186. display: -webkit-box; /* 使用 Flexbox 布局 */
  187. -webkit-box-orient: vertical; /* 垂直方向排列 */
  188. -webkit-line-clamp: 1; /* 限制显示的行数,这里是3行 */
  189. overflow: hidden; /* 隐藏超出部分 */
  190. text-align: justify;
  191. }
  192. }
  193. &:hover{
  194. background: #EFEFEF;
  195. .li_cont{
  196. div:nth-child(1){
  197. color: #B81C25;
  198. }
  199. }
  200. }
  201. &:last-child{
  202. border: none;
  203. }
  204. }
  205. }
  206. }
  207. .news_paging{
  208. display: flex;
  209. align-items: center;
  210. justify-content: center;
  211. padding: 100px 0 120px;
  212. background: #F6F6F6;
  213. .previousPage{
  214. width: 40px;
  215. height: 40px;
  216. color: #000000;
  217. display: flex;
  218. align-items: center;
  219. justify-content: center;
  220. border: 1px solid #000000;
  221. margin-right: 20px;
  222. cursor: pointer;
  223. transition: all 0.2s;
  224. span{
  225. font-size: 26px;
  226. transform: rotate(-90deg);
  227. }
  228. &:hover{
  229. background: #B81C25;
  230. border: 1px solid #B81C25;
  231. color: #fff;
  232. }
  233. }
  234. .nextPage{
  235. width: 40px;
  236. height: 40px;
  237. color: #000000;
  238. display: flex;
  239. align-items: center;
  240. justify-content: center;
  241. border: 1px solid #000000;
  242. margin-left: 20px;
  243. cursor: pointer;
  244. transition: all 0.2s;
  245. span{
  246. font-size: 26px;
  247. transform: rotate(90deg);
  248. }
  249. &:hover{
  250. background: #B81C25;
  251. border: 1px solid #B81C25;
  252. color: #fff;
  253. }
  254. }
  255. .pageNum{
  256. min-width: 40px;
  257. height: 40px;
  258. line-height: 40px;
  259. font-family: Source Han Sans CN;
  260. font-size: 18px;
  261. color: #000;
  262. transition: all 0.2s;
  263. padding: 0 5px;
  264. box-sizing: border-box;
  265. cursor: pointer;
  266. text-align: center;
  267. border: 1px solid #DDE2E6;
  268. border-radius: 2px;
  269. &:hover{
  270. background: #B81C25;
  271. border: 1px solid #B81C25;
  272. color: #fff;
  273. }
  274. }
  275. .pageNums{
  276. pointer-events: none;
  277. }
  278. .pageNum+.pageNum{
  279. margin-left: 10px;
  280. }
  281. .pageNumActive{
  282. color: #fff;
  283. background-color: #B81C25;
  284. border: 1px solid #B81C25;
  285. }
  286. .ellipsis{
  287. font-family: Source Han Sans CN;
  288. font-weight: bold;
  289. font-size: 22px;
  290. padding: 10px 15px;
  291. color: #333333;
  292. // cursor: pointer;
  293. transition: all 0.2s;
  294. // &:hover{
  295. // color:#48A038
  296. // }
  297. }
  298. }
  299. .typeCon{
  300. width: 100%;
  301. background: #F6F6F6;
  302. padding-bottom: 250px;
  303. display: none;
  304. .infoul{
  305. width: 100%;
  306. max-width: 1300px;
  307. margin: 0 auto;
  308. .infoLi{
  309. padding: 70px 0;
  310. border-bottom:1px solid #9FA3A5;
  311. width: 100%;
  312. .liTitle{
  313. display: flex;
  314. width: 100%;
  315. justify-content: space-between;
  316. cursor: pointer;
  317. .liTit{
  318. width: calc(100% - 220px);
  319. line-height: 84px;
  320. overflow: hidden;
  321. display: flex;
  322. flex-wrap: wrap;
  323. font-size: 40px;
  324. font-weight: bold;
  325. &>div{
  326. width: 100%;
  327. }
  328. }
  329. .button{
  330. width: 84px;
  331. height: 84px;
  332. display: flex;
  333. align-items: center;
  334. justify-content: center;
  335. background-color: #B2B5B7;
  336. border-radius: 50%;
  337. color: #fff;
  338. cursor: pointer;
  339. transition: all .2s;
  340. position: relative;
  341. transform: scale(1);
  342. &::before{
  343. content: '';
  344. width: 17px;
  345. height: 3px;
  346. background-color: #fff;
  347. z-index: 2;
  348. }
  349. &::after{
  350. content: '';
  351. width: 3px;
  352. height: 17px;
  353. background-color: #fff;
  354. left: 50%;
  355. position: absolute;
  356. top: 50%;
  357. transform: translate(-50%, -50%);
  358. }
  359. .btnjbg{
  360. position: absolute;
  361. bottom: 0px;
  362. left: -1px;
  363. right: 0px;
  364. top: 0px;
  365. background-color: #B81C25;
  366. -webkit-clip-path: circle(0 at 50% 50%);
  367. clip-path: circle(0 at 50% 50%);
  368. transition: -webkit-clip-path .65s cubic-bezier(.19,1,.22,1);
  369. transition: clip-path .65s cubic-bezier(.19,1,.22,1);
  370. transition: clip-path .65s cubic-bezier(.19,1,.22,1), -webkit-clip-path .65s cubic-bezier(.19,1,.22,1);
  371. transition: clip-path .65s cubic-bezier(.19,1,.22,1), -webkit-clip-path .65s cubic-bezier(.19,1,.22,1);
  372. }
  373. }
  374. }
  375. .infoSonLi{
  376. padding-top: 30px;
  377. width: 100%;
  378. height: 0px;
  379. box-sizing: border-box;
  380. overflow: hidden;
  381. border-bottom: 1px dashed #000000;
  382. margin-bottom: 95px;
  383. // transition: all 1s ease-in-out;
  384. &:last-child{
  385. border-bottom: 0px;
  386. margin-bottom: 0px;
  387. }
  388. .h4{
  389. margin-top: 80px;
  390. font-size: 28px;
  391. &:first-child{
  392. margin-top: 0;
  393. color: #0056a7;
  394. }
  395. }
  396. .h5R{
  397. margin-top: 40px;
  398. }
  399. .text{
  400. color: #9fa3a5;
  401. }
  402. .btn2{
  403. margin: 130px 0 140px;
  404. }
  405. }
  406. }
  407. .infoLiShow{
  408. .liTitle{
  409. .button{
  410. // background-color: #0054A7;
  411. &::before{
  412. content: '';
  413. width: 17px;
  414. height: 3px;
  415. background-color: #fff;
  416. }
  417. &::after{
  418. display: none;
  419. }
  420. .btnjbg{
  421. -webkit-clip-path: circle(50% at 50% 50%);
  422. clip-path: circle(50% at 50% 50%);
  423. }
  424. }
  425. }
  426. // @-webkit-keyframes textDown{
  427. // 0%{height: 0%;}
  428. // 100%{height: 100%;}
  429. // }
  430. // @keyframes textDown{
  431. // 0%{height: 0%;}
  432. // 100%{height: 100%;}
  433. // }
  434. // .infoSonLi{
  435. // display: block;
  436. // animation: textDown 1s ease-in-out 0 forwards;
  437. // }
  438. }
  439. }
  440. }
  441. }
  442. a{
  443. display: inline-block;
  444. }
  445. @media screen and (min-width: 801px) and (max-width: 1400px) {
  446. .main{
  447. .content{
  448. width: calc(100% - 60px);
  449. .tabs_box{
  450. width: 100%;
  451. }
  452. .banner_box{
  453. .news_banner{
  454. .news_content{
  455. .cont1{
  456. margin-left: 0;
  457. }
  458. .cont2{
  459. width: 600px;
  460. margin-right: 0;
  461. }
  462. }
  463. }
  464. }
  465. }
  466. .news_ul{
  467. width: 100%;
  468. .news_list{
  469. width: calc(100% - 60px);
  470. .news_li{
  471. .li_left{
  472. width: 12.25vw;
  473. height: 12.25vw;
  474. font-size: 2.5vw;
  475. .timerData{
  476. font-size:3.5vw ;
  477. padding: 1vw 0 2.8vw 0;
  478. }
  479. // width: 10vw;
  480. // height: 10vw;
  481. }
  482. .li_cont{
  483. width: 83%;
  484. }
  485. }
  486. }
  487. }
  488. .typeCon{
  489. .infoul{
  490. .infoLi{
  491. width: 95%;
  492. margin: 0 auto;
  493. }
  494. }
  495. }
  496. }
  497. }
  498. @media screen and (min-width: 1400px) and (max-width: 1600px){
  499. .main{
  500. .content{
  501. width: calc(100% - 60px);
  502. .tabs_box{
  503. width: 100%;
  504. }
  505. }
  506. .news_ul{
  507. width: 100%;
  508. .news_list{
  509. width: calc(100% - 60px);
  510. }
  511. }
  512. .typeCon{
  513. .infoul{
  514. .infoLi{
  515. width: 95%;
  516. margin: 0 auto;
  517. }
  518. }
  519. }
  520. }
  521. }
  522. //移动端样式
  523. @media screen and (max-width:800px) {
  524. .main {
  525. width: 100%;
  526. padding-top: 15vw;
  527. .content{
  528. width: 92vw;
  529. margin: 0 auto;
  530. .banner_box{
  531. display: block;
  532. margin-bottom: 15vw;
  533. .news_banner{
  534. width: 100%;
  535. height: auto;
  536. margin-bottom: 8vw;
  537. img{
  538. width: 100%;
  539. height: 62.75vw;
  540. border-radius: 1.625vw;
  541. object-fit: cover;
  542. }
  543. .news_content{
  544. padding: 3.75vw;
  545. padding-top: 60px;
  546. flex-direction: column;
  547. .cont1{
  548. font-size: 32px;
  549. margin: 0;
  550. margin-bottom: 10.625vw;
  551. width: 100%;
  552. text-align: center;
  553. font-family: 'MyFont1';
  554. }
  555. .cont2{
  556. width: 100%;
  557. line-height: 7.5vw;
  558. // font-family: Source Han Sans CN;
  559. font-size: 16px;
  560. text-align: justify;
  561. // color: #fff;
  562. // margin-top: 2.5vw;
  563. }
  564. // .cont3{
  565. // font-family: Source Han Sans CN;
  566. // font-size: 3.25vw;
  567. // color: #fff;
  568. // }
  569. }
  570. }
  571. }
  572. .tabs_box{
  573. width: 100%;
  574. font-size: 3.75vw;
  575. .tabs_li{
  576. margin-right: 4.9vw;
  577. padding-bottom: 5.625vw;
  578. }
  579. }
  580. }
  581. .news_ul{
  582. width: 100%;
  583. .news_list{
  584. margin-top: 0;
  585. width: 100%;
  586. box-sizing: border-box;
  587. padding: 0 3.75vw;
  588. .news_li{
  589. padding:5.625vw 0;
  590. .li_left{
  591. width: 16.25vw;
  592. height: 16.25vw;
  593. font-size: 3vw;
  594. .timerData{
  595. font-size:4.5vw ;
  596. padding: 2.6vw 0 2.8vw 0;
  597. }
  598. // width: 10vw;
  599. // height: 10vw;
  600. }
  601. .li_cont{
  602. width: 71.5vw;
  603. div:nth-child(1){
  604. font-family: Source Han Sans CN;
  605. font-size: 3.75vw;
  606. color: #282828;
  607. line-height: 7.5vw;
  608. display: -webkit-box; /* 使用 Flexbox 布局 */
  609. -webkit-box-orient: vertical; /* 垂直方向排列 */
  610. -webkit-line-clamp: 1; /* 限制显示的行数,这里是3行 */
  611. overflow: hidden;
  612. font-weight: bold;
  613. }
  614. div:nth-child(2){
  615. width: auto;
  616. height: auto;
  617. overflow: unset;
  618. line-height: 1.5;
  619. font-family: Source Han Sans CN;
  620. font-size: 3.25vw;
  621. color: #A7A5A5;
  622. padding: 0;
  623. display: -webkit-box; /* 使用 Flexbox 布局 */
  624. -webkit-box-orient: vertical; /* 垂直方向排列 */
  625. -webkit-line-clamp: 2; /* 限制显示的行数,这里是3行 */
  626. overflow: hidden;
  627. text-align: justify;
  628. }
  629. }
  630. }
  631. }
  632. }
  633. .news_paging{
  634. padding-top: 16vw;
  635. .previousPage{
  636. width: 40px;
  637. height: 40px;
  638. margin-right: 20px;
  639. box-sizing: border-box;
  640. }
  641. .nextPage{
  642. width: 40px;
  643. height: 40px;
  644. margin-left: 3.25vw;
  645. transition: all 0.2s;
  646. box-sizing: border-box;
  647. }
  648. .pageNum{
  649. font-size: 3.5vw;
  650. }
  651. .ellipsis{
  652. font-size: 3.5vw;
  653. padding: 1.875vw 2.5vw;
  654. // &:hover{
  655. // color:#48A038
  656. // }
  657. }
  658. }
  659. .typeCon{
  660. padding: 0px 4vw 150px;
  661. box-sizing: border-box;
  662. .infoul{
  663. .infoLi{
  664. padding: 40px 0;
  665. .liTitle{
  666. align-items: center;
  667. .liTit{
  668. height: auto;
  669. line-height: 40px;
  670. width: calc(100% - 60px);
  671. overflow: initial;
  672. font-size: 24px;
  673. }
  674. .button{
  675. width: 40px;
  676. height: 40px;
  677. left: 0px;
  678. .btnjbg{
  679. left: 0px;
  680. }
  681. &::before{
  682. content: '';
  683. width: 8px;
  684. height: 2px;
  685. }
  686. &::after{
  687. content: '';
  688. width: 2px;
  689. height: 8px;
  690. }
  691. }
  692. }
  693. .infoSonLi{
  694. margin-bottom: 75px;
  695. padding-top: 0px;
  696. transition: padding 0.5s ease-in-out;
  697. .text{
  698. margin-bottom: 0px;
  699. }
  700. }
  701. }
  702. .infoLiShow{
  703. .infoSonLi{
  704. padding-top: 30px;
  705. }
  706. .liTitle .btn .btnjbg{
  707. -webkit-clip-path: circle(19px at 20px 20px);
  708. clip-path: circle(19px at 20px 20px);
  709. }
  710. }
  711. }
  712. }
  713. }
  714. }