xyfm.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998
  1. body {
  2. color: #000;
  3. }
  4. a {
  5. color: #000;
  6. }
  7. a:hover {
  8. color: #be6320;
  9. }
  10. .header {
  11. /* background-color: ; */
  12. background: #bf6320 url("/main/dist/websites/images/xyfm/header-bg.png") no-repeat;
  13. background-size: cover;
  14. background-position: center;
  15. }
  16. .gallery {
  17. display: flex;
  18. justify-content: space-around;
  19. align-items: center;
  20. }
  21. .thumbnail {
  22. width: 100px;
  23. /* 初始大小 */
  24. transition: transform 0.3s ease;
  25. /* 平滑过渡效果 */
  26. }
  27. .thumbnail:hover {
  28. transform: scale(1.5);
  29. /* 鼠标经过时放大到1.5倍 */
  30. }
  31. .content-list-wrap,
  32. .banner-list {
  33. margin-bottom: 20px;
  34. }
  35. .banner-list,
  36. .banner-list img {
  37. width: 100%;
  38. height: 150px;
  39. object-fit: cover;
  40. }
  41. .swiper-wrapper {
  42. height: auto;
  43. }
  44. .banner .slide-content {
  45. position: absolute;
  46. top: 0;
  47. left: 0;
  48. right: 0;
  49. bottom: 0;
  50. display: flex;
  51. justify-content: center;
  52. align-items: flex-start;
  53. padding-left: 10%;
  54. flex-direction: column;
  55. color: #fff;
  56. /* 文本颜色 */
  57. /* opacity: 0; */
  58. z-index: 1111;
  59. /* background-color: rgba(132, 132, 132, 0.8); */
  60. /* transition: opacity 0.3s ease; */
  61. /* backdrop-filter: blur(5px); */
  62. }
  63. .banner .slide-content h1 {
  64. font-size: 40px;
  65. font-weight: normal;
  66. margin-bottom: 10px;
  67. }
  68. .banner .slide-content h2 {
  69. font-size: 30px;
  70. color: #fff;
  71. overflow: hidden;
  72. text-overflow: ellipsis;
  73. white-space: nowrap;
  74. }
  75. .banner .swiper-slide:hover .slide-content {
  76. opacity: 1;
  77. /* 鼠标移入时显示内容 */
  78. }
  79. .mobile-nav-icon {
  80. top: 50%;
  81. }
  82. .header-top-bg {
  83. width: 100%;
  84. height: 14px;
  85. }
  86. .header-top .header-top-left {
  87. /* width: 100%; */
  88. padding: 0 30px;
  89. float: left;
  90. }
  91. .header-top .header-top-right {
  92. /* width: 100%; */
  93. padding: 0 30px;
  94. float: right;
  95. }
  96. .header-top-left span:last-child,
  97. .header-top-right span:last-child {
  98. border: none;
  99. }
  100. .header-top div span {
  101. padding: 0 10px;
  102. color: white;
  103. border-right: 1px solid #fff;
  104. }
  105. .header-top div span:first-child {
  106. padding-left: 0;
  107. }
  108. .header-top div span a {
  109. color: white;
  110. }
  111. .header-img {
  112. clear: both;
  113. display: flex;
  114. justify-content: center;
  115. align-items: center;
  116. margin-bottom: 10px;
  117. }
  118. .header-img .header-img-line {
  119. width: 1px;
  120. height: 50px;
  121. margin: 10px;
  122. background-color: white;
  123. }
  124. .header-img img {
  125. display: inline-block;
  126. width: auto;
  127. height: 70px;
  128. }
  129. .header-img .header-img-line {
  130. width: 1px;
  131. height: 50px;
  132. margin: 10px;
  133. background-color: white;
  134. }
  135. .header-img img {
  136. display: inline-block;
  137. width: auto;
  138. height: 70px;
  139. }
  140. .swiper-pagination-bullet {
  141. width: 8%;
  142. height: 5px;
  143. border-radius: 3px;
  144. }
  145. .swiper-pagination-bullet-active {
  146. background-color: #be6320;
  147. }
  148. /* 导航 */
  149. .header-nav {
  150. background-color: transparent;
  151. display: flex;
  152. justify-content: center;
  153. }
  154. /* .wrap{
  155. width: 100%;
  156. } */
  157. .header-nav>ul {
  158. /* width: 100%; */
  159. height: 40px;
  160. line-height: 40px;
  161. background-color: transparent;
  162. display: inline-block;
  163. }
  164. .header-nav>ul>li {
  165. width: 100px;
  166. float: left;
  167. display: flex;
  168. align-items: center;
  169. height: 40px;
  170. justify-content: center;
  171. }
  172. .header-nav>ul>li a {
  173. /* line-height: 50px; */
  174. font-size: 16px;
  175. }
  176. .nav-secondLevel {
  177. top: 40px;
  178. }
  179. .header-nav li:last-child {
  180. background: none;
  181. }
  182. .header-nav li:hover a {
  183. background-color: transparent;
  184. }
  185. .header-nav .nav-secondLevel {
  186. background-color: #c76722;
  187. }
  188. .header-nav .nav-secondLevel li a {
  189. border-color: #a3541c;
  190. background-color: #c76722;
  191. }
  192. .header-nav .nav-secondLevel li a:hover {
  193. background-color: #a3541c;
  194. }
  195. .header-nav .nav-threeLevel li a:hover {
  196. background-color: #a3541c;
  197. }
  198. .header-nav li a {
  199. position: relative;
  200. font-weight: normal;
  201. }
  202. .header-nav a i {
  203. width: 0;
  204. height: 0;
  205. border: 6px solid transparent;
  206. border-bottom-color: #fff;
  207. position: absolute;
  208. bottom: 0;
  209. left: 50%;
  210. transform: translateX(-50%);
  211. opacity: 0;
  212. }
  213. .header-nav li:hover a i {
  214. opacity: 1;
  215. }
  216. /* 主体 */
  217. .content {
  218. /* margin-top: 15px; */
  219. }
  220. /* 遮罩 */
  221. .swiper-shade {
  222. width: 100%;
  223. height: 100%;
  224. position: absolute;
  225. top: 0;
  226. left: -100%;
  227. background-color: #000;
  228. opacity: 0.6;
  229. z-index: 2;
  230. }
  231. .swiper-shade-right {
  232. left: 100%;
  233. }
  234. #video .swiper-container {
  235. overflow: inherit;
  236. }
  237. #video .swiper-pagination-bullet {
  238. width: 12px;
  239. height: 12px;
  240. }
  241. #video .swiper-pagination-bullet-active {
  242. color: #fff;
  243. background: #ff3300;
  244. display: none;
  245. }
  246. #video .swiper-container-horizontal>.swiper-pagination-bullets {
  247. text-align: right;
  248. left: -8px;
  249. }
  250. #video .swiper-slide {
  251. position: relative;
  252. }
  253. #video .swiper-slide img {
  254. display: block;
  255. width: 100%;
  256. }
  257. #video .swiper-slide .swiper-title {
  258. position: absolute;
  259. left: 0;
  260. bottom: 0;
  261. height: 38px;
  262. line-height: 38px;
  263. background-color: rgba(0, 0, 0, 0.6);
  264. color: #fff;
  265. padding: 0 125px 0 10px;
  266. box-sizing: border-box;
  267. width: 100%;
  268. overflow: hidden;
  269. text-overflow: ellipsis;
  270. white-space: nowrap;
  271. }
  272. .swiper-slide img {
  273. display: block;
  274. width: 100%;
  275. }
  276. .content-row {
  277. display: flex;
  278. justify-content: space-between;
  279. flex-wrap: wrap;
  280. }
  281. .wrap {
  282. width: 1600px;
  283. clear: both;
  284. display: flex;
  285. justify-content: center;
  286. margin: 20px auto;
  287. }
  288. .content-wrap h2 {
  289. margin-bottom: 20px;
  290. display: flex;
  291. justify-content: center;
  292. }
  293. .content-wrap h2>div {
  294. width: 200px;
  295. height: 75px;
  296. line-height: 50px;
  297. /* margin-bottom: 30px; */
  298. display: inline-block;
  299. color: #000;
  300. font-size: 30px;
  301. font-weight: bold;
  302. text-align: center;
  303. /* border: 2px solid #be6320; */
  304. display: flex;
  305. align-items: center;
  306. justify-content: center;
  307. background: url(/main/dist/websites/images/xyfm/title.png) no-repeat;
  308. background-size: 100% 100%;
  309. }
  310. .content-item {
  311. width: 100%;
  312. box-sizing: border-box;
  313. float: left;
  314. }
  315. .content-item-border {
  316. border: 5px solid #be6320;
  317. }
  318. .content-item-swiper {
  319. width: 100%;
  320. }
  321. .part1 {
  322. width: 100%;
  323. display: flex;
  324. justify-content: center;
  325. margin: 2rem 0;
  326. }
  327. .part1 a {
  328. display: flex;
  329. align-items: center;
  330. flex-direction: column;
  331. margin: 0 1rem;
  332. color: #be6320;
  333. }
  334. .part1 a h2{
  335. margin-top: 1rem;
  336. }
  337. .part2 {
  338. position: relative;
  339. width: 100%;
  340. height: 700px;
  341. margin: 0 auto;
  342. overflow: hidden;
  343. }
  344. .part2-ul {
  345. display: flex;
  346. width: 100%;
  347. height: 100%;
  348. }
  349. .part2-li {
  350. height: 700px;
  351. transition: all 0.5s ease-in-out;
  352. position: relative;
  353. cursor: pointer;
  354. }
  355. .part2-img {
  356. width: 100%;
  357. height: 100%;
  358. object-fit: cover;
  359. }
  360. .part2-arrow-left {
  361. position: absolute;
  362. bottom: 10%;
  363. right: 10%;
  364. font-size: 30px;
  365. /* color: white; */
  366. cursor: pointer;
  367. z-index: 10;
  368. width: 50px;
  369. height: 50px;
  370. background: url(/main/dist/websites/images/xyfm/left.png) no-repeat;
  371. background-size: 100%;
  372. border-radius: 50%;
  373. text-align: center;
  374. line-height: 50px;
  375. }
  376. /* 信息展示区域 */
  377. .part2-info {
  378. position: absolute;
  379. bottom: 5px;
  380. left: 5px;
  381. color: white;
  382. font-size: 16px;
  383. padding: 5px;
  384. z-index: 5;
  385. }
  386. .mobile-content-row-six {
  387. display: none;
  388. }
  389. .content-row-six {
  390. width: 100%;
  391. background: #e7e8ea;
  392. }
  393. .content-row-six div {
  394. width: 100%;
  395. }
  396. .content-row-six h2 {
  397. width: 1600px;
  398. margin: 20px auto;
  399. }
  400. .content-row-six .right span {
  401. background: #e7e8ea !important;
  402. }
  403. .content-row-six .xyfc-swiper-container {
  404. /* width: 1600px; */
  405. margin: 40px auto;
  406. overflow: hidden;
  407. /* display: flex; */
  408. }
  409. .xyfc-swiper-container .swiper-slide:first-child {
  410. margin-left: 50px;
  411. }
  412. .content-row-six .swiper-slide img {
  413. width: 100%;
  414. }
  415. .content-row-six .swiper-slide p {
  416. color: #b6b6b6;
  417. }
  418. .content-row-six .swiper-slide p:first-child {
  419. font-size: 18px;
  420. /* padding: 30px 20px 5px 20px; */
  421. color: #000;
  422. margin: 30px 0 10px;
  423. font-weight: bold;
  424. display: -webkit-box;
  425. -webkit-box-orient: vertical;
  426. -webkit-line-clamp: 1;
  427. overflow: hidden;
  428. }
  429. .content-row-six .swiper-slide p:last-child {
  430. width: 50%;
  431. display: -webkit-box;
  432. -webkit-box-orient: vertical;
  433. -webkit-line-clamp: 4;
  434. overflow: hidden;
  435. }
  436. /* 视频轮播 */
  437. .video-swiper-container {
  438. width: 100%;
  439. height: 500px;
  440. position: relative;
  441. overflow: hidden;
  442. margin-top: 20px;
  443. margin-bottom: 20px;
  444. }
  445. .video-swiper-wrapper {
  446. display: flex;
  447. align-items: center;
  448. height: 100%;
  449. }
  450. .video-swiper-slide {
  451. display: flex;
  452. justify-content: center;
  453. align-items: center;
  454. width: 1100px !important;
  455. /* 将宽度从1200px减小到1100px */
  456. margin-left: 20px;
  457. /* 给图片添加左右边距 */
  458. margin-right: 20px;
  459. }
  460. .video-swiper-slide img {
  461. width: 100%;
  462. height: 100%;
  463. object-fit: cover;
  464. }
  465. .mask-left,
  466. .mask-right {
  467. position: absolute;
  468. top: 0;
  469. width: calc((100% - 1160px) / 2);
  470. /* 调整遮罩的宽度以适应图片的宽度 */
  471. height: 100%;
  472. background: rgb(255 255 255 / 80%);
  473. z-index: 1;
  474. }
  475. .mask-left {
  476. left: 0;
  477. }
  478. .mask-right {
  479. right: 0;
  480. }
  481. .video-swiper-container .swiper-button-next,
  482. .video-swiper-container .swiper-button-prev {
  483. width: 50px;
  484. height: 50px;
  485. background-size: cover;
  486. background-position: center;
  487. }
  488. .video-swiper-container .swiper-button-next::after,
  489. .video-swiper-container .swiper-button-prev::after {
  490. content: " ";
  491. }
  492. .video-swiper-container .swiper-button-prev {
  493. background-image: url("/main/dist/websites/images/jy/left.png");
  494. left: 260px;
  495. }
  496. .video-swiper-container .swiper-button-next {
  497. background-image: url("/main/dist/websites/images/jy/left.png");
  498. transform: rotate(180deg);
  499. right: 260px;
  500. }
  501. .video-slide-content {
  502. position: absolute;
  503. right: 10%;
  504. bottom: 0;
  505. display: flex;
  506. justify-content: flex-start;
  507. align-items: flex-start;
  508. flex-direction: column;
  509. color: #fff;
  510. width: 30%;
  511. height: 75%;
  512. background: #be6320;
  513. z-index: 1111;
  514. padding: 5% 3%;
  515. }
  516. .video-slide-content h1 {
  517. /* font-size: 24px; */
  518. margin: 0 3% 10%;
  519. text-align: center;
  520. padding: 0 4% 10% 4%;
  521. border-bottom: 1px solid #fff;
  522. line-height: 40px;
  523. display: -webkit-box;
  524. -webkit-box-orient: vertical;
  525. -webkit-line-clamp: 2;
  526. overflow: hidden;
  527. }
  528. .video-slide-content p {
  529. font-size: 16px;
  530. line-height: 1.8rem;
  531. display: -webkit-box;
  532. -webkit-box-orient: vertical;
  533. -webkit-line-clamp: 5;
  534. overflow: hidden;
  535. }
  536. .content-wrap a:hover .list-time {
  537. color: #be6320;
  538. }
  539. .content-tow-lines {
  540. flex-grow: 2;
  541. }
  542. .content-tow-lines ul {
  543. display: flex;
  544. justify-content: space-between;
  545. flex-wrap: wrap;
  546. }
  547. .content-tow-lines li {
  548. width: 48%;
  549. overflow: hidden;
  550. }
  551. .content-part {
  552. width: 100%;
  553. }
  554. .content-left {
  555. margin-top: 20px;
  556. }
  557. .content-left h2 {
  558. background: #be6320;
  559. }
  560. /* 列表页 */
  561. .content-list-wrap {
  562. width: 95%;
  563. border: 1px solid #be6320;
  564. margin: 20px auto;
  565. }
  566. .crumbs {
  567. background-color: #be6320;
  568. color: #fff;
  569. }
  570. .crumbs a {
  571. color: #fff;
  572. }
  573. .article-wrap video{
  574. max-width: 100%;
  575. height: 100%;
  576. }
  577. /* 目录页 */
  578. .catalog-title {
  579. border-color: #be6320;
  580. }
  581. /* 底部 */
  582. .footer {
  583. padding-top: 5px;
  584. background-color: #be6320;
  585. }
  586. .footer-logo {
  587. margin-top: 30px;
  588. width: 100%;
  589. display: flex;
  590. justify-content: center;
  591. }
  592. .footer-logo img {
  593. width: 120px;
  594. height: 120px;
  595. margin-right: 50px;
  596. }
  597. .footer-mesg {
  598. background-color: transparent;
  599. /* display: flex;
  600. justify-content: space-between; */
  601. padding: 10px 0;
  602. width: 98%;
  603. margin: 0 auto;
  604. }
  605. .footer-mesg>div {
  606. width: 33%;
  607. /* height: 100%; */
  608. /* display: flex; */
  609. padding-top: 10px;
  610. padding-left: 50px;
  611. text-align: left;
  612. justify-content: space-between;
  613. flex-direction: column;
  614. border-right: 1px solid #fff;
  615. }
  616. .footer-link {
  617. background-color: #c1d6e3;
  618. line-height: 36px;
  619. }
  620. .footer-link ul {
  621. display: inline-block;
  622. }
  623. .footer-link ul li {
  624. display: inline-block;
  625. margin-right: 15px;
  626. }
  627. .mobile-nav-icon span {
  628. background-color: #fff;
  629. }
  630. .mobile-header-nav>ul {
  631. background-color: #be6320;
  632. overflow: unset !important;
  633. }
  634. .mobile-header-nav>ul>li {
  635. background-color: #be6320;
  636. }
  637. .mobile-header-nav li a {
  638. border-color: #be6320;
  639. }
  640. .mobile-header-nav .nav-secondLevel {
  641. background-color: #a3541c;
  642. }
  643. .mobile-header-nav .nav-threeLevel {
  644. background-color: #a3541c;
  645. }
  646. @media screen and (max-width: 1600px) {
  647. .content-row-six h2 {
  648. width: 100%;
  649. }
  650. .part1 > a > img:nth-child(2){
  651. width: 100%;
  652. }
  653. .wrap {
  654. width: 1200px;
  655. }
  656. .content-row-six h2 {
  657. width: 1200px;
  658. }
  659. }
  660. /* 响应式 */
  661. @media screen and (max-width: 1315px) {
  662. .mobile-nav-icon,
  663. .mobile-header-nav {
  664. display: none;
  665. }
  666. .header-nav li {
  667. width: 80px;
  668. }
  669. .banner .slide-content p {
  670. margin-top: 20px;
  671. width: 50%;
  672. }
  673. .wrap {
  674. width: 960px;
  675. }
  676. .content-row-six h2 {
  677. width: 960px;
  678. }
  679. }
  680. @media screen and (max-width: 1060px) {
  681. .header {
  682. position: relative;
  683. }
  684. .mobile-nav-icon,
  685. .mobile-header-nav {
  686. display: block;
  687. }
  688. .header-nav {
  689. display: none;
  690. }
  691. .header-top-left,
  692. .header-top-right {
  693. display: none;
  694. }
  695. .banner .slide-content p {
  696. margin-top: 20px;
  697. width: 50%;
  698. }
  699. .wrap {
  700. width: 768px;
  701. }
  702. .content-row-six h2 {
  703. width: 768px;
  704. }
  705. .video-swiper-slide {
  706. width: 100% !important;
  707. }
  708. .video-swiper-container .swiper-button-prev {
  709. left: 20px;
  710. }
  711. .video-swiper-container .swiper-button-next {
  712. right: 20px;
  713. }
  714. .xyfc-swiper-container .swiper-slide {
  715. width: 300px !important;
  716. }
  717. }
  718. @media screen and (max-width: 768px) {
  719. .banner .slide-content p {
  720. margin-top: 10px;
  721. width: 80%;
  722. }
  723. .part1{
  724. flex-direction: column;
  725. gap: 1rem;
  726. }
  727. .part2,.part2-li{
  728. height: 500px;
  729. }
  730. .content-row-six h2,
  731. .wrap {
  732. width: 95%;
  733. }
  734. .video-swiper-container {
  735. height: 350px;
  736. }
  737. .video-slide-content{
  738. width: 50%;
  739. padding: 3%;
  740. }
  741. .video-slide-content h1{
  742. font-size: 24px;
  743. -webkit-line-clamp: 1;
  744. margin: 0 0 3%;
  745. padding: 0 0 3%;
  746. }
  747. .video-slide-content p{
  748. -webkit-line-clamp: 4;
  749. line-height: 1.2rem;
  750. }
  751. .pc-content-row-six {
  752. display: none;
  753. }
  754. .mobile-content-row-six {
  755. display: flex;
  756. }
  757. .xyfc-swiper-container-mobile {
  758. padding-bottom: 20px;
  759. }
  760. .xyfc-swiper-container-mobile .swiper-slide {
  761. width: 200px !important;
  762. }
  763. .xyfc-swiper-container-mobile .swiper-slide:first-child {
  764. margin-left: 20px;
  765. }
  766. }
  767. @media screen and (max-width: 640px) {
  768. .header-img img {
  769. display: inline-block;
  770. width: auto;
  771. height: 40px;
  772. margin-right: 35px;
  773. }
  774. .content {
  775. width: 100%;
  776. margin: 0 !important;
  777. }
  778. .content-part {
  779. padding: 0 10px;
  780. }
  781. .banner .slide-content p {
  782. line-height: 14px;
  783. font-size: 12px;
  784. }
  785. .video-swiper-container {
  786. height: 200px;
  787. }
  788. .xyfc-swiper-container-mobile {
  789. width: auto !important;
  790. }
  791. .content-row-six .swiper-slide p:last-child {
  792. width: 70%;
  793. }
  794. .footer-logo{
  795. justify-content: space-around;
  796. }
  797. .footer-logo img{
  798. margin: 0;
  799. }
  800. }