wlcb-miniapp-syzl/pages/cityCommunity/cityCommunity.wxss

93 lines
1.5 KiB
Plaintext
Raw Normal View History

2022-08-19 14:28:03 +08:00
.tab{
position: fixed;
top: 0;
left: 0;
right: 0;
display: flex;
border-bottom: 1px solid #DDD;
height: 80rpx;
box-sizing: border-box;
background: #fff;
z-index: 1000;
}
.tab-box{
flex: 1;
text-align: center;
font-size: 34rpx;
line-height: 80rpx;
}
.tab-box.active{
color: dodgerblue;
}
.content{
padding: 20rpx;
margin-top: 80rpx;
}
.community-name{
font-size: 32rpx;
line-height: 80rpx;
}
.intro{
line-height: 60rpx;
}
.grid-box{
display: flex;
justify-content: space-between;
margin-bottom: 20rpx;
box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
padding: 20rpx;
}
.grid-box image{
width: 120rpx;
}
.grid-info{
width: 520rpx;
}
.grid-name{
font-size: 34rpx;
}
.grid-text{
font-size: 30rpx;
}
.knowledge{
padding: 20rpx;
margin-top: 80rpx;
}
.knowledge-box{
display: flex;
justify-content: space-between;
box-shadow: 0px 2px 8px 0px rgba(35, 24, 21, 0.1);
padding: 20rpx;
border-radius: 10rpx;
margin-bottom: 20rpx;
}
.knowledge-box image{
width: 220rpx;
height: 156rpx;
border-radius: 10rpx;
}
.knowledge-info{
width: 420rpx;
}
.knowledge-title{
font-size: 34rpx;
color: #000;
font-weight: bold;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.summary{
font-size: 28rpx;
color: #999;
line-height: 40rpx;
overflow: hidden;
margin: 15rpx 0;
}
.bind{
display: inline-block;
color: #fff;
background: #4169E1;
padding: 5rpx 10rpx;
border-radius: 10rpx;
}