wpfw_ewei_wxapp/pages/public/coupon/index.wxss
2023-02-26 08:10:18 +08:00

198 lines
3.4 KiB
Plaintext

page {
background: #f9f9f9;
}
.fui-header {
background: #fff;
z-index: 99;
display: flex;
padding: 0 15rpx;
}
.fui-header .searchbar {
flex: 1;
background: #efefef;
border-radius: 8rpx;
margin-right: 15rpx;
display: flex;
overflow: hidden;
align-items: center;
}
.fui-header .searchbar icon {
height: 36rpx;
margin: 0 10rpx;
vertical-align: middle;
}
.fui-header .searchbar input {
border-radius: 8rpx;
padding-right: 10rpx;
width: 100%;
font-size: 30rpx;
background: transparent;
color: #444;
height: 60rpx;
line-height: 60rpx;
border: none;
}
.fui-header .search-btn {
color: #666;
}
.coupon-group {
padding: 20rpx;
}
.coupon-list {
height: auto;
padding: 0 20rpx 20rpx 20rpx;
overflow: hidden;
}
.coupon-item {
margin-top: 20rpx;
background: #ffffff;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
position: relative;
overflow: hidden;
height: 140rpx;
}
.coupon-dots {
height: inherit;
width: 16rpx;
position: absolute;
top: 0;
left: -10rpx;
z-index: 10;
}
.coupon-dots i {
height: 16rpx;
width: 16rpx;
border-radius: 16rpx;
background: #f5f5f5;
display: block;
}
.coupon-dots:before,.coupon-dots:after {
content: "";
height: 20rpx;
width: 20rpx;
background: #f5f5f5;
border-radius: 20rpx;
position: absolute;
left: 210rpx;
}
.coupon-dots:before {
top: -10rpx;
}
.coupon-dots:after {
bottom: -10rpx;
}
.coupon-item .coupon-left {
height: inherit;
width: 210rpx;
background: #55b5ff;
color: #fff;
text-align: center;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
flex-direction: column;
justify-content: center;
}
.coupon-item .coupon-left .single {
font-size: 60rpx;
}
.coupon-item .coupon-left .subtitle {
font-size: 24rpx;
}
.coupon-item .coupon-right {
padding: 20rpx;
-webkit-box-flex: 1;
flex: 1;
}
.coupon-item .coupon-right .title {
font-size: 0.8rem;
height: 48rpx;
color: #1a1a1a;
overflow: hidden;
}
.coupon-item .coupon-right .usetime {
line-height: 56rpx;
font-size: 24rpx;
color: #999;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.coupon-item .coupon-right .usetime .text {
-webkit-box-flex: 1;
flex: 1;
}
.coupon-item .coupon-after {
width: 160rpx;
padding-right: 20rpx;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
flex-direction: column;
justify-content: center;
}
.coupon-item .coupon-after .coupon-btn {
width: 140rpx;
height: 60rpx;
line-height: 60rpx;
border: 1px solid #55b5ff;
border-radius: 60rpx;
color: #55b5ff;
text-align: center;
font-size: 24rpx;
}
.coupon-item.pink .coupon-left,.coupon-item.pink .coupon-type {
background: #fd72d4;
}
.coupon-item.pink .coupon-after .coupon-btn {
border-color: #fd72d4;
color: #fd72d4;
}
.coupon-item.red .coupon-left,.coupon-item.red .coupon-type {
background: #fd5554;
}
.coupon-item.red .coupon-after .coupon-btn {
border-color: #fd5554;
color: #fd5554;
}
.coupon-item.org .coupon-left,.coupon-item.red .coupon-type {
background: #ff913f;
}
.coupon-item.org .coupon-after .coupon-btn {
border-color: #ff913f;
color: #ff913f;
}