xz_mini/pages/activity/activity.wxss
dong_bo0602 d4bb4f1c78 0329
2022-03-29 11:05:37 +08:00

101 lines
1.7 KiB
Plaintext

.activity{
padding: 20rpx 30rpx 0;
margin-top: 80rpx;
}
.activity-box{
margin-bottom: 20rpx;
box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
border-radius: 10rpx;
overflow: hidden;
}
.activity-img{
height: 320rpx;
position: relative;
}
.activity-img image{
width: 100%;
height: 100%;
}
.corner{
position: absolute;
top: 20rpx;
right: 20rpx;
display: flex;
color: #fff;
}
.corner view{
padding: 0 10rpx;
background: rgba(0,0,0,0.6);
line-height: 40rpx;
vertical-align: middle;
display: flex;
align-items: center;
border-radius: 5rpx;
}
.view-count{
margin-right: 20rpx;
}
.view-count image{
width: 40rpx;
height: 40rpx;
}
.activity-info{
padding: 15rpx 20rpx;
}
.title{
display: flex;
justify-content: space-between;
}
.activity-title{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 32rpx;
color: #242424;
line-height: 40rpx;
font-weight: bold;
}
.sign{
position: absolute;
top:0;
right: 0;
background: linear-gradient(90deg, rgba(21, 113, 250, 0.97), rgba(21, 183, 250, 0.97));
color: #fff;
border-top-left-radius: 0;
border-top-right-radius: 10rpx;
border-bottom-left-radius: 20rpx;
border-bottom-right-radius: 0;
padding: 5rpx 20rpx;
line-height: 40rpx;
font-size: 28rpx;
}
.date{
margin-top: 10rpx;
font-size: 24rpx;
color: #999;
}
.date image{
width: 20rpx;
height: 20rpx;
}
.area{
position: fixed;
top: 0;
left: 0;
right: 0;
height: 80rpx;
white-space: nowrap;
overflow-x: auto;
background: #FFF;
z-index: 100;
}
.area-box{
display: inline-block;
width: 25%;
line-height: 80rpx;
text-align: center;
font-size: 30rpx;
}
.area-box.active{
color: #125CE1;
}