.products-details-wrapper { padding: 4rem 24rem 5rem 24rem; background: #fff; margin-top: 1.5rem; } .bread-nav { margin: 0 auto 4rem auto; display: flex; align-items: center; font-size: 1.3rem; } .bread-nav a { font-size: 1.3rem; margin-right: 0.8rem; margin-left: 0.8rem; } .bread-nav a:first-of-type { margin-left: 0; } .bread-nav span { font-size: 1.3rem; margin-left: 0.8rem; } .products-info-wrapper { width: 100%; position: relative; display: flex; justify-content: space-between; } .product-img-wrapper { width: 50rem; } .goods-img-swiper { width: 100%; aspect-ratio: 1; background: #ffffff; border: #dae2ee 1px solid; border-radius: 0.4rem; } .goods-img-swiper img { width: 80%; aspect-ratio: 1/1; } .goods-img-swiper .swiper-slide { display: flex; align-items: center; justify-content: center; } .img-list-swiper { margin-top: 1.8rem; width: 40rem; } .img-list-swiper .swiper-slide { cursor: pointer; border: 1px solid #dae2ee; opacity: 0.5; width: 11.5rem !important; aspect-ratio: 1; border-radius: 0.4rem; margin: 0 calc(5.5rem / 6); } .img-list-swiper .swiper-slide-thumb-active { opacity: 1; border: 1px solid #a2b6d9; } .img-list-swiper .swiper-slide img { display: block; width: 100%; height: 100%; padding: 2rem; object-fit: cover; aspect-ratio: 1/1; } .swiper-button-wrapper { width: 100%; position: relative; top: -5rem; } .swiper-button-next:after, .swiper-rtl .swiper-button-prev:after, .swiper-button-next:after, .swiper-button-prev:after { font-size: 1.6rem !important; color: #ccc; } .swiper-button-next, .swiper-rtl .swiper-button-prev { right: 0 !important; } .swiper-button-prev, .swiper-rtl .swiper-button-next { left: 0.2rem !important; } .product-info-content { width: calc(100% - 56rem); } .product-info-content h1 { font-size: 3rem; font-weight: 500; line-height: 2.5rem; color: #1a1a1a; margin-bottom: 3rem; } .conditional-filtering { display: flex; align-items: center; margin-bottom: 3rem; flex-wrap: wrap; line-height: 2.4rem; } .conditional-filtering p { white-space: nowrap; font-size: 1.3rem; display: flex; align-items: center; } .conditional-filtering .connect-line { margin: 0 0.5rem; } .conditional-filtering span { white-space: nowrap; font-size: 1.3rem; } .conditional-filtering .line { background: #e3e3e3; width: 0.1rem; height: 1.2rem; margin: 0 1rem; } .parameter-selection, .product-selection { display: flex; align-items: flex-start; margin-bottom: 1rem; } .parameter-selection .title, .product-selection .title, .product-model .title, .product-num .title { font-size: 1.4rem; width: 9%; display: inline-block; margin-top: 1rem; } .parameter-selection > div, .product-selection > div { display: flex; flex-wrap: wrap; width: 91%; justify-content: space-between; } .select { position: relative; display: flex; width: 46%; margin-bottom: 2rem; align-items: center; } .select input { width: 100%; font-size: 1.4rem; padding: 0 3rem 0 1.5rem; height: 4rem; line-height: 4rem; outline: none; cursor: pointer; border: none; background: #f6f6f6; border-radius: 0.4rem; } .select input::placeholder { color: #999999; font-weight: normal; } .select i { position: absolute; right: 1.5rem; font-size: 1.8rem; cursor: pointer; color: #999999; } .select-list { display: none; position: absolute; width: 100%; left: 0; padding: 0.6rem 0; max-height: 16.5rem; border: 1px solid #f3f7ff; border-radius: 0.4rem; background: #fff; box-shadow: 0 0.1rem 1rem 0.1rem rgb(0 84 199 / 10%); top: 4.5rem; overflow: hidden; overflow-y: scroll; z-index: 1; } .select-list li { height: 4rem; line-height: 4rem; cursor: pointer; font-size: 1.4rem; padding: 0 1.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .select-list li:hover { background: #f3f7ff; color: #0147a6; } .select-list::-webkit-scrollbar { width: 0.4rem; display: none; background: none; } .select-list::-webkit-scrollbar-thumb { border-radius: 1rem; -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); opacity: 0.2; background: #e5e5e5; } .select-list::-webkit-scrollbar-track { -webkit-box-shadow: none; border-radius: 0; background: rgba(254, 254, 254, 0.3); } .select-list:hover::-webkit-scrollbar { display: block; } .product-model, .product-num { display: flex; align-items: center; margin-bottom: 1rem; } .product-model .title, .product-num .title { margin-top: 0; } .product-model div { font-size: 2.8rem; color: #0147a6; } .product-model button { font-size: 1.2rem; color: #fff; background: #0147a6; border: none; padding: 0.1rem 0.3rem; border-radius: 0.2rem; margin-left: 1.5rem; cursor: pointer; display: none; } .product-num-model { display: flex; align-items: center; } .product-num-model button { height: 4rem; line-height: 4rem; width: 3.5rem; color: #666666; border: none; cursor: pointer; font-size: 2.2rem; background: #f6f6f6; border-radius: 0.4rem; text-align: center; } .product-num-model input { height: 4rem; width: 8rem; color: #666666; border: none; cursor: pointer; font-size: 1.4rem; background: #f6f6f6; margin: 0 0.5rem; padding: 0 1rem; text-align: center; } .product-num-model button:first-of-type { border-radius: 0.4rem 0 0 0.4rem; } .product-num-model button:last-of-type { border-radius: 0 0.4rem 0.4rem 0; } .product-num .tips { margin-left: 2rem; font-size: 1.3rem; color: #999999; display: flex; align-items: center; margin-right: 0.5rem; } .product-num .tips i { font-size: 2rem; color: #999999; } .product-information { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; position: relative; padding: 0.5rem 2rem; background: #fafdff; border: 1px dashed #e9f1ff; width: 100%; border-radius: 0.4rem; } .product-information > div { width: 40%; padding: 1.5rem 0; display: flex; align-items: center; color: #666666; font-size: 1.4rem; } .product-information > div:last-of-type { width: 60%; position: relative; } .product-information > div i { margin-right: 0.3rem; color: #FF7200; font-size: 2.2rem; } .product-information > div p { font-size: 1.3rem; color: #999999; display: flex; align-items: center; position: absolute; right: 0; } .button-wrapper { display: flex; align-items: center; margin-top: 5rem; justify-content: space-between; } .button-wrapper button { width: 25rem; margin-right: 3rem; height: 5rem; border-radius: 0.4rem; cursor: pointer; font-size: 1.5rem; } .add-shop-cart-btn { color: #fff; background: #0147a6; border: 1px #0147a6 solid; } .add-shop-cart-btn:hover { background: #0054c7; } .buy-btn { color: #ffffff; background: #FF7200; border: 1px #FF7200 solid !important; } .buy-btn:hover { background: #ff8625; } .collection-share-wrapper { display: flex; width: 30rem; justify-content: right; } .collection-share-wrapper span { font-size: 1.4rem; color: #666666; vertical-align: middle; margin-right: 0.5rem; } .collection-share-wrapper i { font-size: 1.6rem; color: #999999; vertical-align: middle; } .collection-share-wrapper img { width: 1.6rem; vertical-align: middle; margin-right: 0.2rem; } .collection-share-wrapper .share { margin-left: 2rem; } .collection-share-wrapper .collection { cursor: pointer; } .details-img-wrapper { padding: 3rem 24rem 5rem 24rem; margin: 2rem auto 0 auto; background: #fff; text-align: center; } .details-img-title span { display: block; width: 100%; font-size: 2.2rem; letter-spacing: 0.3rem; color: #0147a6; font-weight: bold; height: 5rem; line-height: 5rem; border-bottom: #dde6ff 1px dotted; text-align: left; padding-bottom: 6rem; } .details-img-wrapper .detail-img { width: 100%; text-align: center; padding: 8rem; border-radius: 0.4rem; margin-top: 3rem; } .details-img-wrapper img { width: 100%; margin-bottom: 1rem; } .select-active { color: #0147a6; font-weight: 600; background: #f3f7ff; } .collection-active span { color: #FF7200; } .collection-active i { color: #FF7200; } .detail-img p ,.detail-img span{ font-size: 1.6rem; text-align: left; line-height: 2.8rem; text-indent: 2em; margin: 1.5rem 0 2.5rem 0; } .detail-img h1{ font-size: 2.4rem; text-align: left; margin-bottom: 3rem; } .detail-img * { background: none !important; } footer{ margin-top: 0; } /* 兼容不同分辨率样式 */ @media screen and (max-width: 1919px) and (min-width: 1680px) { .products-details-wrapper { padding: 4rem 18rem 5rem 18rem; } .parameter-selection .title, .product-selection .title, .product-model .title, .product-num .title { width: 12%; } .product-img-wrapper { width: 45rem; } .product-info-content { width: calc(100% - 50rem); } .details-img-wrapper { padding: 3rem 18rem 5rem 18rem; } } @media screen and (max-width: 1679px) and (min-width: 1600px) { .products-details-wrapper { padding: 4rem 18rem 5rem 18rem; } .parameter-selection .title, .product-selection .title, .product-model .title, .product-num .title { width: 12%; } .product-img-wrapper { width: 40rem; } .product-info-content { width: calc(100% - 45rem); } .details-img-wrapper { padding: 3rem 18rem 5rem 18rem; } .img-list-swiper { width: 34rem; } .img-list-swiper .swiper-slide { width: 9.5rem !important; } .img-list-swiper .swiper-slide img { padding: 1.5rem; } } @media screen and (max-width: 1599px) and (min-width: 1440px) { .products-details-wrapper { padding: 4rem 14rem 5rem 14rem; } .parameter-selection .title, .product-selection .title, .product-model .title, .product-num .title { width: 12%; } .product-img-wrapper { width: 40rem; } .product-info-content { width: calc(100% - 45rem); } .details-img-wrapper { padding: 3rem 14rem 5rem 14rem; } .product-info-content h1 { font-size: 2.8rem; } .img-list-swiper { width: 34rem; } .img-list-swiper .swiper-slide { width: 9.5rem !important; } .product-information > div { width: 32%; } .img-list-swiper .swiper-slide img { padding: 1.5rem; } .parameter-selection .title, .product-selection .title, .product-model .title, .product-num .title, .select input, .product-information > div { font-size: 1.3rem; } .product-information > div:last-of-type { width: 70%; } } @media screen and (max-width: 1439px) and (min-width: 1280px) { .products-details-wrapper { padding: 4rem 14rem 5rem 14rem; } .parameter-selection .title, .product-selection .title, .product-model .title, .product-num .title { width: 16%; } .select { width: 49%; margin-bottom: 1rem; } .select-list li { font-size: 1.3rem; } .product-num-model button { width: 3rem; font-size: 2rem; } .product-num-model input { width: 6rem; font-size: 1.3rem; margin: 0 0.3rem; } .product-img-wrapper { width: 40rem; } .product-info-content { width: calc(100% - 45rem); } .details-img-wrapper { padding: 3rem 8rem 5rem 8rem; } .product-info-content h1 { font-size: 2.6rem; margin-bottom: 2.5rem; } .conditional-filtering { margin-bottom: 2.5rem; } .img-list-swiper { width: 34rem; } .img-list-swiper .swiper-slide { width: 9.5rem !important; } .product-information > div { width: 100%; padding: 1rem 0; } .img-list-swiper .swiper-slide img { padding: 1.5rem; } .parameter-selection .title, .product-selection .title, .product-model .title, .product-num .title, .select input, .product-information > div { font-size: 1.3rem; } .product-information > div:last-of-type { width: 100%; } .button-wrapper button { font-size: 1.4rem; width: 17rem; margin-right: 2rem; height: 4rem; } .details-img-title span { font-size: 1.8rem; } }