@media screen and (max-width: 1360px){ body .about-banner{ height: 8rem; } body .about-content { width: 100%; padding: 0 1rem; box-sizing: border-box; } body .about-content-title { width: 100%; display: flex; margin-top: 8rem; flex-direction: column; } body .about-content-title .title { color: #000000; font-size: 1.5rem; z-index: 1; margin-top: -4.5rem; } body .about-content-title .bg { color: #d1ebf5; font-size: 4rem; margin-top: -4rem; font-weight: bold; } body .about-content-middle { flex-direction: column; margin-top: 1rem; } body .about-content-middle-left{ margin: 0; margin-bottom: 2rem; } body .about-content-middle-left div{ font-size: 1rem; line-height: 2rem; margin-bottom: 1.5rem; } body .about-content-middle-right { /* display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; grid-row-gap: 1rem; grid-column-gap: 1rem; */ display: flex; flex-wrap: wrap; justify-content: space-between; width: 100%; } body .about-content-middle-right div{ padding: 1.5rem 0; box-sizing: border-box; width: 13rem; height: 10rem; margin-bottom: 2rem; margin-right: 0; } body .about-content-middle-right div:nth-child(2n){ margin-right: 0; } body .about-content-middle-right div span:first-child { font-size: 2rem; color: #0084ce; } body .about-content-middle-right div span:nth-child(2) { color: #0084ce; font-size: 1.5rem; font-weight: bold; margin: .5rem 0; } body .about-content-middle-right div span:last-child { color: #000000; font-size: 1rem; width: 70%; text-align: center; } body .about-content-rotation { margin: 3rem 0; margin-bottom: 2rem; } body .swiper-container .swiper-pagination span{ width: .5rem; height: .5rem; border: solid 1px #0084ce; background-color: #fff; opacity: 1; } body .about-rotation-swiper { width: 100%; margin-bottom: 4rem; position: relative; } body .about-rotation-swiper div{ position: absolute; width: 100%; bottom: 0; left: 0; height: 3rem; background-color: rgba(0, 0, 0, .5); text-align: center; line-height: 3rem; color: #ffffff; font-size: 1.2rem; } body .about-rotation-swiper img{ width: 100%; display: block; } } .about-content { width: 1360px; margin: 0 auto; display: flex; flex-direction: column; padding:0 20px; box-sizing: border-box; } .about-banner{ width: 100%; height: 320px; background-image: url('../../images/banner-3.png'); background-position: center; background-size: cover; background-repeat: no-repeat; } .about-content-title { width: 100%; display: flex; margin-top: 60px; flex-direction: column; } .about-content-title .title { color: #000000; font-size: 32px; z-index: 1; margin-top: 30px; } .about-content-title .bg { color: #d1ebf5; font-size: 80px; margin-top: -95px; font-weight: bold; } .about-content-middle { display: flex; margin-top: 50px; } .about-content-middle-left { flex: 1; margin-right: 54px; color: #000000; font-size: 18px; } .about-content-middle-left div { margin-bottom: 50px; } .about-content-middle-left div:last-child { margin: 0; } .about-content-middle-right { display: grid; grid-template-columns: 310px 310px; grid-template-rows: 200px 200px; grid-row-gap: 20px; grid-column-gap: 20px; width: 660px; display: flex; flex-wrap: wrap; } .about-content-middle-right div { width: 290px; height: 200px; background-color: #ffffff; box-shadow: 0px 8px 19px 1px rgba(8, 100, 178, 0.1); border-radius: 8px; margin-bottom: 20px; margin-right: 20px; display: flex; flex-direction: column; justify-content: center; align-items: center; } .about-content-middle-right div span:first-child { font-size: 40px; color: #0084ce; } .about-content-middle-right div span:nth-child(2) { color: #0084ce; font-size: 40px; font-weight: bold; margin: 15px 0; } .about-content-middle-right div span:last-child { color: #000000; font-size: 15px; } .about-content-rotation { margin: 90px 0; } .swiper-container { width: 100%; height: 100%; --swiper-theme-color: #fff; --swiper-pagination-color: #0084ce; /* 两种都可以 */ } .swiper-container .swiper-pagination span{ width: 10px; height: 10px; border: solid 1px #0084ce; background-color: #fff; opacity: 1; } .swiper-container .swiper-pagination .swiper-pagination-bullet-active{ background-color: #0084ce; } .swiper-slide { text-align: center; /* Center slide text vertically */ display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; transition: 300ms; } .about-rotation-swiper { width: 450px; height: 292px; margin-bottom: 70px; position: relative; overflow: hidden; cursor: pointer; } .about-rotation-swiper:hover img{ width:105%; } .about-rotation-swiper:hover div{ color: #0084ce; } .about-rotation-swiper div{ position: absolute; width: 100%; bottom: 0; left: 0; height: 50px; background-color: rgba(0, 0, 0, .5); text-align: center; line-height: 50px; color: #ffffff; font-size: 15px; transition: all .3s; } .about-rotation-swiper img{ width: 100%; display: block; transition: all .3s; position: absolute; left: 0; right: 0; bottom: 0; top: 0; margin: auto; overflow: hidden; }