270 lines
4.5 KiB
Plaintext
270 lines
4.5 KiB
Plaintext
page {
|
|
background-color: #f7f7f7;
|
|
}
|
|
|
|
/* 卡券分类tab */
|
|
.coupon-tab,
|
|
.couponCut {
|
|
position: fixed;
|
|
left: 0;
|
|
width: 100%;
|
|
display: flex;
|
|
z-index: 112;
|
|
}
|
|
|
|
.coupon-tab {
|
|
top: 0;
|
|
height: 80rpx;
|
|
line-height: 80rpx;
|
|
background: white;
|
|
}
|
|
|
|
.coupon-tab-item {
|
|
width: 33.33%;
|
|
text-align: center;
|
|
border-bottom: solid 2rpx #f7f7f7;
|
|
color: #464854;
|
|
background: white;
|
|
position: relative;
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.coupon-tab-item:after {
|
|
position: absolute;
|
|
content: '';
|
|
left: calc(50% - 30rpx);
|
|
bottom: 0;
|
|
background-color: transparent;
|
|
width: 60rpx;
|
|
height: 8rpx;
|
|
border-radius: 50rpx;
|
|
color: #666666;
|
|
}
|
|
|
|
.coupon-tab-item.active {
|
|
color: #2151f5;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.coupon-tab-item.active:after {
|
|
background-color: #2151f5;
|
|
}
|
|
|
|
/* 卡券类型 */
|
|
.couponList {
|
|
margin: 220rpx 20rpx 0;
|
|
}
|
|
|
|
.couponCut {
|
|
top: 80rpx;
|
|
height: 126rpx;
|
|
line-height: 66rpx;
|
|
padding: 30rpx 40rpx;
|
|
box-sizing: border-box;
|
|
margin-bottom: 30rpx;
|
|
background-color: #f7f7f7;
|
|
}
|
|
|
|
.couponCut text {
|
|
flex: 4;
|
|
text-align: center;
|
|
background-color: white;
|
|
color: #666666;
|
|
margin: 0 20rpx;
|
|
border-radius: 50rpx;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.couponCut text.active {
|
|
background-color: #2151f5;
|
|
color: #fff;
|
|
}
|
|
|
|
.couponDraw-list-label {
|
|
position: relative;
|
|
width: 100%;
|
|
padding-top: 32%;
|
|
border: 2rpx solid #eeeeee;
|
|
border-radius: 10rpx;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.couponDraw-list-label::after,
|
|
.couponDraw-list-label::before {
|
|
position: absolute;
|
|
content: '';
|
|
width: 30rpx;
|
|
height: 30rpx;
|
|
border-radius: 50%;
|
|
background-color: #f7f7f7;
|
|
z-index: 111;
|
|
}
|
|
|
|
.couponEject-list-label::after {
|
|
top: -15rpx;
|
|
right: 160rpx;
|
|
}
|
|
|
|
.couponEject-list-label::before {
|
|
bottom: -15rpx;
|
|
right: 160rpx;
|
|
}
|
|
|
|
|
|
.couponDraw-list-label::after {
|
|
top: -15rpx;
|
|
left: calc(40% - 15rpx);
|
|
}
|
|
|
|
.couponDraw-list-label::before {
|
|
bottom: -15rpx;
|
|
left: calc(40% - 15rpx);
|
|
}
|
|
|
|
.couponDraw-list-tips {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 102;
|
|
font-size: 26rpx;
|
|
border-radius: 10rpx 0 10rpx 0;
|
|
padding: 6rpx 20rpx;
|
|
background-color: #fae5c2;
|
|
color: #9b6404;
|
|
}
|
|
|
|
.couponDraw-list-price {
|
|
width: 40%;
|
|
background-color: #eea931;
|
|
color: #fff;
|
|
position: absolute;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
border-radius: 10rpx 0 0 10rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.couponDraw-list-part {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 70rpx;
|
|
top: calc(50% - 35rpx);
|
|
z-index: 102;
|
|
text-align: center;
|
|
font-size: 50rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.couponDraw-list-text {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
width: 60%;
|
|
padding: 10rpx 20rpx;
|
|
box-sizing: border-box;
|
|
background-color: #fff;
|
|
height: 100%;
|
|
}
|
|
|
|
.couponDraw-list-name text {
|
|
color: #999;
|
|
display: block;
|
|
font-size: 26rpx;
|
|
margin: 10rpx 0 5rpx;
|
|
}
|
|
|
|
.couponDraw-list-btn {
|
|
color: #b67c18;
|
|
border: 2rpx solid #b67c18;
|
|
border-radius: 50rpx;
|
|
display: inline-block;
|
|
font-size: 26rpx;
|
|
padding: 6rpx 20rpx;
|
|
position: absolute;
|
|
top: 90rpx;
|
|
right: 20rpx;
|
|
margin-bottom: 20rpx;
|
|
min-width: 110rpx;
|
|
text-align: center;
|
|
}
|
|
|
|
.couponDraw-list-time {
|
|
font-size: 26rpx;
|
|
color: #999;
|
|
clear: both;
|
|
position: absolute;
|
|
bottom: 20rpx;
|
|
}
|
|
|
|
.couponDraw-list-red .couponDraw-list-price {
|
|
background-color: #ee3158;
|
|
}
|
|
|
|
.couponDraw-list-red .couponDraw-list-btn {
|
|
border-color: #ba062b;
|
|
color: #b80026;
|
|
}
|
|
|
|
.couponDraw-list-red .couponDraw-list-tips {
|
|
background-color: #fac2cd;
|
|
color: #94001f;
|
|
}
|
|
|
|
|
|
.couponDraw-list-blue .couponDraw-list-price {
|
|
background-color: #2d6bf6;
|
|
}
|
|
|
|
.couponDraw-list-blue .couponDraw-list-btn {
|
|
border-color: #0f4acf;
|
|
color: #003fcc;
|
|
}
|
|
|
|
.couponDraw-list-blue .couponDraw-list-tips {
|
|
background-color: #c0d3fc;
|
|
color: #2151f5;
|
|
}
|
|
|
|
.coupon-null {
|
|
width: 100%;
|
|
padding: 20% 0;
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.coupon-null image {
|
|
width: 300rpx;
|
|
}
|
|
|
|
.coupon-text {
|
|
width: 100%;
|
|
text-align: center;
|
|
margin-top: 50rpx;
|
|
color: #666;
|
|
}
|
|
|
|
.coupon-icon {
|
|
height: 120rpx;
|
|
margin-top: 60rpx;
|
|
width: 120rpx;
|
|
}
|
|
|
|
.price-tips {
|
|
font-size: 20rpx;
|
|
}
|
|
|
|
.loose {
|
|
border-color: #999 !important;
|
|
color: #999 !important;
|
|
}
|
|
|
|
.nomore {
|
|
width: 100%;
|
|
height: 60rpx;
|
|
line-height: 60rpx;
|
|
text-align: center;
|
|
color: #999;
|
|
margin-bottom: 20rpx;
|
|
font-size: 28rpx;
|
|
} |