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

534 lines
9.4 KiB
Plaintext

.coupon-index-list {
padding: 32rpx 20rpx 20rpx;
}
.coupon-index-list-a {
background: #fff;
display: block;
border-radius: 8rpx;
overflow: hidden;
margin-bottom: 20rpx;
}
.coupon-list {
padding: 0;
position: relative;
}
.coupon-index-list-left {
position: relative;
height: 240rpx;
}
.coupon-index-list-left .tagtitle {
color: #fff;
position: absolute;
left: 24rpx;
top: 0;
height: 48rpx;
line-height: 48rpx;
font-weight: normal;
font-size: 24rpx;
border-bottom-left-radius: 8rpx;
border-bottom-right-radius: 8rpx;
padding: 0 20rpx;
width: 184rpx;
text-align: center;
display: inline-block;
}
.coupon-index-list-info {
border: none;
padding: 0 20rpx 0 32rpx;
margin-top: 72rpx;
}
.coupon-index-list-left .fui-list:before {
border: none;
}
.coupon-index-list-info .fui-list-media img {
width: 140rpx;
height: 140rpx;
border: 2rpx solid #e6e6e6;
}
.coupon-index-list-info .fui-list-inner .h3 {
font-size: 32rpx;
color: #051b28;
height: 60rpx;
overflow: hidden;
line-height: 60rpx;
font-weight: bold;
}
.coupon-index-list-info .fui-list-inner .coupon-time {
font-size: 24rpx;
color: #999999;
height: 40rpx;
overflow: hidden;
}
.coupon-list i {
width: 24rpx;
height: 24rpx;
display: block;
border-radius: 40rpx;
background: #fafafa;
position: absolute;
z-index: 10;
}
.coupon-top-i {
right: 148rpx;
top: -12rpx;
}
.coupon-bot-i {
right: 148rpx;
bottom: -12rpx;
}
.coupon-list .coupon-ling {
width: 160rpx;
height: 160rpx;
position: absolute;
display: block;
right: 40rpx;
top: -24rpx;
z-index: 9;
}
.coupon-list .coupon-ling image {
width: 100%;
height: 100%;
}
.coupon-index-list-right {
width: 160rpx;
height: 240rpx;
display: block;
margin: auto;
color: #fff;
padding: 20rpx 0 20rpx 0;
text-align: center;
border-radius: 8rpx;
}
.coupon-list-canvas {
position: relative;
text-align: center;
display: block;
height: 148rpx;
line-height: 38rpx;
z-index: 9;
}
.coupon-list-canvas canvas {
position: absolute;
left: 12rpx;
right: 40rpx;
width: 136rpx;
height: 148rpx;
z-index: 9;
}
.coupon-list-canvas strong {
display: block;
}
.coupon-list-canvas p {
display: block;
padding-top: 20rpx;
height: 60rpx;
line-height: 40rpx;
font-size: 28rpx;
overflow: hidden;
}
.coupon-list-ling {
display: inline-block;
font-style: normal;
font-size: 24rpx;
line-height: 40rpx;
border: 8rpx solid #cccaca;
background: #fff;
border-radius: 40rpx;
color: #4dbaff;
padding: 0 14rpx;
}
.coupon-list-ling.center {
margin-top: 80rpx;
}
.coupon-index-list-info .fui-list-inner .coupon-full {
min-height: 60rpx;
max-height: 80rpx;
font-size: 24rpx;
overflow: hidden;
color: #999;
line-height: 40rpx;
}
.coupon-full text {
font-size: 40rpx;
padding: 0 8rpx 0 0;
font-weight: bold;
}
.coupon-time {
font-size: 24rpx;
}
.coupon-time strong {
font-weight: normal;
}
.blue .coupon-index-list-right {
background: #42b5fe;
}
.blue .coupon-list-ling {
border: 8rpx solid #13a1fa;
color: #4dbaff;
}
.blue .coupon-index-list-left .tagtitle {
background: #43b6ff;
}
.blue .coupon-index-list-info .fui-list-inner .coupon-full {
color: #42b5fe;
}
.pink .coupon-index-list-right {
background: #f4558f;
}
.pink .coupon-list-ling {
border: 8rpx solid #dd2c6c;
color: #f44b89;
}
.pink .coupon-index-list-left .tagtitle {
background: #f55790;
}
.pink .coupon-index-list-info .fui-list-inner .coupon-full {
color: #f55790;
}
.red .coupon-index-list-right {
background: #f74a4a;
}
.red .coupon-list-ling {
border: 8rpx solid #da363a;
color: #f74a4a;
}
.red .coupon-index-list-left .tagtitle {
background: #f74a4a;
}
.red .coupon-index-list-info .fui-list-inner .coupon-full {
color: #f74a4a;
}
.disa .coupon-index-list-right {
background: #bcbcbc;
}
.disa .coupon-index-list-left {
background: #e5e5e5;
border-radius: 8rpx;
}
.disa .coupon-list-ling {
border: 8rpx solid #cccaca;
color: #848484;
background: #e5e5e5;
}
.disa .coupon-index-list-left .tagtitle {
background: #bcbcbc;
}
.disa .coupon-index-list-info .fui-list-inner .coupon-full {
color: #bcbcbc;
}
.disa .fui-list:active {
background: #e5e5e5;
}
.fui-list.noclick:active {
background: transparent;
}
.coupon-item {
height: 5rem;
margin-top: 0.5rem;
background: #ffffff;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
position: relative;
overflow: hidden;
}
.coupon-item:first-child {
margin-top: 0;
}
.coupon-dots {
height: inherit;
width: 0.4rem;
position: absolute;
top: 0;
left: -0.25rem;
z-index: 10;
}
.coupon-dots i {
height: 0.4rem;
width: 0.4rem;
border-radius: 0.4rem;
background: #ededed;
display: block;
}
.coupon-dots:before,.coupon-dots:after {
content: "";
height: 0.5rem;
width: 0.5rem;
background: #ededed;
border-radius: 0.5rem;
position: absolute;
left: 5.25rem;
}
.coupon-dots:before {
top: -0.25rem;
}
.coupon-dots:after {
bottom: -0.25rem;
}
.coupon-item .coupon-type {
width: 4rem;
text-align: center;
padding: 0.1rem 0;
background: #55b5ff;
font-size: 0.5rem;
color: #ffffff;
position: absolute;
top: 0;
right: 0;
transform: rotate(45deg);
transform-origin: 2rem 2rem;
z-index: 10;
}
.coupon-item .coupon-left {
height: inherit;
width: 5.25rem;
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.red .coupon-left,.coupon-item.red .coupon-type {
background: #fd5554;
}
.coupon-item.red .coupon-right .usetime .usebtn {
color: #fd5554;
border-color: #fd5554;
}
.coupon-item.red .coupon-right .subtitle.light {
color: #fd5554;
}
.coupon-item.pink .coupon-left,.coupon-item.pink .coupon-type {
background: #fd72d4;
}
.coupon-item.pink .coupon-right .usetime .usebtn {
color: #fd72d4;
border-color: #fd72d4;
}
.coupon-item.pink .coupon-right .subtitle.light {
color: #fd72d4;
}
.coupon-item.org .coupon-left,.coupon-item.org .coupon-type {
background: #ff913f;
}
.coupon-item.org .coupon-right .usetime .usebtn {
color: #ff913f;
border-color: #ff913f;
}
.coupon-item.org .coupon-right .subtitle.light {
color: #ff913f;
}
.coupon-item.disa .coupon-left,.coupon-item.disa .coupon-type {
background: #b3b3b3;
}
.coupon-item.disa .coupon-right .usetime .usebtn {
color: #b3b3b3;
border: 0;
}
.coupon-item.disa .coupon-right .subtitle.light {
color: #b3b3b3;
}
.coupon-item .coupon-left .title {
font-size: 1.2rem;
font-weight: bold;
}
.coupon-item .coupon-left .subtitle {
font-size: 0.6rem;
}
.coupon-item .coupon-left .single {
font-size: 1.5rem;
}
.coupon-item .coupon-left img {
height: 100%;
width: 100%;
}
.coupon-item .coupon-right {
padding: 0.5rem;
-webkit-box-flex: 1;
flex: 1;
}
.coupon-item .coupon-right .title {
font-size: 0.8rem;
height: 1.2rem;
color: #1a1a1a;
overflow: hidden;
}
.coupon-item .coupon-right .subtitle {
height: 0.9rem;
line-height: 0.9rem;
font-size: 0.7rem;
color: #666;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}
.coupon-item .coupon-right .subtitle.light {
color: #55b5ff;
}
.coupon-item.red .coupon-left,.coupon-item.red .coupon-type {
background: #fd5554;
}
.coupon-item.red .coupon-right .usetime .usebtn {
color: #fd5554;
border-color: #fd5554;
}
.coupon-item.red .coupon-right .subtitle.light {
color: #fd5554;
}
.coupon-item.pink .coupon-left,.coupon-item.pink .coupon-type {
background: #fd72d4;
}
.coupon-item.pink .coupon-right .usetime .usebtn {
color: #fd72d4;
border-color: #fd72d4;
}
.coupon-item.pink .coupon-right .subtitle.light {
color: #fd72d4;
}
.coupon-item.org .coupon-left,.coupon-item.org .coupon-type {
background: #ff913f;
}
.coupon-item.org .coupon-right .usetime .usebtn {
color: #ff913f;
border-color: #ff913f;
}
.coupon-item.org .coupon-right .subtitle.light {
color: #ff913f;
}
.coupon-item.disa .coupon-left,.coupon-item.disa .coupon-type {
background: #b3b3b3;
}
.coupon-item.disa .coupon-right .usetime .usebtn {
color: #b3b3b3;
border: 0;
}
.coupon-item.disa .coupon-right .subtitle.light {
color: #b3b3b3;
}
.coupon-item .coupon-right .subtitle.bold {
font-weight: bold;
}
.coupon-item .coupon-right .usetime {
line-height: 1.4rem;
font-size: 0.6rem;
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-right .usetime .usebtn {
height: 1.1rem;
width: 3.2rem;
line-height: 1.1rem;
text-align: center;
border: 1px solid #55b5ff;
border-radius: 1.1rem;
color: #55b5ff;
}
.coupon-item.org .coupon-right .usetime .usebtn {
color: #ff913f;
border-color: #ff913f;
}