xz_mini/pages/activity/activity.wxss

101 lines
1.7 KiB
Plaintext
Raw Normal View History

2020-06-23 19:14:44 +08:00
.activity{
padding: 20rpx 30rpx 0;
2020-08-06 16:49:55 +08:00
margin-top: 80rpx;
2020-06-23 19:14:44 +08:00
}
.activity-box{
margin-bottom: 20rpx;
2022-03-29 11:05:37 +08:00
box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
2020-06-23 19:14:44 +08:00
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;
2020-07-14 17:37:48 +08:00
font-size: 32rpx;
2020-06-23 19:14:44 +08:00
color: #242424;
line-height: 40rpx;
2022-03-29 11:05:37 +08:00
font-weight: bold;
2020-06-23 19:14:44 +08:00
}
.sign{
2022-03-29 11:05:37 +08:00
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;
2020-06-23 19:14:44 +08:00
line-height: 40rpx;
2020-07-14 17:37:48 +08:00
font-size: 28rpx;
2020-06-23 19:14:44 +08:00
}
.date{
margin-top: 10rpx;
2020-07-14 17:37:48 +08:00
font-size: 24rpx;
2022-03-29 11:05:37 +08:00
color: #999;
}
.date image{
width: 20rpx;
height: 20rpx;
2020-08-06 16:49:55 +08:00
}
.area{
position: fixed;
top: 0;
left: 0;
right: 0;
height: 80rpx;
white-space: nowrap;
overflow-x: auto;
2021-10-22 15:22:02 +08:00
background: #FFF;
z-index: 100;
2020-08-06 16:49:55 +08:00
}
.area-box{
display: inline-block;
width: 25%;
line-height: 80rpx;
text-align: center;
font-size: 30rpx;
}
.area-box.active{
2022-03-29 11:05:37 +08:00
color: #125CE1;
2020-06-23 19:14:44 +08:00
}