@charset "UTF-8";
|
/**
|
* 这里是uni-app内置的常用样式变量
|
*
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
*
|
*/
|
/**
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
*
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
*/
|
/* uni.scss */
|
/* 颜色变量 */
|
/* 行为相关颜色 */
|
/* 文字基本颜色 */
|
/* 背景颜色 */
|
/* 边框颜色 */
|
/* 尺寸变量 */
|
/* 文字尺寸 */
|
/* 图片尺寸 */
|
/* Border Radius */
|
/* 水平间距 */
|
/* 垂直间距 */
|
/* 透明度 */
|
/* 文章场景相关 */
|
.coupon-page.data-v-2e43bed3 {
|
min-height: 100vh;
|
background: #f6f7fb;
|
}
|
.coupon-tabs.data-v-2e43bed3 {
|
position: -webkit-sticky;
|
position: sticky;
|
top: 0;
|
z-index: 10;
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
padding: 0 18rpx;
|
height: 88rpx;
|
background: rgba(255, 255, 255, 0.98);
|
box-shadow: 0 2rpx 12rpx rgba(27, 39, 94, 0.05);
|
}
|
.coupon-tab.data-v-2e43bed3 {
|
position: relative;
|
display: flex;
|
flex: 1;
|
flex-direction: column;
|
align-items: center;
|
justify-content: center;
|
height: 100%;
|
font-size: 34rpx;
|
font-weight: 500;
|
color: #666666;
|
}
|
.coupon-tab.active.data-v-2e43bed3 {
|
color: #222222;
|
font-weight: 700;
|
}
|
.tab-line.data-v-2e43bed3 {
|
position: absolute;
|
left: 50%;
|
bottom: 10rpx;
|
width: 44rpx;
|
height: 6rpx;
|
border-radius: 999rpx;
|
background: transparent;
|
-webkit-transform: translateX(-50%);
|
transform: translateX(-50%);
|
}
|
.coupon-tab.active .tab-line.data-v-2e43bed3 {
|
background: #18b7ff;
|
}
|
.coupon-list.data-v-2e43bed3 {
|
padding: 22rpx 20rpx 40rpx;
|
}
|
.coupon-card.data-v-2e43bed3 {
|
padding: 30rpx;
|
margin-bottom: 22rpx;
|
background: #ffffff;
|
border-radius: 24rpx;
|
box-shadow: 0 10rpx 28rpx rgba(30, 42, 64, 0.04);
|
}
|
.coupon-main.data-v-2e43bed3 {
|
display: flex;
|
align-items: flex-start;
|
justify-content: space-between;
|
gap: 24rpx;
|
}
|
.coupon-info.data-v-2e43bed3 {
|
flex: 1;
|
min-width: 0;
|
}
|
.coupon-title.data-v-2e43bed3 {
|
font-size: 36rpx;
|
font-weight: 700;
|
line-height: 50rpx;
|
color: #222222;
|
}
|
.coupon-time.data-v-2e43bed3 {
|
margin-top: 18rpx;
|
font-size: 28rpx;
|
line-height: 40rpx;
|
color: #8b8b8b;
|
}
|
.coupon-price.data-v-2e43bed3 {
|
display: flex;
|
flex-direction: column;
|
align-items: flex-end;
|
min-width: 150rpx;
|
color: #ff2442;
|
}
|
.coupon-price.used.data-v-2e43bed3,
|
.coupon-price.expired.data-v-2e43bed3 {
|
color: #c0c4cc;
|
}
|
.price-value.data-v-2e43bed3 {
|
position: relative;
|
padding-left: 24rpx;
|
font-size: 60rpx;
|
font-weight: 700;
|
line-height: 1.05;
|
}
|
.price-value.data-v-2e43bed3::before {
|
content: '¥';
|
position: absolute;
|
left: 0;
|
top: 8rpx;
|
font-size: 34rpx;
|
line-height: 1;
|
}
|
.price-desc.data-v-2e43bed3 {
|
margin-top: 10rpx;
|
font-size: 30rpx;
|
line-height: 42rpx;
|
}
|
.coupon-divider.data-v-2e43bed3 {
|
height: 1rpx;
|
margin: 24rpx 0;
|
background: repeating-linear-gradient(to right, #ececf1 0, #ececf1 8rpx, transparent 8rpx, transparent 16rpx);
|
}
|
.coupon-footer.data-v-2e43bed3 {
|
display: flex;
|
align-items: center;
|
justify-content: space-between;
|
gap: 20rpx;
|
}
|
.coupon-meta.data-v-2e43bed3 {
|
display: flex;
|
align-items: center;
|
gap: 10rpx;
|
font-size: 30rpx;
|
line-height: 42rpx;
|
color: #ababab;
|
}
|
.meta-text.data-v-2e43bed3 {
|
max-width: 360rpx;
|
}
|
.meta-arrow.data-v-2e43bed3 {
|
font-size: 24rpx;
|
color: #9d9d9d;
|
}
|
.receive-btn.data-v-2e43bed3 {
|
flex-shrink: 0;
|
padding: 0 28rpx;
|
height: 62rpx;
|
line-height: 62rpx;
|
border-radius: 999rpx;
|
background: linear-gradient(135deg, #ff8b14 0%, #ff4d0a 100%);
|
font-size: 30rpx;
|
font-weight: 500;
|
color: #ffffff;
|
}
|
.receive-btn-disabled.data-v-2e43bed3 {
|
background: #d1d1d1;
|
color: #ffffff;
|
}
|
/* 已使用优惠券样式 */
|
.coupon-card.used.data-v-2e43bed3 {
|
background: #EFEFEF;
|
}
|
.coupon-card.used .coupon-title.data-v-2e43bed3,
|
.coupon-card.used .coupon-price.data-v-2e43bed3,
|
.coupon-card.used .price-desc.data-v-2e43bed3 {
|
color: #999999;
|
}
|
.coupon-rule.data-v-2e43bed3 {
|
margin-top: 16rpx;
|
font-size: 28rpx;
|
line-height: 42rpx;
|
color: #9f9f9f;
|
}
|