syshxcx/pages/neighbor/neighbor.wxss
dong_bo0602 c7f6c43f46 0609
2022-06-09 15:40:43 +08:00

183 lines
2.9 KiB
Plaintext

.neighbor-top{
position: relative;
}
.top-bg, .top-bg image{
width: 100%;
}
.neighbor-info{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0,0,0,0.6);
padding: 20rpx;
color: #fff;
}
.neighbor-info picker{
font-size: 40rpx;
margin-bottom: 30rpx;
}
.neighbor-info .warm-tip{
font-size: 30rpx;
}
.topic{
margin-bottom: 20rpx;
}
.topic-box{
display: inline-block;
font-size: 30rpx;
line-height: 45rpx;
height: 45rpx;
padding: 0 15rpx;
background-color: rgba(255,255,255,0.35);
border-radius: 24rpx;
margin-right: 20rpx;
}
.neighbor-container{
margin-top: -100rpx;
padding: 20rpx 20rpx 0;
background-color: #fff;
position: relative;
border-top-left-radius: 30rpx;
border-top-right-radius: 30rpx;
}
.tab-box{
display: inline-block;
margin-right: 30rpx;
font-size: 32rpx;
color: #797979;
line-height: 60rpx;
}
.tab-box.active{
color: #000;
font-weight: bold;
border-bottom: 2px solid #FF4949;
}
.help-box{
padding: 20rpx 0;
border-bottom: 1px solid #F9FAFC;
}
.help-user{
display: flex;
}
.help-user image{
width: 100rpx;
height: 100rpx;
border-radius: 50%;
margin-right: 20rpx;
}
.user-name{
font-size: 30rpx;
font-weight: bold;
margin: 10rpx 0;
}
.user-name text{
background-color: #FF4949;
color: #fff;
padding: 5rpx 15rpx;
border-radius: 24rpx;
font-weight: normal;
font-size: 26rpx;
}
.user-time{
font-size: 28rpx;
color: #999;
}
.help-content{
margin-top: 20rpx;
font-size: 32rpx;
color: #101010;
}
.new{
position: fixed;
bottom: 40rpx;
right: 40rpx;
font-size: 0;
width: 120rpx;
height: 120rpx;
display: flex;
justify-content: center;
align-items: center;
/* text-align: center; */
/* line-height: 120rpx; */
color: #fff;
border-radius: 50%;
background-color: #FF4949;
}
.new image{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
height: 60rpx;
}
.help-photo{
margin-top: 20rpx;
}
.help-photo-box{
display: inline-block;
width: 32%;
height: 180rpx;
margin-right: 2%;
margin-bottom: 20rpx;
text-align: center;
position: relative;
overflow: hidden;
}
.help-photo-box:nth-child(3n){
margin-right: 0;
}
/* .help-photo-box image{
height: 100%;
} */
.photo-one{
width: 50%;
height: auto;
max-height: 600rpx;
}
.photo-one image{
max-width: 100%;
}
.photo-four image{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.photo-four:nth-child(3){
margin-right: 2%;
}
.photo-more image{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.help-video{
margin-top: 20rpx;
width: 65%;
}
.help-video video{
width: 100%;
}
.help-more{
font-size: 32rpx;
line-height: 70rpx;
}
.no-data{
padding: 50rpx 0;
text-align: center;
}
.no-data image{
width: 300rpx;
}
.neighbor-tab{
margin-bottom: 30rpx;
}
.picker image{
width: 28rpx;
height: 28rpx;
vertical-align: middle;
margin-top: -10rpx;
}