| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991 |
- body {
- color: #000;
- }
- a {
- color: #000;
- }
- a:hover {
- color: #be6320;
- }
- .header {
- /* background-color: ; */
- background: #bf6320 url("/main/dist/websites/images/xyfm/header-bg.png") no-repeat;
- background-size: cover;
- background-position: center;
- }
- .gallery {
- display: flex;
- justify-content: space-around;
- align-items: center;
- }
- .thumbnail {
- width: 100px;
- /* 初始大小 */
- transition: transform 0.3s ease;
- /* 平滑过渡效果 */
- }
- .thumbnail:hover {
- transform: scale(1.5);
- /* 鼠标经过时放大到1.5倍 */
- }
- .content-list-wrap,
- .banner-list {
- margin-bottom: 20px;
- }
- .banner-list,
- .banner-list img {
- width: 100%;
- height: 150px;
- object-fit: cover;
- }
- .swiper-wrapper {
- height: auto;
- }
- .banner .slide-content {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- display: flex;
- justify-content: center;
- align-items: flex-start;
- padding-left: 10%;
- flex-direction: column;
- color: #fff;
- /* 文本颜色 */
- /* opacity: 0; */
- z-index: 1111;
- /* background-color: rgba(132, 132, 132, 0.8); */
- /* transition: opacity 0.3s ease; */
- /* backdrop-filter: blur(5px); */
- }
- .banner .slide-content h1 {
- font-size: 40px;
- font-weight: normal;
- margin-bottom: 10px;
- }
- .banner .slide-content h2 {
- font-size: 30px;
- color: #fff;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .banner .swiper-slide:hover .slide-content {
- opacity: 1;
- /* 鼠标移入时显示内容 */
- }
- .mobile-nav-icon {
- top: 50%;
- }
- .header-top-bg {
- width: 100%;
- height: 14px;
- }
- .header-top .header-top-left {
- /* width: 100%; */
- padding: 0 30px;
- float: left;
- }
- .header-top .header-top-right {
- /* width: 100%; */
- padding: 0 30px;
- float: right;
- }
- .header-top-left span:last-child,
- .header-top-right span:last-child {
- border: none;
- }
- .header-top div span {
- padding: 0 10px;
- color: white;
- border-right: 1px solid #fff;
- }
- .header-top div span:first-child {
- padding-left: 0;
- }
- .header-top div span a {
- color: white;
- }
- .header-img {
- clear: both;
- display: flex;
- justify-content: center;
- align-items: center;
- margin-bottom: 10px;
- }
- .header-img .header-img-line {
- width: 1px;
- height: 50px;
- margin: 10px;
- background-color: white;
- }
- .header-img img {
- display: inline-block;
- width: auto;
- height: 70px;
- }
- .header-img .header-img-line {
- width: 1px;
- height: 50px;
- margin: 10px;
- background-color: white;
- }
- .header-img img {
- display: inline-block;
- width: auto;
- height: 70px;
- }
- .swiper-pagination-bullet {
- width: 8%;
- height: 5px;
- border-radius: 3px;
- }
- .swiper-pagination-bullet-active {
- background-color: #be6320;
- }
- /* 导航 */
- .header-nav {
- background-color: transparent;
- display: flex;
- justify-content: center;
- }
- /* .wrap{
- width: 100%;
- } */
- .header-nav>ul {
- /* width: 100%; */
- height: 40px;
- line-height: 40px;
- background-color: transparent;
- display: inline-block;
- }
- .header-nav>ul>li {
- width: 100px;
- float: left;
- display: flex;
- align-items: center;
- height: 40px;
- justify-content: center;
- }
- .header-nav>ul>li a {
- /* line-height: 50px; */
- font-size: 16px;
- }
- .nav-secondLevel {
- top: 40px;
- }
- .header-nav li:last-child {
- background: none;
- }
- .header-nav li:hover a {
- background-color: transparent;
- }
- .header-nav .nav-secondLevel {
- background-color: #c76722;
- }
- .header-nav .nav-secondLevel li a {
- border-color: #a3541c;
- background-color: #c76722;
- }
- .header-nav .nav-secondLevel li a:hover {
- background-color: #a3541c;
- }
- .header-nav .nav-threeLevel li a:hover {
- background-color: #a3541c;
- }
- .header-nav li a {
- position: relative;
- font-weight: normal;
- }
- .header-nav a i {
- width: 0;
- height: 0;
- border: 6px solid transparent;
- border-bottom-color: #fff;
- position: absolute;
- bottom: 0;
- left: 50%;
- transform: translateX(-50%);
- opacity: 0;
- }
- .header-nav li:hover a i {
- opacity: 1;
- }
- /* 主体 */
- .content {
- /* margin-top: 15px; */
- }
- /* 遮罩 */
- .swiper-shade {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: -100%;
- background-color: #000;
- opacity: 0.6;
- z-index: 2;
- }
- .swiper-shade-right {
- left: 100%;
- }
- #video .swiper-container {
- overflow: inherit;
- }
- #video .swiper-pagination-bullet {
- width: 12px;
- height: 12px;
- }
- #video .swiper-pagination-bullet-active {
- color: #fff;
- background: #ff3300;
- display: none;
- }
- #video .swiper-container-horizontal>.swiper-pagination-bullets {
- text-align: right;
- left: -8px;
- }
- #video .swiper-slide {
- position: relative;
- }
- #video .swiper-slide img {
- display: block;
- width: 100%;
- }
- #video .swiper-slide .swiper-title {
- position: absolute;
- left: 0;
- bottom: 0;
- height: 38px;
- line-height: 38px;
- background-color: rgba(0, 0, 0, 0.6);
- color: #fff;
- padding: 0 125px 0 10px;
- box-sizing: border-box;
- width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .swiper-slide img {
- display: block;
- width: 100%;
- }
- .content-row {
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- }
- .wrap {
- width: 1600px;
- clear: both;
- display: flex;
- justify-content: center;
- margin: 20px auto;
- }
- .content-wrap h2 {
- margin-bottom: 20px;
- display: flex;
- justify-content: center;
- }
- .content-wrap h2>div {
- width: 200px;
- height: 75px;
- line-height: 50px;
- /* margin-bottom: 30px; */
- display: inline-block;
- color: #000;
- font-size: 30px;
- font-weight: bold;
- text-align: center;
- /* border: 2px solid #be6320; */
- display: flex;
- align-items: center;
- justify-content: center;
- background: url(/main/dist/websites/images/xyfm/title.png) no-repeat;
- background-size: 100% 100%;
- }
- .content-item {
- width: 100%;
- box-sizing: border-box;
- float: left;
- }
- .content-item-border {
- border: 5px solid #be6320;
- }
- .content-item-swiper {
- width: 100%;
- }
- .part1 {
- width: 100%;
- display: flex;
- justify-content: center;
- margin: 2rem 0;
- }
- .part1 a {
- display: flex;
- align-items: center;
- flex-direction: column;
- margin: 0 1rem;
- color: #be6320;
- }
- .part1 a h2{
- margin-top: 1rem;
- }
- .part2 {
- position: relative;
- width: 100%;
- height: 700px;
- margin: 0 auto;
- overflow: hidden;
- }
- .part2-ul {
- display: flex;
- width: 100%;
- height: 100%;
- }
- .part2-li {
- height: 700px;
- transition: all 0.5s ease-in-out;
- position: relative;
- cursor: pointer;
- }
- .part2-img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .part2-arrow-left {
- position: absolute;
- bottom: 10%;
- right: 10%;
- font-size: 30px;
- /* color: white; */
- cursor: pointer;
- z-index: 10;
- width: 50px;
- height: 50px;
-
- background: url(/main/dist/websites/images/xyfm/left.png) no-repeat;
- background-size: 100%;
- border-radius: 50%;
- text-align: center;
- line-height: 50px;
- }
- /* 信息展示区域 */
- .part2-info {
- position: absolute;
- bottom: 5px;
- left: 5px;
- color: white;
- font-size: 16px;
- padding: 5px;
- z-index: 5;
- }
- .mobile-content-row-six {
- display: none;
- }
- .content-row-six {
- width: 100%;
- background: #e7e8ea;
- }
- .content-row-six div {
- width: 100%;
- }
- .content-row-six h2 {
- width: 1600px;
- margin: 20px auto;
- }
- .content-row-six .right span {
- background: #e7e8ea !important;
- }
- .content-row-six .xyfc-swiper-container {
- /* width: 1600px; */
- margin: 40px auto;
- overflow: hidden;
- /* display: flex; */
- }
- .xyfc-swiper-container .swiper-slide:first-child {
- margin-left: 50px;
- }
- .content-row-six .swiper-slide img {
- width: 100%;
- }
- .content-row-six .swiper-slide p {
- color: #b6b6b6;
- }
- .content-row-six .swiper-slide p:first-child {
- font-size: 18px;
- /* padding: 30px 20px 5px 20px; */
- color: #000;
- margin: 30px 0 10px;
- font-weight: bold;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 1;
- overflow: hidden;
- }
- .content-row-six .swiper-slide p:last-child {
- width: 50%;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 4;
- overflow: hidden;
- }
- /* 视频轮播 */
- .video-swiper-container {
- width: 100%;
- height: 500px;
- position: relative;
- overflow: hidden;
- margin-top: 20px;
- margin-bottom: 20px;
- }
- .video-swiper-wrapper {
- display: flex;
- align-items: center;
- height: 100%;
- }
- .video-swiper-slide {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 1100px !important;
- /* 将宽度从1200px减小到1100px */
- margin-left: 20px;
- /* 给图片添加左右边距 */
- margin-right: 20px;
- }
- .video-swiper-slide img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- .mask-left,
- .mask-right {
- position: absolute;
- top: 0;
- width: calc((100% - 1160px) / 2);
- /* 调整遮罩的宽度以适应图片的宽度 */
- height: 100%;
- background: rgb(255 255 255 / 80%);
- z-index: 1;
- }
- .mask-left {
- left: 0;
- }
- .mask-right {
- right: 0;
- }
- .video-swiper-container .swiper-button-next,
- .video-swiper-container .swiper-button-prev {
- width: 50px;
- height: 50px;
- background-size: cover;
- background-position: center;
- }
- .video-swiper-container .swiper-button-next::after,
- .video-swiper-container .swiper-button-prev::after {
- content: " ";
- }
- .video-swiper-container .swiper-button-prev {
- background-image: url("/main/dist/websites/images/jy/left.png");
- left: 260px;
- }
- .video-swiper-container .swiper-button-next {
- background-image: url("/main/dist/websites/images/jy/left.png");
- transform: rotate(180deg);
- right: 260px;
- }
- .video-slide-content {
- position: absolute;
- right: 10%;
- bottom: 0;
- display: flex;
- justify-content: flex-start;
- align-items: flex-start;
- flex-direction: column;
- color: #fff;
- width: 30%;
- height: 75%;
- background: #be6320;
- z-index: 1111;
- padding: 5% 3%;
- }
- .video-slide-content h1 {
- /* font-size: 24px; */
- margin: 0 3% 10%;
- text-align: center;
- padding: 0 4% 10% 4%;
- border-bottom: 1px solid #fff;
- line-height: 40px;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- }
- .video-slide-content p {
- font-size: 16px;
- line-height: 1.8rem;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 5;
- overflow: hidden;
- }
- .content-wrap a:hover .list-time {
- color: #be6320;
- }
- .content-tow-lines {
- flex-grow: 2;
- }
- .content-tow-lines ul {
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- }
- .content-tow-lines li {
- width: 48%;
- overflow: hidden;
- }
- /* 列表页 */
- .content-part {
- width: 100%;
- }
- .content-left {
- margin-top: 20px;
- }
- .content-left h2 {
- background: #be6320;
- }
- .content-list-wrap {
- width: 95%;
- border: 1px solid #be6320;
- margin: 20px auto;
- }
- .crumbs {
- background-color: #be6320;
- color: #fff;
- }
- .crumbs a {
- color: #fff;
- }
- /* 目录页 */
- .catalog-title {
- border-color: #be6320;
- }
- /* 底部 */
- .footer {
- padding-top: 5px;
- background-color: #be6320;
- }
- .footer-logo {
- margin-top: 30px;
- width: 100%;
- display: flex;
- justify-content: center;
- }
- .footer-logo img {
- width: 120px;
- height: 120px;
- }
- .footer-logo img:first-child {
- margin-right: 50px;
- }
- .footer-mesg {
- background-color: transparent;
- /* display: flex;
- justify-content: space-between; */
- padding: 10px 0;
- width: 98%;
- margin: 0 auto;
- }
- .footer-mesg>div {
- width: 33%;
- /* height: 100%; */
- /* display: flex; */
- padding-top: 10px;
- padding-left: 50px;
- text-align: left;
- justify-content: space-between;
- flex-direction: column;
- border-right: 1px solid #fff;
- }
- .footer-link {
- background-color: #c1d6e3;
- line-height: 36px;
- }
- .footer-link ul {
- display: inline-block;
- }
- .footer-link ul li {
- display: inline-block;
- margin-right: 15px;
- }
- .mobile-nav-icon span {
- background-color: #fff;
- }
- .mobile-header-nav>ul {
- background-color: #be6320;
- overflow: unset !important;
- }
- .mobile-header-nav>ul>li {
- background-color: #be6320;
- }
- .mobile-header-nav li a {
- border-color: #be6320;
- }
- .mobile-header-nav .nav-secondLevel {
- background-color: #a3541c;
- }
- .mobile-header-nav .nav-threeLevel {
- background-color: #a3541c;
- }
- @media screen and (max-width: 1600px) {
- .content-row-six h2 {
- width: 100%;
- }
- .part1 > a > img:nth-child(2){
- width: 100%;
- }
- .wrap {
- width: 1200px;
- }
- .content-row-six h2 {
- width: 1200px;
- }
- }
- /* 响应式 */
- @media screen and (max-width: 1315px) {
- .mobile-nav-icon,
- .mobile-header-nav {
- display: none;
- }
- .header-nav li {
- width: 80px;
- }
- .banner .slide-content p {
- margin-top: 20px;
- width: 50%;
- }
- .wrap {
- width: 960px;
- }
- .content-row-six h2 {
- width: 960px;
- }
- }
- @media screen and (max-width: 1060px) {
- .header {
- position: relative;
- }
- .mobile-nav-icon,
- .mobile-header-nav {
- display: block;
- }
- .header-nav {
- display: none;
- }
- .header-top-left,
- .header-top-right {
- display: none;
- }
- .banner .slide-content p {
- margin-top: 20px;
- width: 50%;
- }
- .wrap {
- width: 768px;
- }
- .content-row-six h2 {
- width: 768px;
- }
- .video-swiper-slide {
- width: 100% !important;
- }
- .video-swiper-container .swiper-button-prev {
- left: 20px;
- }
- .video-swiper-container .swiper-button-next {
- right: 20px;
- }
- .xyfc-swiper-container .swiper-slide {
- width: 300px !important;
- }
- }
- @media screen and (max-width: 768px) {
- .banner .slide-content p {
- margin-top: 10px;
- width: 80%;
- }
- .part1{
- flex-direction: column;
- gap: 1rem;
- }
- .part2,.part2-li{
- height: 500px;
- }
-
- .content-row-six h2,
- .wrap {
- width: 95%;
- }
- .video-swiper-container {
- height: 350px;
- }
- .video-slide-content{
- width: 50%;
- padding: 3%;
- }
- .video-slide-content h1{
- font-size: 24px;
- -webkit-line-clamp: 1;
- margin: 0 0 3%;
- padding: 0 0 3%;
- }
- .video-slide-content p{
- -webkit-line-clamp: 4;
- line-height: 1.2rem;
- }
- .pc-content-row-six {
- display: none;
- }
- .mobile-content-row-six {
- display: flex;
- }
- .xyfc-swiper-container-mobile {
- padding-bottom: 20px;
- }
- .xyfc-swiper-container-mobile .swiper-slide {
- width: 200px !important;
- }
- .xyfc-swiper-container-mobile .swiper-slide:first-child {
- margin-left: 20px;
- }
- }
- @media screen and (max-width: 640px) {
- .header-img img {
- display: inline-block;
- width: auto;
- height: 40px;
- margin-right: 35px;
- }
- .content {
- width: 100%;
- margin: 0 !important;
- }
- .content-part {
- padding: 0 10px;
- }
- .banner .slide-content p {
- line-height: 14px;
- font-size: 12px;
- }
- .video-swiper-container {
- height: 200px;
- }
- .xyfc-swiper-container-mobile {
- width: auto !important;
- }
- .content-row-six .swiper-slide p:last-child {
- width: 70%;
- }
- }
|