body{ background-color: #F8F8F8; /*background-color: rgba(248, 162, 49, 0.96);*/ /*background-color: rgba(253, 162, 44, 0.96);*/ /*background-color: rgba(211, 69, 211, 0.96);*/ /*background-color: rgba(26, 25, 25, 0.96);*/ } #main{ padding-bottom: .32rem; } /* 板心 */ .sectionContainer{ display: flex; justify-content: center; } .elementorContainer{ max-width: 13.2rem; flex: 1; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } /* 轮播图 */ .swiperContainer { position: relative; z-index: 2; width: 100%; overflow: hidden; height: 5.62rem; } .swiperContainer img { vertical-align: middle; width: 100%; height: 100%; object-fit: cover; } .swiperContainer .swiperBox { position: relative; z-index: 0; width: 100%; height: 100%; margin: auto; overflow: hidden; } .swiperContainer .swiperItem { position: absolute; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; text-align: center; } .swiperContainer .swiperItem div{ height: 100%; } .swiperContainer .swiperItem~.swiperItem { z-index: 0; } .swiperContainer .swiperItem.icur { position: relative; z-index: 2; } .swiperContainer .swiperItem.prev { position: absolute; left: -100%; z-index: 2; } .swiperContainer .swiperItem.next { position: absolute; left: 100%; z-index: 2; } .swiperContainer .swiperNav { position: absolute; z-index: 20; left: 0; bottom: .1rem; width: 100%; text-align: center; } .swiperContainer .swiperNav center { display: inline-block; } .swiperContainer .swiperNav span { display: inline-block; width: .14rem; height: .14rem; border-radius: 50%; background-color: #FFF; cursor: pointer; } .swiperContainer .swiperNav span~span { margin-left: .12rem; } .swiperContainer .swiperNav span.icur { background-color: rgba(79, 73, 222, 1); } .adFixed{ position: fixed; bottom: .8rem; right: .1rem; width: 1.2rem; height: 1.2rem; object-fit: contain; z-index: 999; /*border: 1px solid red;*/ } .adFixed1{ position: fixed; bottom: 3.2rem; right: .1rem; width: 1.2rem; height: 1.2rem; object-fit: contain; z-index: 999; /*//border: 1px solid red;*/ } .adFixed2{ position: fixed; bottom: .8rem; left: .1rem; width: 1.8rem; height: 1.2rem; object-fit: contain; z-index: 999; /*//border: 1px solid red;*/ } .adFixed3{ position: fixed; bottom: 4.8rem; right: .1rem; width: 1.2rem; height: 1.2rem; object-fit: contain; z-index: 999; //border: 1px solid red; } .adFloatImage { width: 100%; height: 100%; object-fit: cover; } .tabContainer{ height: 1.5rem; display: flex; align-items: center; justify-content: center; } .tabContainer .tabItem{ position: relative; display: flex; align-items: center; justify-content: center; height: .48rem; /*padding: 0 .52rem;*/ cursor: pointer; width: 25%; } .tabItem .tabName{ font-size: .26rem; color: #333333; font-weight: 400; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } .tabItem.active .tabName{ font-weight: bold; color: rgba(79, 73, 222, 1); } .tabItem .tabUnderline{ background-color: rgba(209, 75, 241, 1); width: .82rem; height: .06rem; position: absolute; bottom: -.02rem; display: none; } .tabItem.active .tabUnderline{ display: block; } .tabLink{ width: .02rem; height: .5rem; } /* <-- start 新的商品模块 */ .newGoodsContainer{ display: -ms-grid; display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: .4rem .34rem; height: auto; } #bestGoodsModel{ display: none; } .newGoodsItem{ height: 4.54rem; display: flex; flex-direction: column; background-color: #fff; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; position: relative; overflow: hidden; border-radius: .04rem; font-size: 0; cursor: pointer; } .goodsShareBotton{ position: absolute; z-index: 1; right: 0; bottom: .12rem; padding: .08rem; font-size: 0; cursor: pointer; display: flex; align-items: center; } .goodsShareBotton img{ width: .74rem; } #shareModal{ position: fixed; width: 100vw; height: 100vh; z-index: 999; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(0, 0, 0, .5); display: none; } #closeShareModal{ position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; left: 0; } .shareBox{ width: 4rem; background-color: #f8f8f8; left: 50%; transform: translateX(-50%); top: 40%; position: absolute; border-radius: .12rem; padding: .36rem .24rem .24rem .24rem; z-index: 100; } #shareModalQrcode{ position: fixed; width: 100vw; height: 100vh; z-index: 999; top: 0; right: 0; bottom: 0; left: 0; background-color: rgba(0, 0, 0, .5); display: none; } .shareBoxQrcode{ width: 4rem; height: 4.5rem; background-color: #f8f8f8; left: 50%; transform: translateX(-50%); top: 15%; position: absolute; border-radius: .12rem; padding: .16rem .24rem .24rem .24rem; z-index: 80; /* 增加 */ display: flex; align-items: center; justify-content: center; } #closeBtn { color: #aaa; font-size: 28px; font-weight: bold; position: absolute; right: 0.16rem; top: .16rem; } .closeBtnIcon { height: 0.32rem; width: 0.32rem; } .modelItemQrcode { font-size: 0; } #qrcodeImgItem { width: 3.8rem; height: auto; } .modelItem{ border-radius: .08rem; height: .58rem; width: 100%; border: .02rem solid rgba(0, 0, 0, .05); margin-bottom: .24rem; position: relative; display: flex; justify-content: space-between; align-items: center; transition: border .1s; background-color: #FFFFFF; } .modelItem .miTitle{ position: absolute; z-index: 1; background: #FFF; line-height: 1; color: #666666; font-size: .14rem; left: .12rem; top: 0; transform: translateY(-50%); padding: 0 .08rem; transition: color .1s; } .modelItem.active{ border-color: rgba(79, 73, 222, 1); } .modelItem.active .miTitle{ color: rgba(79, 73, 222, 1); } .modelItem .input{ flex: 1; height: 100%; outline: none; font-size: .18rem; padding-left: .12rem; padding: .12rem; padding-top: .1rem; box-sizing: border-box; border: none; background-color: transparent; } .shareNotice { padding-bottom: .15rem; } #confirmShare{ width: 100%; height: .5rem; background-color: rgba(79, 73, 222, 1); border-radius: .08rem; font-size: .2rem; letter-spacing: .02rem; font-weight: bold; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; } .newGoodsTag{ position: absolute; z-index: 1; top: 0; /*left: 0;*/ right: 0; color: #FFF; background-color: rgba(74, 134, 98, 1); border-radius: 0 0 .1rem 0; padding: .02rem .08rem; max-width: 1rem; font-size: .12rem; } .goodsImgBox{ height: 3rem; margin-bottom: .1rem; } .goodsImgBox img{ width: 100%; height: 100%; } .goodsCoverImg{ width: 100%; height: 100%; } .goodsInfo{ flex: 1; padding: .02rem .2rem 0 .2rem; display: flex; flex-direction: column; } .goodsTitleBox{ height: .58rem; } .goodsTitle{ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .17rem; word-break: break-all; color: #666666; } .goodsTitle .preTag{ border-radius: .06rem; color: #FFF; background-color: rgba(61, 121, 246, 1); font-size: .12rem; padding: .02rem .04rem; vertical-align: middle; } .goodsPriceInfo{ display: flex; align-items: center; justify-content: space-between; height: 1; } .gPriceBox{ display: flex; align-items: center; flex: 1; } .goodsPriceInfo .goodsPrice{ color: rgba(220, 90, 77, 1); font-weight: bold; font-size: .22rem; } .goodsScribe{ font-size: .16rem; color: #999999; flex: 1; padding-left: .12rem; text-decoration: line-through; } .goodsCollect{ display: flex; align-items: center; } .goodsCollect .collectNumber{ color: #999999; font-size: .14rem; max-width: .8rem; padding-left: .04rem; } .goodsCollect img{ height: .12rem; } .goodsReviews{ display: flex; align-items: center; padding-top: .12rem; } .goodsStarContainer{ display: flex; align-items: center; gap: .04rem; margin-right: .12rem; padding-bottom: .04rem; } .goodsStarItem{ font-size: 0; } .goodsStarItem img{ width: .15rem; height: .15rem; vertical-align: middle; } .reviewsNumber{ display: flex; flex: 1; color: #999999; font-size: .14rem; } .reviewsNumber .number{ padding-right: .04rem; max-width: 1rem; } .reviewsNumber .text{ flex: 1; } /* end 新的商品模块 --> */ /* <-- start 新闻中心模块 */ .newConterItem{ border: .02rem solid rgba(0, 0, 0, .1); display: flex; align-items: center; padding: .2rem .2rem .2rem .14rem; margin-bottom: .26rem; } .newsDateBox{ margin-left: .6rem; width: 1.4rem; } .newsDateBox p{ font-size: .34rem; font-weight: bold; color: #000; line-height: 1; } .newsDateBox p.year{ font-size: .18rem; color: #999999; padding-top: .04rem; } .newConterImg{ font-size: 0; } .newConterImg img{ width: 1.52rem; height: 1rem; } .newConterInfo{ flex: 1; display: flex; align-items: center; padding-left: .32rem; } .newConterInfo .newConterTitle{ font-size: .18rem; color: #000; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-all; flex: 1; padding-right: .24rem; line-height: 1.4; } .newsInfoRl{ display: flex; align-items: center; } .newsInfoRl .rlDate{ font-size: .2rem; color: #999999; display: none; } .newsInfoRl .newsMore{ border: .02rem solid rgba(0, 0, 0, .1); border-radius: .22rem; height: .46rem; min-width: 1.5rem; max-width: 2rem; box-sizing: border-box; padding: 0 .32rem; display: flex; align-items: center; justify-content: space-between; color: #999999; font-size: .18rem; } .newsInfoRl .newsMore.active{ color: #FFF; background-color: rgba(79, 73, 222, 1); } .newsInfoRl .newsMore p{ flex: 1; } /* end 新闻中心模块 --> */ /* <-- start 超级交易模块 */ .superDealContainer{ margin-bottom: .5rem; } .superDealTitle{ font-size: .26rem; font-weight: bold; color: #000000; text-align: center; padding-bottom: .16rem; padding-top: .3rem; } .superDealContainer .newGoodsContainer{ grid-gap: .24rem .2rem; margin-bottom: .36rem; } /* end 超级交易模块 --> */ /* <-- start 盟友模块 */ .partnersTitle{ font-weight: bold; font-size: .36rem; color: #000; margin-bottom: .24rem; } .partnersList{ display: -ms-grid; display: grid; grid-template-columns: repeat(6, 2rem); grid-gap: .24rem .24rem; margin-bottom: 0.4rem; } .partnersItem{ height: .8rem; font-size: 0; display: flex; align-items: center; justify-content: center; } .partnersItem .partnersLogo{ object-fit: contain; height: 100%; width: 100%; } /* end 盟友模块 --> */ @media (min-width: 1920px) { .swiperContainer{ height: 8rem !important; } } @media (max-width: 1320px) { #main{ -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } .sectionContainer{ padding: 0 .12rem 0 .12rem; } .newGoodsContainer{ grid-template-columns: repeat(3, 1fr); grid-gap: .3rem .24rem; } .newGoodsItem{ height: 6rem; } .goodsImgBox{ height: 4.3rem; } .goodsTitleBox{ height: .7rem; } .goodsTitle{ font-size: .2rem; } .newGoodsTag{ font-size: .2rem; } .goodsTitle .preTag{ font-size: .14rem; } .goodsPriceInfo .goodsPrice{ font-size: .24rem; } .goodsScribe{ font-size: .16rem; } .goodsCollect img{ height: .14rem; } .goodsCollect .collectNumber{ font-size: .16rem; } .goodsStarItem img{ width: .18rem; height: .18rem; } .reviewsNumber{ font-size: .16rem; } .partnersList{ grid-template-columns: repeat(5, 1fr); } .goodsShareBotton img{ width: .4rem; } } @media (max-width: 1024px) { .newGoodsContainer{ grid-template-columns: repeat(2, 1fr); grid-gap: .2rem .14rem !important; } .tabContainer .tabItem{ width: 36% !important; } .newGoodsItem{ height: 6.1rem; } .newGoodsTag{ padding: 0 .1rem; line-height: 1; max-width: 1.5rem; font-size: .2rem; border-radius: 0 0 .18rem 0; } .newGoodsTag{ font-size: .24rem; } .goodsTitleBox{ height: .78rem; } .goodsTitle{ font-size: .22rem; line-height: 1.4; } .goodsTitle .preTag{ font-size: .2rem; padding: .02rem .06rem; } .goodsPriceInfo .goodsPrice{ font-size: .28rem; } .goodsScribe{ font-size: .22rem; } .goodsCollect .collectNumber{ font-size: .20rem; padding-left: .08rem; } .goodsCollect img{ height: .24rem; } .superDealTitle{ font-size: .3rem; padding-bottom: .32rem; } .superDealContainer .newGoodsContainer{ margin-bottom: .3rem; } .reviewsNumber{ font-size: .20rem; } .goodsShareBotton{ bottom: .02rem; } .goodsShareBotton img{ width: .8rem; } } @media (max-width: 899px) { .swiperContainer{ height: 3.5rem; } .superDealContainer{ margin-bottom: .3rem; } .partnersList{ grid-template-columns: repeat(4, 1fr); } .newConterItem{ padding: .16rem .2rem .16rem .14rem; } .newConterItem .newsDateBox{ display: none; } .newsInfoRl .rlDate{ display: block; } .newConterItem .newConterImg img{ width: 1.8rem; height: 1.3rem; } .newConterItem .newConterInfo{ flex-direction: column; justify-content: space-between; align-items: flex-start; min-height: 1.4rem; } .newConterInfo .newConterTitle{ flex: none; font-size: .24rem; line-height: 1.3; } .newConterItem .newsInfoRl{ justify-content: space-between; width: 100%; } .newsInfoRl .newsMore{ min-width: 1.2rem; max-width: 1.6rem; padding: 0 .2rem; font-size: .2rem; } .superDealTitle{ padding-top: .3rem; } } @media (max-width: 750px) { .swiperContainer{ height: 3.12rem; } .tabContainer{ height: 1.3rem; } .tabContainer .tabItem{ padding: 0 !important; height: .66rem; max-width: 33%; border-radius: .12rem; width: 28% !important; } .tabItem .tabName{ font-size: .24rem; } .tabItem .tabUnderline{ width: .6rem; } .newGoodsContainer{ grid-gap: .12rem .12rem !important; } .superDealTitle{ font-size: .28rem; } .partnersTitle{ font-size: .28rem; margin-bottom: .12rem; } .partnersList{ grid-template-columns: repeat(3, 1fr); } .partnersItem{ height: .8rem; } .goodsCollect .collectNumber{ font-size: .18rem; padding-left: .06rem; } .goodsCollect img{ height: .2rem; } .goodsStarItem img{ width: .16rem; height: .16rem; } .reviewsNumber{ font-size: .2rem; } .shareBox{ top: 30%; padding: .54rem .24rem .36rem .24rem; width: 5rem; } .modelItem{ width: 100%; height: .8rem; margin-bottom: .32rem; } .modelItem .miTitle{ font-size: .2rem; } .modelItem .input{ font-size: .24rem; } #confirmShare{ height: .8rem; font-size: .26rem; } .tabLink{ height: .4rem; margin: 0 .48rem; } }