Files
sykl-hy/pages/coupons/list/index.wxss

151 lines
2.5 KiB
Plaintext

page {
padding: 30rpx;
box-sizing: border-box;
background-color: #f5f5f5;
}
.item-label {
border-radius: 30rpx;
padding: 50rpx 40rpx 20rpx;
box-sizing: border-box;
margin-bottom: 40rpx;
position: relative;
box-shadow: 0 0 6rpx 2rpx rgba(0, 0, 0, .1);
background-image: linear-gradient(to top right, #f9e3b4, #ecc685);
}
.item-label.active {
background-image: linear-gradient(to top right, #c9c9c9, #b5b5b5);
}
.item-label::after,
.item-label::before {
position: absolute;
content: '';
background-color: #f5f5f5;
width: 30rpx;
height: 30rpx;
bottom: 84rpx;
border-radius: 50%;
}
.item-label::after {
left: -15rpx;
}
.item-label::before {
right: -15rpx;
}
.tipsImg {
position: absolute;
top: 0;
left: 30rpx;
width: 170rpx;
}
.tipsImg.active {
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
filter: gray;
}
.top {
margin-bottom: 20rpx;
display: flex;
}
.left {
flex: 1;
font-weight: 600;
}
.name {
margin-bottom: 15rpx;
font-size: 34rpx;
margin-top: 10rpx;
}
.time {
background-color: #f6d4a6;
font-size: 26rpx;
display: inline-block;
color: #eb5941;
line-height: 48rpx;
padding: 0 10rpx;
border-radius: 10rpx;
}
.time.active {
background-color: #b1b1b1;
color: #464646;
}
.right {
color: #835529;
}
.right-prop {
font-size: 52rpx;
font-weight: 600;
display: flex;
}
.right-prop text {
font-size: 28rpx;
margin-top: 10rpx;
padding-right: 6rpx;
}
.right-tips {
font-size: 26rpx;
text-align: center;
}
.right.active {
color: #464646;
}
.bottom {
border-top: 2rpx dashed #dfc796;
display: flex;
font-size: 28rpx;
padding-top: 20rpx;
margin-top: 30rpx;
}
.bottom.active {
border-color: #adadad;
}
.tips {
color: #b18c5d;
line-height: 58rpx;
flex: 1;
}
.tips.active {
color: #464646;
}
.btn {
background-image: linear-gradient(to right, #d8a76a, #b37a3e);
border-radius: 70rpx;
color: #ffffff;
padding: 0 30rpx;
height: 58rpx;
line-height: 58rpx;
font-weight: 600;
border: 2rpx solid #c38d4c;
}
.btn.active {
background-image: linear-gradient(to right, #8f8f8f, #a7a7a7);
color: #000;
border-color: #a7a7a7;
}