Files
wxapp_companion/pages/healthprofile/index.less
T
lik 5915396192 feat: 界面切换暖色主题
统一配色/圆角/间距与图标资源,订单页结构简化,
健康档案与订单编辑交互调整;附主题色方案文档
2026-11-08 12:01:55 +08:00

136 lines
2.0 KiB
Plaintext

/* pages/healthprofile/index.less */
page {
background-color: #FAF6F1;
color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.profile-page {
padding: 24rpx;
padding-bottom: 48rpx;
}
.card {
background-color: #ffffff;
border-radius: 24rpx;
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04);
}
/* 头部统计卡 */
.header-card {
background: #C26A2E;
border-radius: 24rpx;
padding: 32rpx;
color: #ffffff;
box-shadow: 0 8rpx 24rpx rgba(180, 85, 42, 0.25);
}
.header-row {
display: flex;
justify-content: space-between;
align-items: center;
}
.header-title {
font-size: 32rpx;
font-weight: 600;
}
.stat-center {
margin-top: 36rpx;
display: flex;
flex-direction: column;
align-items: center;
}
.stat-label {
font-size: 24rpx;
opacity: 0.9;
}
.stat-value {
display: flex;
align-items: baseline;
margin-top: 8rpx;
font-weight: 600;
}
.stat-num {
font-size: 64rpx;
font-weight: 700;
line-height: 1.1;
}
.stat-unit {
font-size: 26rpx;
margin-left: 8rpx;
}
/* 常用功能 */
.section {
margin-top: 32rpx;
}
.section-title {
display: block;
font-size: 32rpx;
font-weight: 700;
color: #2A211B;
margin-left: 8rpx;
}
.quick-grid {
margin-top: 16rpx;
padding: 24rpx 0 0;
display: flex;
flex-wrap: wrap;
}
.quick-item {
width: 25%;
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 28rpx;
}
.quick-item:active {
opacity: 0.7;
}
.quick-icon {
width: 80rpx;
height: 80rpx;
background-color: #FBEEDF;
border-radius: 20rpx;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 12rpx;
}
.quick-label {
font-size: 24rpx;
color: #3A322B;
}
/* 健康档案列表 */
.profile-list {
margin-top: 16rpx;
padding: 0 24rpx;
patient-info {
display: block;
padding: 24rpx 0;
border-bottom: 1rpx solid #F3EEE8;
&:last-child {
border-bottom: none;
}
&:active {
opacity: 0.7;
}
}
}