mrr.sj.front/unpackage/dist/dev/mp-weixin/pages/lottery/list.wxss

131 lines
3.1 KiB
Plaintext

.container .tab-nav {
display: flex;
justify-content: space-between;
padding: 0 80rpx;
background: #fff;
}
.container .tab-nav .tab-item {
padding: 30rpx 0rpx 40rpx 0rpx;
cursor: pointer;
font-weight: 500;
font-size: 30rpx;
color: #333333;
line-height: 42rpx;
text-align: left;
font-style: normal;
/* 预先设置透明边框,防止切换时布局跳动 */
}
.container .tab-nav .tab-item.active {
color: #e8101e;
font-weight: 500;
position: relative;
}
.container .tab-nav .tab-item.active:after {
content: "";
position: absolute;
bottom: 27rpx;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
/* 激活时显示红色边框 */
width: 34rpx;
height: 6rpx;
background: linear-gradient(306deg, #e8101e 0%, #fc563b 100%);
border-radius: 3rpx;
}
.container .scoll-lists .scoll-lists-item {
padding: 20rpx 20rpx 12rpx 20rpx;
background: #FFFFFF;
border-radius: 20rpx;
margin-bottom: 20rpx;
}
.container .scoll-lists .scoll-lists-item .prize-img {
width: 140rpx;
height: 140rpx;
border-radius: 20rpx;
aspect-ratio: 1;
object-fit: contain;
margin-right: 24rpx;
}
.container .scoll-lists .scoll-lists-item .prize-info {
flex: 1;
}
.container .scoll-lists .scoll-lists-item .prize-info .prize-title {
margin-bottom: 10rpx;
font-weight: 500;
font-size: 28rpx;
color: #333333;
line-height: 40rpx;
text-align: left;
font-style: normal;
max-width: 500rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.container .scoll-lists .scoll-lists-item .prize-info .invite-time {
font-weight: 400;
font-size: 24rpx;
color: #666666;
line-height: 33rpx;
text-align: left;
font-style: normal;
margin-bottom: 28rpx;
}
.container .scoll-lists .scoll-lists-item .prize-info .award-type {
padding: 0 8rpx;
height: 37rpx;
border-radius: 10rpx;
border: 1rpx solid rgba(210, 87, 85, 0.5);
font-weight: 400;
font-size: 20rpx;
color: #DB2B28;
line-height: 37rpx;
text-align: left;
font-style: normal;
width: -webkit-fit-content;
width: fit-content;
-webkit-transform: translateY(-12rpx);
transform: translateY(-12rpx);
}
.container .scoll-lists .scoll-lists-item .bottom-bar {
padding-top: 22rpx;
border-top: 1rpx solid #F1F1F1;
margin-top: 22rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.container .scoll-lists .scoll-lists-item .bottom-bar .expire-time {
font-weight: 400;
font-size: 24rpx;
color: #666666;
line-height: 33rpx;
text-align: left;
font-style: normal;
}
.container .scoll-lists .scoll-lists-item .bottom-bar .address-btn {
height: 47rpx;
padding: 0 20rpx;
background: #F43642;
border-radius: 24rpx;
font-weight: 400;
font-size: 24rpx;
color: #FFFFFF;
text-align: left;
font-style: normal;
}
.container .scoll-lists .scoll-lists-item .bottom-bar .address-btn .address-btn-img {
width: 25rpx;
height: 25rpx;
margin-right: 8rpx;
}
.common-list {
background: #f5f5f5 !important;
padding-bottom: 0rpx!important;
}
.common-list .list-container {
padding: 0 20rpx!important;
}