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.
|
|
|
|
/* 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%; */
|
|
|
|
|
background: white;
|
|
|
|
|
min-height: 320rpx;
|
|
|
|
|
position: relative;
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
color: #999;
|
|
|
|
|
padding-bottom:10rpx ;
|
|
|
|
|
}
|
|
|
|
|
.yuan{
|
|
|
|
|
width: 50rpx;
|
|
|
|
|
height: 50rpx;
|
|
|
|
|
background: #f6f6f6;
|
|
|
|
|
position: absolute;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
}
|
|
|
|
|
.yuan.l{
|
|
|
|
|
left: -25rpx;
|
|
|
|
|
}
|
|
|
|
|
.yuan.r{
|
|
|
|
|
right:-25rpx;
|
|
|
|
|
top: 0;
|
|
|
|
|
}
|
|
|
|
|
.line-box{
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
.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;
|
|
|
|
|
height: 50rpx;
|
|
|
|
|
}
|
|
|
|
|
.coupon-item.active .coupon-tip {
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
.coupon-tip text {
|
|
|
|
|
color: #999999;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 130rpx;
|
|
|
|
|
}
|
|
|
|
|
.coupon-rule {
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
margin-top: 20rpx;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
.rule-text{
|
|
|
|
|
margin-top:10rpx;
|
|
|
|
|
color: #333;
|
|
|
|
|
}
|
|
|
|
|
.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;
|
|
|
|
|
}
|
|
|
|
|
.line{
|
|
|
|
|
height: 25rpx;
|
|
|
|
|
border-bottom: dashed 1rpx #D8D8D8;
|
|
|
|
|
}
|