diff --git a/components/diy_groupbuy/diy_groupbuy.wxss b/components/diy_groupbuy/diy_groupbuy.wxss index 323782c..623ff94 100644 --- a/components/diy_groupbuy/diy_groupbuy.wxss +++ b/components/diy_groupbuy/diy_groupbuy.wxss @@ -90,6 +90,7 @@ swiper { } */ .progress_box{ position: relative; + height: 40rpx; } .progress::after{ content: attr(data-content); @@ -97,12 +98,14 @@ swiper { right: 20px; font-size: 24rpx; color: #fff; + line-height: 40rpx; } .on_sale{ position: absolute; font-size: 24rpx; left: 40%; - top: 2rpx; + line-height: 40rpx; + /* top: 2rpx; */ color: #fff; }