Files
lilishop-uniapp/pages/product/product/promotion/group.scss
pikachu1995@126.com a32f6d2313 style(theme): 统一应用主题样式并更新组件样式变量
- 在多个页面组件中添加动态主题样式绑定
- 将硬编码的颜色值替换为CSS变量和主题配置
- 引入主题样式计算逻辑到各个页面
- 更新优惠券、地址、订单等页面的主题适配
- 替换线性渐变背景为动态主题颜色
- 移除uni_modules组件中的$set方法调用以优化性能
- 更新README中主题色管理状态为已完成
2026-10-09 16:02:11 +08:00

112 lines
1.7 KiB
SCSS

.group-wrapper {
background: url("/static/exchange.png");
background-size: cover;
}
.u-group-row {
width: 100%;
padding: 0 32rpx;
display: flex;
height: 100rpx;
align-items: center;
justify-content: space-between;
}
.showBox_L {
// background: #ff6262;
height: 100%;
color: #fff;
flex: 2;
}
.flex-price {
color: #fff;
font-size: 48rpx;
}
.u-group-flex-left {
display: flex;
flex-direction: column;
}
.u-group-flex-left-span {
line-height: 1.2;
font-size: 32rpx;
}
.showBox_R {
flex: 1;
height: 100%;
padding: 4rpx 0 !important;
background: #ffe7e6 !important;
text-align: center !important;
position: relative;
}
::v-deep .u-mode-light-error {
border: none;
}
.u-group-flex {
height: 100%;
align-items: center;
justify-content: space-between;
}
.u-group-flex,
.u-group-flex-right {
display: flex;
}
.u-group-flex-right {
height: 100%;
align-items: flex-end;
display: flex;
flex-direction: column;
justify-content: center;
}
.old-price {
color: #fff;
text-decoration: line-through;
font-size: 22rpx;
opacity: 0.8;
}
.u-group-flex-left {
height: 100%;
}
.group-bag {
font-size: 20rpx;
padding: 4rpx 20rpx;
border-radius: 6rpx;
margin-right: 20rpx;
}
.promotion {
font-size: 22rpx;
border: 2rpx solid $price-light-color;
padding: 2rpx 6rpx;
margin-left: 10rpx;
line-height: 1;
}
.promotion-countdown {
display: flex;
align-items: center;
justify-content: center;
margin-top: 4rpx;
}
.countdown-day {
font-size: 22rpx;
color: $price-color;
margin-right: 4rpx;
}
.countdown-num {
display: inline-block;
min-width: 36rpx;
padding: 0 4rpx;
font-size: 25rpx;
color: #fff;
background-color: $price-color;
border-radius: 4rpx;
text-align: center;
}
.countdown-colon {
font-size: 25rpx;
color: $price-color;
margin: 0 2rpx;
}