Files
wxapp_escort/pages/home/index.wxss
2026-06-04 09:14:50 +08:00

274 lines
4.2 KiB
Plaintext

page {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.page-bg {
min-height: 100vh;
background: #F3F4F6;
}
.container {
padding: 0 22rpx 22rpx;
}
/* 顶部导航栏 */
.nav-bar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 120rpx 0 24rpx;
}
.nav-logo {
display: flex;
align-items: center;
}
.logo-icon {
width: 52rpx;
height: 52rpx;
border-radius: 14rpx;
}
.logo-text {
font-size: 32rpx;
font-weight: 600;
color: rgba(249, 115, 22, 0.8);
margin-left: 14rpx;
letter-spacing: 2rpx;
}
/* Banner区域 */
.banner-section {
margin-top: 8rpx;
}
.banner-card {
position: relative;
border-radius: 28rpx;
overflow: hidden;
height: 320rpx;
display: flex;
align-items: center;
box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.08);
}
.banner-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.banner-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(90deg, rgba(249, 115, 22, 0.8) 0%, rgba(251, 146, 60, 0.5) 50%, rgba(251, 191, 36, 0.15) 100%);
z-index: 2;
}
.banner-text {
position: relative;
z-index: 3;
padding: 0 40rpx;
display: flex;
flex-direction: column;
}
.banner-title {
font-size: 50rpx;
font-weight: 600;
color: #FFFFFF;
letter-spacing: 6rpx;
line-height: 1.2;
text-shadow: 0 4rpx 16rpx rgba(234, 88, 12, 0.3);
}
.banner-en {
font-size: 24rpx;
color: rgba(255, 255, 255, 0.95);
letter-spacing: 4rpx;
margin-top: 16rpx;
font-weight: 500;
}
/* 服务卡片 */
.service-cards {
display: flex;
gap: 20rpx;
margin-top: 28rpx;
}
.service-card {
flex: 1;
background: #FFFFFF;
border-radius: 24rpx;
padding: 28rpx 24rpx;
display: flex;
align-items: center;
justify-content: space-between;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
transition: transform 0.2s ease;
}
.service-card:active {
transform: scale(0.98);
}
.card-content {
display: flex;
flex-direction: column;
flex: 1;
}
.card-badge {
align-self: flex-start;
background: #FEF3C7;
color: #D97706;
font-size: 20rpx;
font-weight: 700;
padding: 4rpx 14rpx;
border-radius: 8rpx;
margin-bottom: 14rpx;
letter-spacing: 1rpx;
}
.vip-badge {
background: #DBEAFE;
color: #2563EB;
}
.card-title {
font-size: 30rpx;
font-weight: 700;
color: #111827;
margin-bottom: 6rpx;
}
.card-en {
font-size: 20rpx;
color: #9CA3AF;
line-height: 1.3;
font-weight: 400;
}
.card-icon-wrap {
width: 88rpx;
height: 88rpx;
border-radius: 22rpx;
background: #FEF9C3;
display: flex;
align-items: center;
justify-content: center;
margin-left: 16rpx;
flex-shrink: 0;
}
.vip-icon-wrap {
background: #DBEAFE;
}
.card-img {
width: 52rpx;
height: 52rpx;
}
/* 通用区块卡片 */
.section-card {
background: #FFFFFF;
border-radius: 24rpx;
padding: 32rpx 28rpx;
margin-top: 24rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
}
.section-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 24rpx;
}
.section-title-wrap {
display: flex;
align-items: center;
}
.section-accent {
width: 6rpx;
height: 32rpx;
background: #F59E0B;
border-radius: 4rpx;
margin-right: 14rpx;
}
.section-title {
font-size: 32rpx;
font-weight: 700;
color: #111827;
letter-spacing: 2rpx;
}
.section-more {
display: flex;
align-items: center;
font-size: 26rpx;
color: #6B7280;
font-weight: 500;
}
.more-icon {
margin-left: 4rpx;
color: #9CA3AF;
}
/* 网格 */
.assist-grid {
display: flex;
flex-wrap: wrap;
}
.assist-item {
width: 25%;
display: flex;
flex-direction: column;
align-items: center;
padding: 20rpx 0;
transition: transform 0.15s ease;
}
.assist-item:active {
transform: scale(0.95);
}
.assist-icon-circle {
width: 96rpx;
height: 96rpx;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 16rpx;
background: #F9FAFB;
border: 2rpx solid #F3F4F6;
}
.assist-icon {
color: #4B5563;
}
.assist-name {
font-size: 28rpx;
color: #4B5563;
font-weight: 500;
}
.footer-space {
height: 40rpx;
}