You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
109 lines
1.9 KiB
109 lines
1.9 KiB
/* pages/user/coupon/index.wxss */
|
|
page {
|
|
background: #f6f6f6;
|
|
}
|
|
.types {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
height: 100rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
font-size: 26rpx;
|
|
line-height: 43rpx;
|
|
color: #333;
|
|
background: white;
|
|
text-align: center;
|
|
}
|
|
.type-item {
|
|
position: relative;
|
|
}
|
|
.type-item.active {
|
|
color: #0B898E;
|
|
font-weight: bold;
|
|
}
|
|
.type-item.active::after {
|
|
content: "!";
|
|
font-size: 0;
|
|
width: 30rpx;
|
|
height: 4rpx;
|
|
background: #0B898E;
|
|
border-radius: 2rpx;
|
|
position: absolute;
|
|
display: block;
|
|
left: 50%;
|
|
margin-left: -15rpx;
|
|
top: 43rpx;
|
|
}
|
|
.coupon-item {
|
|
margin: 20rpx 30rpx;
|
|
background: url(https://static.ticket.sz-trip.com/xcxImages/user/coupon.png) no-repeat;
|
|
background-size: 100% 100%;
|
|
height: 300rpx;
|
|
position: relative;
|
|
color: #999;
|
|
}
|
|
.coupon-item>view {
|
|
padding: 0 30rpx;
|
|
}
|
|
.coupon-item .title-box {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-top: 15rpx;
|
|
color: #999;
|
|
font-size: 30rpx;
|
|
font-weight: bold;
|
|
}
|
|
.coupon-item.active .title-box {
|
|
color: #D62828;
|
|
}
|
|
.coupon-item .title-box .title {
|
|
flex: 1;
|
|
}
|
|
.coupon-item.active .title-box .title {
|
|
color: #333;
|
|
}
|
|
.coupon-item .title-box .coupon-money {
|
|
flex-shrink: 0;
|
|
margin-left: 20rpx;
|
|
}
|
|
.coupon-item .title-box .coupon-money text {
|
|
font-size: 48rpx;
|
|
}
|
|
.coupon-tip {
|
|
line-height: 45rpx;
|
|
font-size: 26rpx;
|
|
}
|
|
.coupon-item.active .coupon-tip {
|
|
color: #333;
|
|
}
|
|
.coupon-tip text {
|
|
color: #999999;
|
|
}
|
|
.coupon-rule {
|
|
line-height: 79rpx;
|
|
font-size: 26rpx;
|
|
position: absolute;
|
|
bottom: 0;
|
|
}
|
|
.coupon-rule .iconfont {
|
|
font-size: 28rpx;
|
|
}
|
|
.fixed-btn {
|
|
position: fixed;
|
|
left: 50%;
|
|
width: 360rpx;
|
|
line-height: 80rpx;
|
|
background: #FFFFFF;
|
|
border-radius: 40rpx;
|
|
text-align: center;
|
|
font-size: 30rpx;
|
|
color: #222222;
|
|
margin-left: -180rpx;
|
|
bottom: 30rpx;
|
|
}
|
|
.fixed-btn text {
|
|
color: #0B898E;
|
|
}
|