139 lines
2.2 KiB
CSS
139 lines
2.2 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
page {
|
|
background-color: #f6f7fb;
|
|
}
|
|
|
|
.community-list-container {
|
|
padding: 20rpx;
|
|
}
|
|
|
|
.community-list {
|
|
width: 100%;
|
|
}
|
|
|
|
.community-item-box {
|
|
background-color: #fff;
|
|
border-radius: 12rpx;
|
|
padding: 30rpx;
|
|
margin-bottom: 20rpx;
|
|
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.community-item {
|
|
display: flex;
|
|
}
|
|
|
|
.community-image {
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
border-radius: 12rpx;
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
margin-right: 30rpx;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
.community-image image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.community-info {
|
|
min-height: 200rpx;
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.community-name {
|
|
font-size: 36rpx;
|
|
font-weight: 600;
|
|
color: #333;
|
|
line-height: 50rpx;
|
|
}
|
|
|
|
.community-property {
|
|
font-size: 24rpx;
|
|
color: #666;
|
|
line-height: 40rpx;
|
|
margin-top: 10rpx;
|
|
}
|
|
|
|
.community-distance {
|
|
display: inline-block;
|
|
border: 1rpx solid #5ba6ec;
|
|
color: #5ba6ec;
|
|
font-size: 24rpx;
|
|
font-weight: bold;
|
|
padding: 5rpx 15rpx;
|
|
border-radius: 15rpx;
|
|
margin-top: 10rpx;
|
|
}
|
|
|
|
.community-buttons {
|
|
display: flex;
|
|
gap: 20rpx;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.community-action-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: #f0f2f5;
|
|
border-radius: 24rpx;
|
|
padding: 8rpx 16rpx;
|
|
font-size: 24rpx;
|
|
color: #666;
|
|
}
|
|
|
|
.btn-icon {
|
|
margin-right: 6rpx;
|
|
font-size: 22rpx;
|
|
}
|
|
|
|
.btn-text {
|
|
font-size: 24rpx;
|
|
margin-left: 5rpx;
|
|
}
|
|
|
|
#local {
|
|
height: 30rpx;
|
|
width: 28.08rpx;
|
|
margin-right: 17rpx;
|
|
}
|
|
|
|
.community-address {
|
|
display: flex;
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
font-weight: bold;
|
|
line-height: 36rpx;
|
|
margin-top: 30rpx;
|
|
}
|
|
|
|
.community-address-text {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 1;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.enter-btn {
|
|
width: 120rpx;
|
|
height: 40rpx;
|
|
background: #7bc327;
|
|
color: #fff;
|
|
font-size: 24rpx;
|
|
border-radius: 10rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
bottom: 5rpx;
|
|
right: 0rpx;
|
|
} |