.swiper-banner-index { height: calc(100vh - 1.8rem); background-color: #f7f3f0; } .swiper-banner-index .swiper-side { position: absolute; z-index: 2; left: 1.04rem; top: 0.87rem; display: flex; flex-direction: column; align-items: center; } .swiper-banner-index .swiper-button { width: 0.57rem; height: 0.57rem; overflow: hidden; cursor: pointer; } .swiper-banner-index .swiper-button.swiper-button-disabled { opacity: 0.6; cursor: not-allowed; } .swiper-banner-index .swiper-button img { width: 100%; } .swiper-banner-index .swiper-button.prev img { transform: rotate(180deg); } .swiper-banner-index .swiper-page { transform: none; } .swiper-banner-index .swiper-page .swiper-pagination-bullet { display: block; margin: 0.58rem 0; width: 10px; height: 10px; background-color: #c9c9c9; opacity: 1; } .swiper-banner-index .swiper-page .swiper-pagination-bullet.swiper-pagination-bullet-active { background: linear-gradient(90deg, #598c00 0%, #568c05 14%, #4e8b13 30%, #41892b 47%, #2f864c 65%, #188375 84%, #0080a0 100%); } .swiper-banner-index .swiper-slide { position: relative; } .swiper-banner-index .swiper-slide .banner { position: absolute; right: 0; top: 0; height: 100%; width: 0; z-index: 0; transition: all 0.8s ease; opacity: 0; overflow: hidden; text-align: right } .swiper-banner-index .swiper-slide .banner img { max-width: 15.16rem; } .swiper-banner-index .swiper-slide.index_page_cur .banner { width: 15.16rem; opacity: 1; } .swiper-banner-index .swiper-slide.index_page_leave .banner { width: 0; opacity: 0; } .swiper-banner-index .swiper-slide { display: flex; /* padding: 0 1.6rem 0; */ padding: 1.76rem 2.06rem 0; } .swiper-banner-index .swiper-slide .words { position: relative; z-index: 2; } .swiper-banner-index .swiper-slide .h2 { /* margin-top: 0.16rem; */ font-size: 0.27rem; line-height: 0.5rem; font-weight: 600; } .swiper-banner-index .swiper-slide ul { margin-top: 0.54rem; } .swiper-banner-index .swiper-slide ul li { font-size: 0.18rem; line-height: 0.36rem; padding:0; font-weight: 600; /*text-transform: uppercase;*/ } .swiper-banner-index .swiper-slide .words .beiming { margin-bottom: 0.14rem; width: 2.82rem; } .swiper-banner-index .swiper-slide .words .h1 { font-size: 0.48rem; font-weight: 600; margin-bottom: 0.4rem; } .swiper-banner-index .swiper-slide .words .beiming, .swiper-banner-index .swiper-slide .words .h1, .swiper-banner-index .swiper-slide .words .h2, .swiper-banner-index .swiper-slide ul li { opacity: 0; pointer-events: none; -webkit-transform: translatey(2.083333vw); transform: translatey(2.083333vw); pointer-events: auto; -webkit-transition: all .8s ease; transition: all .8s ease; } .swiper-banner-index .swiper-slide.index_page_cur .words .h1, .swiper-banner-index .swiper-slide.index_page_cur .words .beiming { -webkit-transform: none; transform: none; opacity: 1; -webkit-transition-delay: 300ms; transition-delay: 300ms; } .swiper-banner-index .swiper-slide.index_page_cur .words .h2 { -webkit-transform: none; transform: none; opacity: 1; -webkit-transition-delay: 400ms; transition-delay: 400ms; } .swiper-banner-index .swiper-slide.index_page_cur ul li { -webkit-transform: none; transform: none; opacity: 1; -webkit-transition-delay: 500ms; transition-delay: 500ms; } .swiper-banner-index .swiper-slide.index_page_leave .words .h1, .swiper-banner-index .swiper-slide.index_page_leave .words .beiming, .swiper-banner-index .swiper-slide.index_page_leave .words .h2, .swiper-banner-index .swiper-slide.index_page_leave .words ul li { opacity: 0; pointer-events: none; -webkit-transform: translatey(-2.083333vw); transform: translatey(-2.083333vw); } @media screen and (min-width: 1920px) and (max-width: 2600px) { .swiper-banner-index .swiper-slide { display: flex; /* padding: 0 1.6rem 0; */ padding: 1.76rem 1.5rem 0; } .swiper-banner-index .swiper-slide .words .h1 { font-size: 0.45rem; font-weight: 600; margin-bottom: 0.4rem; } } @media screen and (min-width: 1860px) { .swiper-banner-index .swiper-slide .words { /* zoom: 1.4; */ } .swiper-banner-index { height: calc(100vh - 128px); } .swiper-banner-index .swiper-slide .banner img { width: auto; height: 100%; } } @media screen and (max-width: 1366px) { .swiper-banner-index .swiper-slide .banner img { height: 100%; } .swiper-index-news, .index-five .container { zoom: 0.9; } } @media screen and (min-width: 1380px) and (max-width: 1700px) { .swiper-banner-index .swiper-slide { display: flex; /* padding: 0 1.6rem 0; */ padding: 1.76rem 1.5rem 0; } .swiper-banner-index .swiper-slide .words .h1 { font-size: 0.45rem; font-weight: 600; margin-bottom: 0.4rem; } } .swiper-index-news { height: 100%; background-color: rgba(214, 128, 30, 0.05); display: flex; flex-direction: column; justify-content: center; } .swiper-index-news .swiper-box { position: relative; width: 16.29rem; margin: 0.86rem auto 0; } .swiper-index-news .swiper-box .swiper-button { position: absolute; top: 50%; transform: translatey(-50%); width: 0.26rem; height: 0.52rem; background-image: ; background-size: cover; cursor: pointer; } .swiper-index-news .swiper-box .swiper-button.prev { right: calc(100% 0.42rem); } .swiper-index-news .swiper-box .swiper-button.next { left: calc(100% 0.42rem); transform: translatey(-50%) rotate(180deg); } .swiper-index-news .swiper-box .swiper-button.swiper-button-disabled { cursor: not-allowed; opacity: 0.6; } .swiper-index-news .swiper-slide { padding: 0 0.2rem; box-sizing: border-box; } .swiper-index-news .swiper-slide .cover { position: relative; height: 3.29rem; overflow: hidden; } .swiper-index-news .swiper-slide .cover img { position: relative; z-index: 0; height: 100%; } .swiper-index-news .swiper-slide .cover:after { position: absolute; content: ""; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; transition: all .4s ease-in-out; background-color: rgba(0, 0, 0, 0.4); } .swiper-index-news .swiper-slide.on .cover:after { background-color: rgba(0, 0, 0, 0) } .swiper-index-news .swiper-slide .infos { height: 2.34rem; box-sizing: border-box; padding: 0.2rem 0.14rem 0 0.32rem; background-color: #fff; } .swiper-index-news .swiper-slide .infos .title { position: relative; height: 0.56rem; width: 3.96rem; line-clamp: 2; -webkit-line-clamp: 2; } .swiper-index-news .swiper-slide .infos .i-header { position: relative; padding-bottom: 0.24rem; } .swiper-index-news .swiper-slide .infos .i-header:after { position: absolute; bottom: 0; left: 0; width: 0.66rem; height: 0.04rem; background-color: #3680ae; content: ""; } .swiper-index-news .swiper-slide .infos .title .h4 { font-size: 0.18rem; line-height: 0.28rem; color: #333; font-weight: 500; } .swiper-index-news .swiper-slide .infos .date { font-weight: 500; color: #333; text-align: center; } .swiper-index-news .swiper-slide .infos .date .p { font-size: 0.18rem; line-height: 0.28rem; text-align: right; } /* .swiper-index-news .swiper-slide .infos .date .p:nth-child(1) { font-size: 0.30rem; line-height: 0.36rem; } .swiper-index-news .swiper-slide .infos .date .p:nth-child(2) { font-size: 0.20rem; line-height: 0.24rem; } */ .swiper-index-news .swiper-slide .infos .desc { margin-top: 0.26rem; height: 0.72rem; color: #666; } .swiper-index-news .swiper-slide .infos .desc .p { font-size: 0.16rem; line-height: 0.24rem; } .index-five { display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; min-height: 100vh; background-image: url(/uploads/image/gimages/bg-index03.jpg); } .index-five .container { max-width: 17.1rem; margin: 0 auto; } .index-five .item.left { flex-shrink: 0; width: 8.44rem; height: 8.44rem; } .index-five .item { position: relative; overflow: hidden; } .index-five .item .image { position: relative; z-index: 0; width: 100%; } .index-five .item .infos { position: absolute; z-index: 1; top: 0; left: 0; display: flex; flex-direction: column; align-items: flex-start; width: 100%; height: 100%; } .index-five .right { margin-left: 0.22rem; flex: 1; } .index-five .right ul { flex-wrap: wrap; } .index-five .right ul li { margin-top: 0.25rem; } .index-five .right ul li:nth-child(1), .index-five .right ul li:nth-child(2) { margin-top: 0; } .index-five .right .item { width: 4.1rem; height: 4.1rem; } .index-five .item.left .infos { padding: 0.62rem 0 0 0.76rem; } .index-five .item.left .infos .icon { width: 1.36rem } .index-five .item.left .infos .h4 { margin-top: 0.48rem; font-size: 0.76rem; line-height: 0.92rem; font-weight: 400; } .index-five .item.left .infos .h5 { font-family: "sourcehansanscn-light"; margin-top: 0.08rem; font-size: 0.38rem; line-height: 0.46rem; font-weight: 400; } .index-five .item.left .infos .p { margin-top: 0.08rem; width: 3.4rem; font-size: 0.24rem; line-height: 0.38rem; } .index-five .right .infos { justify-content: space-between; box-sizing: border-box; padding: 0.5rem 0 0.12rem 0.28rem; color: #fff; } .index-five .right .infos .icon { max-width: 0.84rem; } .index-five .right .infos .h4 { font-size: 0.46rem; line-height: 0.57rem; font-weight: 400; margin-bottom:0.3rem; } .index-five .right .infos .h5 { font-family: "sourcehansanscn-light"; margin-top: 0.06rem; font-size: 0.29rem; line-height: 0.38rem; height: 0.76rem; font-weight: 400; } @media screen and (max-width: 1020px) { .swiper-banner-index { height: 100vh; } .swiper-banner-index .swiper-side { left: 10px; } .swiper-banner-index .swiper-slide { padding: 0; justify-content: center; } .swiper-index-news .swiper-box { width: 85vw; } .swiper-index-news .swiper-slide .cover { height: auto; } .index-five .container { zoom: 0.615; } } @media screen and (max-width: 840px) { .index-five .container { zoom: 0.5; } } @media screen and (max-width: 768px) { html { font-size: 60px; } .swiper-index-news { padding-left: 10px; padding-right: 10px; } .swiper-index-news .swiper-box { width: 100%; } .swiper-index-news .swiper-slide { padding: 0; background-color: #fff; } .swiper-index-news .swiper-box .swiper-button { display: none; } .index-five { padding: 20px 10px; } .index-five .container { display: block; flex-wrap: wrap; zoom: 0.8; } .index-five .item { width: 100% !important; height: auto !important; } .index-five .right { margin-left: 0; } .index-five .right ul li { margin-top: 0.25rem !important; } .index-five .right .infos .icon { max-width: 100%; } .swiper-slide-five { height: auto !important; } } .slide-footer { height: auto !important; }