From 3a5cd02c0f7d18049f267dc2d4aa8822999aa0a1 Mon Sep 17 00:00:00 2001 From: antploy Date: Tue, 16 Nov 2021 15:30:42 +0800 Subject: [PATCH] 团购进度条样式 --- components/diy_groupbuy/diy_groupbuy.wxss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- libgit2 0.21.4