<div> <style> /* 适用:双列商品 */ .cMScroll { width: 94vw; overflow: hidden; margin: 0 auto; } .cMScroll .tagGoodsList .tagStyle3 { height: 0.7rem } .cMScroll .list.product-list.col2 .product .content { background: #fff; } .cMScroll .coupon-floor.threeLine .coupon, .cMScroll .coupon-floor.twoLine .coupon { padding: 0 !important; } .cMScroll .floorphoto .rows { background: transparent; } /*.list.col3 .product .tag-linear*/ .cMScroll .list.col3.product-list .blocker, .cMScroll .list.col3.product-list .product { padding: 0rem; } .cMScroll .list.col3 .product .container.content .desc .price strong span.zhenxuan, .cMScroll .list.col3 .product .container.content .desc .price .originPrice, .cMScroll .list.col3 .product .container.content .promotion .vip99, .cMScroll .list.col3 .product .container.content .desc .price .vip99-price, .cMScroll .list.col3 .product .container.content .desc .price .ptPT-moren, .cMScroll .list.col3 .product .tag-linear { display: none; } .cMScroll .list.col3 .product .container.content .promotion { min-height: auto; } .cMScroll .list.col3 .product .container.content .desc { padding-bottom: 0.05rem; } .cMScroll .list.col3 .product .container.content .desc .add-cart { width: 0.5rem; height: 0.5rem; } .cMScroll .list.col3 .product .container.content .name { -webkit-line-clamp: 1; height: 0.4rem; font: 0.26rem/0.4rem "微软雅黑"; padding-top: 0.06rem; } /*三列图片*/ .cMScroll .list.col3.product-list .blocker .container.img, .cMScroll .list.col3.product-list .product .container.img { margin: .1rem auto .04rem; overflow: inherit; } .cMScroll .product .container.img { position: relative; box-sizing: border-box; background-color: #f4f4f4; background-image: url(//gfs5.gomein.net.cn/wireless/T1KEhPBbCT1RCvBVdK_220_220.png); background-repeat: no-repeat; background-size: 100% auto; background-position: 50%; margin-top: 0.15rem; margin-left: 0.15rem; width: 1.9rem; } .cMScroll .product .container.img img { border-radius: 0.2rem; } /*三列内容信息*/ .cMScroll .list.col3.product-list .product .content { background: linear-gradient(175deg, #fff6e6, #f4e5ca); padding: 0 0.1rem 0.1rem; } /*.list.col3 .product .tag-linear{background:linear-gradient(left,#f7d9b0,#fe7081);border-radius: 0 0 0.16rem 0;font-weight: bold;box-shadow: 0 0 3px 4px rgb(0 0 0 / 20%);left: -0.1rem;top: -0.1rem;right:auto;}*/ /*字体颜色及购物车样式*/ .cMScroll .list.col3 .product .container.content .desc .price strong, .cMScroll .list.col2 .product .container.content .desc .price strong { color: #c25300; } .cMScroll .list.col3 .product .container.content .desc .add-cart .add-btn, .cMScroll .list.col2 .product .container.content .desc .add-cart .add-btn { background-image: url(https://gfs5.gomein.net.cn/wireless/T1V3hVB_WT1RCvBVdK_200_200.png); background-color: transparent; } .cMScroll .list.col3 .product .container.content .promotion p { border: none; background: #b64055; color: #fff; } /**双列样式修正*/ .cMScroll .list.product-list.col2 .flexgrid .blocker, .cMScroll .list.product-list.col2 .flexgrid .product { border-radius: 2vw; overflow: hidden; } .cMScroll .list.col2 .product .container.content .desc .price .originPrice, .cMScroll .list.col2 .product .container.content .subtitle, .cMScroll .list.col2 .product .container.content .desc .price span.zhenxuan { display: none; } .cMScroll .list.col2 .product .container.content .desc { display: -webkit-box; display: box; display: -ms-flexbox; display: flex; margin-top: 0.16rem; margin-left: 24%; } .cMScroll .goods-tag { background: -webkit-linear-gradient(right, #f8202f, #e22948); } .cMScroll .list.product-list.col2 .blocker .content, .cMScroll .list.product-list.col2 .product .content { padding: 0.1rem .14rem; background: transparent !important; margin: 0; margin-top: -0.2rem; } /**多行滚动 需在标题设置促销语中设置caScroll 适用于带标签商品模块(显示列数须选择双列或3列),双列商品,及3列商品***/ .cMScroll .list.product-list { display: -webkit-box; overflow-x: scroll; padding-bottom: 0; -webkit-overflow-scrolling: touch; } .cMScroll .list.product-list .flexgrid { font-size: 0; width: 33%; display: block; margin-right: 0.06rem; } .cMScroll .list.product-list .flexgrid .product { width: 100%; height: 3.1rem; margin-bottom: 0.06rem; background: url(https://gfs6.gomein.net.cn/wireless/T1w0WkBghv1RCvBVdK_376_535.png); background-size: 100%; background-repeat: no-repeat; } /* .cMScroll .list::-webkit-scrollbar { height: 0.2rem !important; background: rgba(0, 0, 0, 0); } .cMScroll .list::-webkit-scrollbar-thumb { background: rgba(223, 17, 17, 0); border-top: 0.08rem solid #e30d0d; } */ .cMScroll .list::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0); border-top: 0.05rem solid #fff; } .cMScroll .list.product-list.col2 .product a.react { background: transparent; } .cMScroll .list.col2 .product .container.content .name { color: #333; font-size: .26rem; margin-top: 0.14rem; line-height: .336rem; height: 0.3rem; font-weight: 400; line-height: .326rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-overflow: ellipsis; overflow: hidden; } .cMScroll .list.col2 .product .container.content .desc .price strong { font-weight: 700; display: block; color: #c25300; font-size: .34rem; line-height: .34rem; height: 0.34rem; margin-top: -0.14rem; } </style> <script> if (window.location.href.indexOf('market') > 0) { $(".qrCode").show(); $('div[templetid="4736299"]').hide(); } else { $(".qrCode").hide(); } </script></div>