176 lines
2.6 KiB
CSS
176 lines
2.6 KiB
CSS
.container {
|
|
height: 95vh;
|
|
}
|
|
|
|
/* 位置和搜索样式 */
|
|
#local {
|
|
height: 30rpx;
|
|
width: 28.08rpx;
|
|
margin-right: 17rpx;
|
|
}
|
|
|
|
.location-search {
|
|
display: flex;
|
|
padding: 16rpx 30rpx;
|
|
/* background-color: #f5f7fb; */
|
|
border-radius: 60rpx;
|
|
gap: 16rpx;
|
|
height: 35rpx;
|
|
margin-top: 15rpx;
|
|
align-items: center;
|
|
}
|
|
|
|
.location {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8rpx;
|
|
padding-right: 16rpx;
|
|
}
|
|
|
|
.location-text {
|
|
font-size: 26rpx;
|
|
color: #333;
|
|
}
|
|
|
|
.arrow-down {
|
|
width: 24rpx;
|
|
height: 24rpx;
|
|
}
|
|
|
|
.search-box {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12rpx;
|
|
background-color: #f5f7fb;
|
|
border-radius: 60rpx;
|
|
padding: 15rpx 24rpx;
|
|
}
|
|
|
|
.search-icon {
|
|
width: 25rpx;
|
|
height: 25rpx;
|
|
margin-right: 5rpx;
|
|
}
|
|
|
|
.search-placeholder {
|
|
font-size: 26rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.main {
|
|
margin-top: 20rpx;
|
|
display: flex;
|
|
height: calc(100vh - 20rpx);
|
|
}
|
|
|
|
.left-menu {
|
|
width: 200rpx;
|
|
height: 100%;
|
|
background-color: #f5f7fb;
|
|
border-right: 1rpx solid #eee;
|
|
}
|
|
|
|
.menu-scroll {
|
|
height: 100%;
|
|
}
|
|
|
|
.menu-item {
|
|
height: 100rpx;
|
|
line-height: 100rpx;
|
|
text-align: center;
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
position: relative;
|
|
}
|
|
|
|
.menu-item.active {
|
|
background-color: #fff;
|
|
color: #333;
|
|
}
|
|
|
|
.menu-item.active::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 8rpx;
|
|
height: 100%;
|
|
}
|
|
|
|
.right-content {
|
|
flex: 1;
|
|
height: 100%;
|
|
padding: 20rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.content-scroll {
|
|
height: 100%;
|
|
}
|
|
|
|
.content-img{
|
|
height: 200rpx;
|
|
border-radius: 20rpx;
|
|
}
|
|
|
|
.content-section {
|
|
/* margin-bottom: 30rpx; */
|
|
}
|
|
|
|
.section-text{
|
|
margin-right: 10rpx;
|
|
color: #ed3d16;
|
|
}
|
|
|
|
.section-title {
|
|
height: 80rpx;
|
|
line-height: 80rpx;
|
|
font-size: 28rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
border-bottom: 1rpx solid #eee;
|
|
}
|
|
|
|
.section-content {
|
|
padding: 20rpx 0;
|
|
}
|
|
|
|
.service-category {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 20rpx;
|
|
padding: 20rpx;
|
|
background-color: #fff;
|
|
/* margin-bottom: 20rpx; */
|
|
}
|
|
|
|
.category-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.category-icon {
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
margin-bottom: 12rpx;
|
|
border-radius: 10rpx;
|
|
}
|
|
|
|
.category-name {
|
|
font-size: 24rpx;
|
|
color: #333;
|
|
}
|
|
|
|
.content-item {
|
|
height: 150rpx;
|
|
margin-bottom: 20rpx;
|
|
background-color: #f9f9f9;
|
|
border-radius: 10rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
} |