123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477 |
- body{
- background-color: #F8F8F8;
- }
- #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 {
- width: 100%;
- height: 5.6rem;
- position: relative;
- overflow: hidden;
- }
- .swiperContainer .swiper-slide img{
- width: 100%;
- height: 100%;
- }
- .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;
- }
- .tabItem .tabName{
- font-size: .26rem;
- color: #000000;
- font-weight: 400;
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- }
- .tabItem.active .tabName{
- font-weight: bold;
- }
- .tabItem .tabUnderline{
- background-color: rgba(209, 75, 241, 1);
- width: .82rem;
- height: .06rem;
- position: absolute;
- bottom: -.02rem;
- display: none;
- }
- .tabItem.active .tabUnderline{
- display: block;
- }
- .tabItem .tabLink{
- width: .02rem;
- position: absolute;
- right: 0;
- top: 0;
- height: 100%;
- }
- .tabContainer .tabItem:last-child .tabLink{
- display: none;
- }
- /* <-- start 新的商品模块 */
- .newGoodsContainer{
- display: -ms-grid;
- display: grid;
- grid-template-columns: repeat(4, 1fr);
- grid-gap: .4rem .34rem;
- height: auto;
- }
- .newGoodsItem{
- height: 4.5rem;
- 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;
- }
- .newGoodsTag{
- position: absolute;
- z-index: 1;
- top: 0;
- left: 0;
- color: #FFF;
- background-color: rgba(74, 134, 98, 1);
- border-radius: 0 0 .12rem 0;
- padding: 0 .06rem;
- max-width: 1rem;
- font-size: .12rem;
- }
- .goodsImgBox{
- padding: .12rem .06rem;
- height: 2.78rem;
- }
- .goodsImgBox img{
- width: 100%;
- height: 100%;
- }
- .goodsCoverImg{
- width: 100%;
- height: 100%;
- }
- .goodsInfo{
- flex: 1;
- padding: .02rem .12rem .12rem .12rem;
- display: flex;
- flex-direction: column;
- }
- .goodsTitleBox{
- height: .65rem;
- }
- .goodsTitle{
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
- font-size: .2rem;
- word-break: break-all;
- color: #000;
- }
- .goodsTitle .preTag{
- border-radius: .04rem;
- color: #FFF;
- background-color: cornflowerblue;
- font-size: .12rem;
- padding: .02rem .04rem;
- vertical-align: middle;
- }
- .goodsPriceInfo{
- display: flex;
- align-items: center;
- justify-content: space-between;
- height: 1;
- }
- .goodsPriceInfo .goodsPrice{
- color: rgba(220, 90, 77, 1);
- font-weight: bold;
- font-size: .22rem;
- flex: 1;
- }
- .goodsCollect{
- display: flex;
- align-items: center;
- }
- .goodsCollect .collectNumber{
- color: #999999;
- font-size: .14rem;
- max-width: .8rem;
- padding-left: .04rem;
- }
- .goodsCollect img{
- width: .16rem;
- height: .16rem;
- }
- .goodsReviews{
- display: flex;
- align-items: center;
- padding-top: .1rem;
- }
- .reviewsNumber{
- display: flex;
- flex: 1;
- color: #999999;
- font-size: .14rem;
- }
- .reviewsNumber .number{
- padding-right: .04rem;
- max-width: 1rem;
- }
- .reviewsNumber .text{
- flex: 1;
- }
- /* end 新的商品模块 --> */
- /* <-- start 新闻中心模块 */
- .newConterContainer .tabContainer{
- padding-top: .5rem;
- }
- .newConterItem{
- border: .01rem dashed #000000;
- 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 #999999;
- 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 p{
- flex: 1;
- }
- /* end 新闻中心模块 --> */
- /* <-- start 超级交易模块 */
- .superDealContainer{
- margin-bottom: .8rem;
- }
- .superDealTitle{
- font-size: .26rem;
- font-weight: bold;
- color: #000000;
- text-align: center;
- padding-bottom: .16rem;
- padding-top: .5rem;
- }
- .superDealContainer .newGoodsContainer{
- grid-gap: .24rem .2rem;
- margin-bottom: .36rem;
- }
- /* end 超级交易模块 --> */
- /* <-- start 盟友模块 */
- .partnersTitle{
- font-weight: bold;
- font-size: .36rem;
- color: #000;
- margin-bottom: .12rem;
- }
- .partnersList{
- display: -ms-grid;
- display: grid;
- grid-template-columns: repeat(8, 1fr);
- grid-gap: .24rem .12rem;
- }
- .partnersItem{
- height: .5rem;
- font-size: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .partnersItem .partnersLogo{
- object-fit: contain;
- width: 1rem;
- height: 100%;
- }
- /* end 盟友模块 --> */
- @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;
- }
- .partnersList{
- grid-template-columns: repeat(6, 1fr);
- }
- }
-
- @media (max-width: 899px) {
- .swiperContainer{
- height: 4.6rem;
- }
- .superDealContainer{
- margin-bottom: .5rem;
- }
- .newGoodsContainer{
- grid-template-columns: repeat(2, 1fr);
- grid-gap: .2rem .14rem !important;
- }
- .newGoodsItem{
- height: 5.2rem;
- }
- .newGoodsTag{
- padding: 0 .1rem;
- max-width: 1.5rem;
- font-size: .2rem;
- border-radius: 0 0 .18rem 0;
- }
- .goodsImgBox{
- height: 3rem;
- }
- .newGoodsTag{
- font-size: .24rem;
- }
- .goodsTitleBox{
- height: .92rem;
- }
- .goodsTitle{
- font-size: .28rem;
- line-height: 1.3;
- }
- .goodsTitle .preTag{
- font-size: .2rem;
- padding: .02rem .06rem;
- }
- .goodsPriceInfo .goodsPrice{
- font-size: .32rem;
- }
- .goodsCollect .collectNumber{
- font-size: .22rem;
- padding-left: .08rem;
- }
- .goodsCollect img{
- width: .24rem;
- height: .24rem;
- }
- .superDealTitle{
- font-size: .3rem;
- padding-bottom: .32rem;
- }
- .superDealContainer .newGoodsContainer{
- margin-bottom: .42rem;
- }
- .reviewsNumber{
- font-size: .22rem;
- }
- .partnersList{
- grid-template-columns: repeat(4, 1fr);
- }
- .newConterItem{
- padding: .24rem .2rem .24rem .14rem;
- }
- .newConterItem .newsDateBox{
- display: none;
- }
- .newsInfoRl .rlDate{
- display: block;
- }
- .newConterItem .newConterImg img{
- width: 1.88rem;
- height: 1.4rem;
- }
- .newConterItem .newConterInfo{
- flex-direction: column;
- justify-content: space-between;
- min-height: 1.4rem;
- }
- .newConterInfo .newConterTitle{
- flex: none;
- font-size: .28rem;
- 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;
- }
- }
- @media (max-width: 750px) {
- .swiperContainer{
- height: 3.6rem;
- }
- .tabContainer .tabItem{
- flex: 1;
- padding: 0 !important;
- height: .66rem;
- max-width: 33%;
- border-radius: .12rem;
- }
- .tabItem .tabName{
- font-size: .28rem;
- }
- .tabItem .tabUnderline{
- width: .7rem;
- }
- .newGoodsContainer{
- grid-gap: .12rem .12rem !important;
- }
-
- .partnersTitle{
- margin-bottom: .12rem;
- }
- .partnersList{
- grid-template-columns: repeat(3, 1fr);
- }
- .partnersItem{
- height: .7rem;
- }
- }
|