Files
wxapp_escort/pages/home/index.wxss
2026-05-28 17:06:18 +08:00

245 lines
3.5 KiB
Plaintext

page {
background-color: #F5F7F6;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.container {
min-height: 100vh;
padding-bottom: 40rpx;
}
/* 顶部导航栏 */
.nav-bar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 120rpx 32rpx 20rpx 32rpx;
background: #FFFFFF;
}
.nav-logo {
display: flex;
align-items: center;
}
.logo-icon {
width: 56rpx;
height: 56rpx;
border-radius: 16rpx;
background: #FFFFFF;
padding: 4rpx;
}
.logo-text {
font-size: 36rpx;
font-weight: 700;
color: #1F2937;
margin-left: 16rpx;
}
.nav-actions {
display: flex;
align-items: center;
gap: 20rpx;
}
.nav-more {
display: flex;
align-items: center;
gap: 6rpx;
}
.nav-more .dot {
width: 8rpx;
height: 8rpx;
border-radius: 50%;
background: #1F2937;
}
.nav-circle {
width: 40rpx;
height: 40rpx;
border-radius: 50%;
border: 4rpx solid #1F2937;
}
/* Banner区域 */
.banner-section {
padding: 24rpx 32rpx;
background: #FFFFFF;
}
.banner-card {
background: #FFFFFF;
border-radius: 24rpx;
padding: 20rpx 32rpx;
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
overflow: hidden;
min-height: 280rpx;
}
.banner-bg {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.banner-text {
flex: 1;
z-index: 2;
display: flex;
flex-direction: column;
}
.banner-title {
font-size: 52rpx;
font-weight: 800;
color: #D4A853;
letter-spacing: 4rpx;
line-height: 1.2;
}
.banner-subtitle {
font-size: 52rpx;
font-weight: 800;
color: #2D6A4F;
letter-spacing: 4rpx;
line-height: 1.2;
}
.banner-en {
font-size: 26rpx;
color: #6B8E7B;
letter-spacing: 6rpx;
margin-top: 16rpx;
}
/* 服务卡片 */
.service-cards {
display: flex;
gap: 20rpx;
padding: 24rpx 32rpx;
/*margin-top: 18rpx;*/
background: #FFFFFF;
}
.service-card {
flex: 1;
background: #FFFFFF;
border-radius: 24rpx;
padding: 24rpx;
display: flex;
align-items: center;
justify-content: space-between;
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.06);
border: 2rpx solid #F0F0F0;
}
.card-img {
width: 90rpx;
height: 90rpx;
}
.card-info {
display: flex;
flex-direction: column;
flex: 1;
margin-left: 16rpx;
}
.service-card.vip .card-info {
margin-left: 0;
margin-right: 16rpx;
}
.card-title {
font-size: 30rpx;
font-weight: 700;
color: #1F2937;
margin-bottom: 8rpx;
}
.card-en {
font-size: 20rpx;
color: #9CA3AF;
line-height: 1.3;
}
/* 助诊服务 */
.assist-section {
background: #FFFFFF;
padding: 50rpx 32rpx;
}
.section-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 32rpx;
padding: 0rpx 30rpx;
}
.section-title-wrap {
display: flex;
align-items: center;
}
.section-icon {
margin-right: 12rpx;
color: #2D6A4F;
}
.section-title {
font-size: 34rpx;
font-weight: 700;
color: #1F2937;
}
.section-more {
font-size: 26rpx;
color: #2D6A4F;
}
.assist-grid {
display: flex;
flex-wrap: wrap;
}
.assist-item {
width: 25%;
display: flex;
flex-direction: column;
align-items: center;
padding: 20rpx 0;
}
.assist-icon-circle {
width: 96rpx;
height: 96rpx;
border-radius: 50%;
border: 2rpx solid #E8F0EC;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 16rpx;
background: #FFFFFF;
}
.assist-icon {
font-size: 44rpx;
}
.assist-name {
font-size: 28rpx;
color: #6B7280;
font-weight: 400;
}