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

144 lines
2.5 KiB
Plaintext

.swiper-box, .swiper-box image{
width: 100%;
height: 380rpx;
}
.link{
padding: 15rpx 30rpx;
display: flex;
justify-content: space-between;
}
.link-box{
width: 49%;
background:#EDF4FE;
border-radius: 10rpx;
height: 145rpx;
padding: 30rpx 15rpx 0 30rpx;
box-sizing: border-box;
color: #fff;
justify-content: space-between;
display: flex;
}
.team-box{
background: #FFF7EC;
}
.big{
font-size: 28rpx;
color: #619EF3;
}
.small{
font-size: 24rpx;
color: #BDD4F4;
}
.team-box .big{
color: #F8B367;
}
.team-box .small{
color: #FBD8B2;
}
.img image{
width: 60rpx;
height: 60rpx;
}
.public-title{
font-size: 34rpx;
color: #122939;
font-weight: bold;
padding: 0 20rpx;
}
.title-text image{
position: absolute;
top: 0;
width: 10rpx;
height: 100%;
}
.activity{
padding: 20rpx 20rpx 0;
}
.activity-box{
margin-bottom: 20rpx;
box-shadow:0px 0px 17rpx 0px rgba(0,0,0,0.1);
border-radius: 10rpx;
overflow: hidden;
}
.activity-img{
height: 320rpx;
position: relative;
}
.activity-img image{
width: 100%;
height: 100%;
}
.corner{
position: absolute;
top: 0;
right: 0;
display: flex;
color: #fff;
width: 115rpx;
height: 45rpx;
display: flex;
justify-content: center;
align-items: center;
border-top-left-radius: 0;
border-top-right-radius: 10rpx;
border-bottom-left-radius: 20rpx;
font-size: 26rpx;
}
.corner.blue{
background: linear-gradient(90deg, rgba(21, 113, 250, 0.97), rgba(21, 183, 250, 0.97));
}
.corner.yellow{
background: linear-gradient(90deg, rgba(255, 164, 40, 0.97), rgba(247, 197, 46, 0.97));
}
.activity-info{
padding: 15rpx 20rpx;
}
.title{
display: flex;
justify-content: space-between;
}
.activity-title{
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 30rpx;
color: #122939;
line-height: 40rpx;
font-weight: bold;
}
.sign{
background: rgba(159,21,18,.1);
color: #9F1512;
border-radius: 10rpx;
padding: 0 20rpx;
line-height: 40rpx;
}
.date{
margin-top: 10rpx;
font-size: 26rpx;
color: #999;
}
.new-activity{
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding: 15rpx 30rpx;
background: #fff;
box-shadow:0 0 17rpx 0 rgba(0,0,0,0.1);
}
.new-activity-btn{
background: linear-gradient(90deg, rgba(21, 113, 250, 0.97), rgba(21, 183, 250, 0.97));
display: flex;
width: 100%;
height: 70rpx;
justify-content: center;
align-items: center;
border-radius: 36rpx;
font-size: 28rpx;
color: #fff;
}
.volunteer-activity{
margin-bottom: 105rpx;
}