You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1.6 KiB
78 lines
1.6 KiB
.service-page {
|
|
min-height: 100vh;
|
|
background-color: #f5f5f5;
|
|
padding: 20rpx;
|
|
|
|
/* 服务分类 */
|
|
.service-section {
|
|
background-color: #ffffff;
|
|
border-radius: 20rpx;
|
|
margin: 20rpx;
|
|
overflow: hidden;
|
|
box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.08);
|
|
|
|
/* 分类标题 */
|
|
.section-header {
|
|
padding: 40rpx 40rpx 30rpx 40rpx;
|
|
border-bottom: 2rpx solid #eee;
|
|
|
|
.section-title {
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
}
|
|
|
|
/* 服务网格 */
|
|
.service-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 0;
|
|
padding: 30rpx 20rpx;
|
|
|
|
.service-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 20rpx;
|
|
border-radius: 16rpx;
|
|
transition: all 0.3s ease;
|
|
cursor: pointer;
|
|
|
|
&:active {
|
|
transform: scale(0.95);
|
|
background-color: #f0f8ff;
|
|
}
|
|
|
|
/* 服务图标 */
|
|
.service-icon {
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
background-color: #f8f9fa;
|
|
border-radius: 16rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 16rpx;
|
|
|
|
.icon-emoji {
|
|
font-size: 36rpx;
|
|
}
|
|
}
|
|
|
|
/* 服务名称 */
|
|
.service-name {
|
|
font-size: 24rpx;
|
|
color: #333;
|
|
text-align: center;
|
|
line-height: 1.2;
|
|
max-width: 120rpx;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|