syshxcx/pages/index/index.wxss

273 lines
4.3 KiB
Plaintext
Raw Normal View History

2022-06-07 15:43:05 +08:00
/* page{
background-color: #fff;
} */
.community{
display: flex;
justify-content: space-between;
padding: 20rpx 20rpx 150rpx;
border-bottom-left-radius: 80rpx;
border-bottom-right-radius: 80rpx;
background-color: #FF4949;
font-size: 32rpx;
color: #fff;
}
.change-community{
font-size: 40rpx;
}
.change-community image{
width: 28rpx;
height: 28rpx;
vertical-align: middle;
margin-top: -10rpx;
}
.join-community image{
width: 28rpx;
height: 28rpx;
}
.card-container{
padding: 20rpx;
position: relative;
margin-top: -140rpx;
}
.card{
width: 100%;
height: 0;
padding-bottom: 56%;
margin-bottom: 20rpx;
box-sizing: border-box;
border-radius: 10rpx;
overflow: hidden;
position: relative;
background-color: #fff;
}
.mid {
display: flex;
width: 100%;
position: relative;
}
.mid-box {
flex-shrink: 0;
width: 32% !important;
margin-right: 2% !important;
display: flex;
flex-direction: column;
align-items: left;
justify-content: left;
border: 2rpx solid #EAC390;
border-radius: 10rpx;
background-color: white;
font-weight: normal;
padding: 10rpx;
}
.mid-box:last-child{
margin-right: 0;
}
.mid-box text{
text-align: center;
line-height: 16px;
height: 16px;
font-size: 15px;
color: #CCC;
}
.mid-box image {
width: 48rpx;
height: 48rpx;
}
.mid-box-text{
font-size: 28rpx;
text-align: left;
}
.good {
display: flex;
justify-content: space-between;
padding-left: 20rpx;
width: 100%;
padding-top: 20rpx;
padding-bottom: 20rpx;
}
.good-click {
display: flex;
}
.good-avatar {
font-size: 0;
}
.good-avatar, .good-click {
line-height: 45rpx;
color: #333;
}
.view-count {
margin-right: 30rpx;
padding-right: 30rpx;
border-right: 1px solid #808080;
color: #808080;
display: flex;
flex-direction: row;
font-size: 36rpx;
}
.view-count-no {
padding-right: 30rpx;
color: #808080;
display: flex;
flex-direction: row;
align-items: center;
font-size: 36rpx;
}
.view-count image, .view-count-no image {
width: 32rpx;
height: 32rpx;
}
.tab{
display: flex;
justify-content: space-between;
background-color: #fff;
padding: 30rpx 0;
}
.tab-box{
flex: 1;
text-align: center;
}
.tab-box image{
width: 80rpx;
height: 80rpx;
}
.tab-text{
font-size: 30rpx;
padding: 0 10rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.notice{
margin-top: 15rpx;
padding: 20rpx;
background-color: #fff;
}
.notice-title{
font-size: 36rpx;
font-weight: bold;
margin-bottom: 20rpx;
display: flex;
justify-content: space-between;
}
.notice-box{
padding: 20rpx 0;
border-bottom: 1px solid #F9FAFC;
display: flex;
justify-content: space-between;
}
.notice-box:last-child{
border-bottom: none;
}
.title-text{
padding-left: 20rpx;
line-height: 50rpx;
position: relative;
}
.title-text:after{
content: '';
display: block;
width: 5px;
height: 39rpx;
background-color: #f55054;
position: absolute;
top: 7rpx;
left: 0;
}
.notice-title-text{
font-size: 34rpx;
}
.notice-more{
font-size: 28rpx;
color: #BBB;
font-weight: normal;
line-height: 50rpx;
}
.notice-time{
font-size: 28rpx;
color: rgba(16, 16, 16, 0.7);
line-height: 45rpx;
margin: 6rpx 0;
}
.notice-img{
width: 200rpx;
height: 140rpx;
text-align: center;
}
.notice-img image{
height: 100%;
}
.notice-info{
width: 490rpx;
}
.card-area{
position: absolute;
}
.photo{
top: 0;
bottom: 0;
left: 10px;
width: 300rpx;
}
.photo image{
height: 100%;
max-width: 100%;
}
.name{
top: 40rpx;
left: 340rpx;
font-size: 36rpx;
font-weight: bold;
}
.phone{
left: 340rpx;
bottom: 160rpx;
font-size: 28rpx;
line-height: 30rpx;
color: #a8a8a8;
}
.phone image{
width: 30rpx;
height: 30rpx;
vertical-align: middle;
margin-top: -8rpx;
}
.position{
bottom: 120rpx;
}
.qr-code{
position: absolute;
bottom: 30rpx;
right: 24rpx;
width: 60rpx;
height: 60rpx;
}
.qr-code image{
width: 100%;
height: 100%;
}
.notice-from{
display: flex;
justify-content: space-between;
font-size: 28rpx;
}
.notice-more image{
height: 24rpx;
vertical-align: top;
margin-top: 14rpx;
}
.card-img{
position: absolute;
width: 100%;
height: 100%;
}
.card-img image{
width: 100%;
height: 100%;
}
.white-name{
font-size: 34rpx;
color: #fff;
top: 26rpx;
left: 10rpx;
font-weight: normal;
}