.banner-classification-wrapper { padding: 0 24rem; justify-content: space-between; margin-top: 2rem; height: 58.8rem; overflow: hidden; position: relative; border-radius: 0.8rem; } .banner-classification-wrapper img { width: 100%; border-radius: 0.8rem; } .banner-classification-wrapper .hover-wrapper { width: calc(100% - 48rem); position: absolute; height: 100%; border-radius: 0.8rem; } .banner-classification-wrapper .left { width: 28.5rem; height: 100%; background: rgba(1, 71, 166, 0.5); display: flex; flex-direction: column; justify-content: space-evenly; position: relative; z-index: 2; border-radius: 0.8rem 0 0 0.8rem; } .banner-classification-wrapper .left a { font-size: 1.4rem; display: flex; align-items: center; justify-content: space-between; padding: 0 2rem; color: #ffffff; } .banner-classification-wrapper .left a i { font-size: 2rem; transform: rotate(-90deg); color: #ffffff; } .banner-classification-wrapper .submenu-content-wrapper { width: calc(100% - 28.5rem); background: #fff; position: absolute; left: 28.5rem; z-index: 2; height: 100%; padding: 3rem 4rem 0 4rem; top: 0; display: none; } .hover-wrapper > ul > li:hover { background: #fff; } .hover-wrapper > ul > li:hover a { font-weight: 600; color: #0147a6; } .hover-wrapper > ul > li:hover a i { font-weight: 400; color: #0147a6; } .banner-classification-wrapper .submenu-content-wrapper .submenu-content { display: none; border-radius: 0 0.8rem 0.8rem 0; } .submenu-content-wrapper .title p { font-size: 1.4rem; font-weight: 600; color: #4a4a4a; padding-bottom: 1rem; } .submenu-content-wrapper .title span { width: 3.6rem; height: 0.2rem; background: #FF7200; display: block; margin-top: 0.3rem; } .submenu-content-wrapper .submenu-list { display: flex; flex-wrap: wrap; width: 70rem; margin-top: 4rem; } .submenu-content-wrapper .submenu-list li { width: 50%; padding-bottom: 2.5rem; } .submenu-content-wrapper .submenu-list li a { font-size: 1.4rem; } .submenu-content-wrapper .submenu-list li a:hover { color: #0147a6; text-decoration: underline; } .submenu-content-wrapper img { width: 35rem; position: absolute; bottom: 3rem; right: 3rem; } .banner-swiper { width: 100%; height: 100%; border-radius: 0.8rem; } .banner-swiper .swiper-slide a { position: relative; display: block; } .banner-swiper .swiper-slide a:before { position: absolute; width: 100%; height: 100%; content: ""; z-index: 1; } .latest-news-wrapper { width: calc(100% - 48rem); margin: 2rem auto; height: 8rem; display: flex; align-items: center; justify-content: space-between; } .latest-news-wrapper > div { width: calc(100% - 18rem); background: #ffffff; padding: 0 4rem 0 3rem; display: flex; align-items: center; height: 100%; border-radius: 0.8rem 0 0 0.8rem; } .latest-news-wrapper .title { width: 15rem; } .latest-news-wrapper .title p { font-size: 1.6rem; font-weight: 600; font-style: italic; letter-spacing: 0.2rem; line-height: 2.2rem; } .latest-news-wrapper .title p:first-of-type { color: #0147a6; } .news-list-swiper { width: 100%; } .news-list-swiper-wrapper { height: 4rem !important; } .news-list-swiper .swiper-slide { height: 4rem !important; display: flex; overflow: hidden; justify-content: space-between; } .news-list-swiper .swiper-slide h6 { font-size: 1.5rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: top; width: 40rem; } .news-list-swiper .swiper-slide span { color: #fff; background: #FF7200; padding: 0.2rem 0.4rem; margin-right: 0.5rem; border-radius: 0 0.6rem 0 0.6rem; } .news-list-swiper .swiper-slide p { margin-top: 0.5rem; width: 40rem; font-size: 1.2rem; color: #9b9b9b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 4.5rem; } .read-more { background: #ffffff; width: 18rem; height: 100%; display: flex; justify-content: center; align-items: center; border-radius: 0 0.8rem 0.8rem 0; font-size: 1.5rem; margin-left: 1rem; color: #0147a6; border-right: #fff 0.1rem solid; transition: border-right 0.3s ease-in-out; font-weight: 600; } .read-more:hover { border-right: #0147a6 1rem solid; color: #0147a6; } .read-more:hover i { color: #0147a6; } .hot-wrapper { padding: 0 24rem; display: flex; justify-content: space-between; } .hot-wrapper img { width: 100%; border-radius: 0.8rem; min-height: 100%; } .hot-wrapper > a { width: 55%; display: inline-block; overflow: hidden; border-radius: 0.8rem; position: relative; } .hot-wrapper > div { width: 45%; margin-left: 1%; display: flex; flex-wrap: wrap; justify-content: space-between; } .hot-wrapper > div a { width: 49%; display: inline-block; overflow: hidden; border-radius: 0.8rem; position: relative; } .hot-wrapper > div a:last-of-type { width: 100%; margin-top: 1.5rem; } .hot-wrapper p { position: absolute; background: rgba(1, 71, 166, 0.1); color: #ffffff; font-size: 1.6rem; font-weight: 600; width: 100%; height: 100%; text-align: center; line-height: 15rem; top: 0; } .mall-product-list { margin-top: 10rem; padding: 0 24rem; } .mall-product-list .title-wrapper { display: flex; align-items: center; justify-content: space-between; } .mall-product-list .title-wrapper a { font-size: 1.6rem; } .mall-product-list .title-wrapper a i { font-size: 1.6rem; margin-left: 0.5rem; } .mall-product-list .title-wrapper a:hover, .mall-product-list .title-wrapper a:hover i { color: #FF7200; } .mall-product-list h3 { font-size: 3rem; font-weight: 500; margin-bottom: 3rem; } .product-list-wrapper { display: flex; position: relative; } .product-list-wrapper li > span { font-size: 1.5rem; color: #a8a8a8; cursor: pointer; margin-right: 3rem; } .product-list-wrapper li > span:hover { color: #FF7200; } .product-active { color: #212121 !important; } .product-list-wrapper ul { display: none; flex-wrap: wrap; margin-top: 5rem; position: absolute; left: 0; width: 100%; } .product-list-wrapper ul li { width: 19%; margin-right: 1.25%; margin-bottom: 2rem; } .product-list-wrapper ul li:nth-child(5n) { margin-right: 0; } .product-list-wrapper ul li a { display: block; width: 100%; height: 100%; background: #ffffff; padding: 4rem 2rem; text-align: center; transition: margin-top 0.3s; border-radius: 0.4rem; } .product-list-wrapper ul li:hover a { margin-top: -0.5rem; box-shadow: 0 0.1rem 1rem 0.1rem rgb(0 84 199 / 10%); } .product-list-wrapper ul li img { width: 100%; aspect-ratio: 1/1; } .product-list-wrapper ul li p { font-size: 1.4rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 1rem; } .product-list-wrapper ul li span { font-size: 1.3rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #a8a8a8; } .product-list-wrapper ul li div { width: 70%; height: 17.6rem; overflow: hidden; margin: 0 auto 2rem auto; } .banner-bullet { width: 1rem; height: 1rem; background: none; border: #ffffff 0.2rem solid; border-radius: 50%; display: inline-block; margin: 1.2rem 0.4rem; opacity: 0.5; cursor: pointer; } .banner-bullet:hover { opacity: 1; } .banner-bullet-active { background: #fff; opacity: 1; } .read-more i { margin-left: 1rem; } /* 兼容不同分辨率样式 */ @media screen and (max-width: 1919px) and (min-width: 1680px) { .banner-classification-wrapper, .hot-wrapper, .mall-product-list { padding: 0 18rem; } .latest-news-wrapper { width: calc(100% - 36rem); } .banner-classification-wrapper .submenu-content-wrapper { width: calc(100% - 16.5rem); } } @media screen and (max-width: 1679px) and (min-width: 1600px) { .banner-classification-wrapper, .hot-wrapper, .mall-product-list { padding: 0 18rem; } .latest-news-wrapper { width: calc(100% - 36rem); } .banner-classification-wrapper .submenu-content-wrapper { width: calc(100% - 16.5rem); } } @media screen and (max-width: 1599px) and (min-width: 1440px) { .banner-classification-wrapper, .hot-wrapper, .mall-product-list { padding: 0 14rem; } .latest-news-wrapper { width: calc(100% - 28rem); } .latest-news-wrapper .title { width: 9rem; } .news-list-swiper .swiper-slide h6, .news-list-swiper .swiper-slide p { width: 34rem; } .mall-product-list h3 { font-size: 2.6rem; } .product-list-wrapper ul li { width: 24.1%; margin-right: 1.2%; } .product-list-wrapper ul li:nth-child(4n) { margin-right: 0; } .product-list-wrapper ul li:nth-child(5n) { margin-right: 1.2%; } .product-list-wrapper ul li div { width: 60%; } .banner-classification-wrapper .submenu-content-wrapper { width: calc(100% - 8.5rem); } .submenu-content-wrapper img { width: 30rem; } .mall-product-list .title-wrapper a, .mall-product-list .title-wrapper a i { font-size: 1.5rem; } } @media screen and (max-width: 1439px) and (min-width: 1280px) { .banner-classification-wrapper, .hot-wrapper, .mall-product-list { padding: 0 8rem; } .latest-news-wrapper { width: calc(100% - 16rem); } .latest-news-wrapper .title { width: 12rem; } .news-list-swiper .swiper-slide h6, .news-list-swiper .swiper-slide p { width: 30rem; } .mall-product-list h3 { font-size: 2.6rem; } .product-list-wrapper ul li { width: 24.1%; margin-right: 1.2%; } .product-list-wrapper ul li:nth-child(4n) { margin-right: 0; } .product-list-wrapper ul li:nth-child(5n) { margin-right: 1.2%; } .latest-news-wrapper > div { border-radius: 0.6rem 0 0 0.6rem; } .product-list-wrapper ul li div { width: 56%; height: 15.6rem; } .banner-classification-wrapper .submenu-content-wrapper { width: calc(100% - -6.5rem); } .submenu-content-wrapper img { width: 30rem; } .mall-product-list .title-wrapper a, .mall-product-list .title-wrapper a i { font-size: 1.5rem; } .banner-swiper { border-radius: 0.6rem; } .banner-classification-wrapper .left a { font-size: 1.3rem; } .banner-classification-wrapper { height: 57.5rem; } .banner-classification-wrapper .left { width: 25.5rem; } .banner-classification-wrapper .submenu-content-wrapper { left: 25.5rem; } .latest-news-wrapper .title p { font-size: 1.5rem; } }