feat: 界面切换暖色主题

统一配色/圆角/间距与图标资源,订单页结构简化,
健康档案与订单编辑交互调整;附主题色方案文档
This commit is contained in:
lik
2026-11-08 12:01:55 +08:00
parent c8bcc79865
commit 5915396192
19 changed files with 617 additions and 330 deletions
+24 -24
View File
@@ -1,6 +1,6 @@
page {
background: #ededed;
color: #1a1a2e;
background: #F4EFE9;
color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
@@ -10,13 +10,13 @@ page {
box-sizing: border-box;
}
/* === 用户卡片(翡翠绿,呼应首页头部) === */
/* === 用户卡片(暖棕主色,呼应首页头部) === */
.user-card {
position: relative;
overflow: hidden;
background: linear-gradient(135deg, #29b785 0%, #1a8a63 100%);
background: #C26A2E;
border-radius: 28rpx;
box-shadow: 0 12rpx 32rpx rgba(26, 138, 99, 0.25);
box-shadow: 0 12rpx 32rpx rgba(122, 62, 29, 0.25);
margin-bottom: 32rpx;
}
@@ -134,7 +134,7 @@ page {
.login-btn-text {
font-size: 26rpx;
color: #1a8a63;
color: #C26A2E;
font-weight: 600;
}
@@ -146,8 +146,8 @@ page {
.card {
background-color: #ffffff;
border-radius: 24rpx;
border: 1rpx solid rgba(31, 61, 56, 0.06);
box-shadow: 0 6rpx 20rpx rgba(31, 61, 56, 0.07);
border: 1rpx solid rgba(90, 62, 42, 0.06);
box-shadow: 0 6rpx 20rpx rgba(90, 62, 42, 0.07);
}
.menu-list {
@@ -159,7 +159,7 @@ page {
align-items: center;
justify-content: space-between;
padding: 28rpx 0;
border-bottom: 1rpx solid rgba(31, 61, 56, 0.06);
border-bottom: 1rpx solid rgba(90, 62, 42, 0.06);
transition: opacity 0.2s ease;
}
@@ -181,24 +181,24 @@ page {
width: 64rpx;
height: 64rpx;
border-radius: 18rpx;
background-color: rgba(26, 138, 99, 0.08);
background-color: rgba(194, 106, 46, 0.08);
display: flex;
align-items: center;
justify-content: center;
}
.menu-icon.danger-bg {
background-color: rgba(224, 90, 78, 0.08);
background-color: rgba(192, 86, 74, 0.08);
}
.menu-title {
font-size: 28rpx;
color: #1a1a1a;
color: #2A211B;
font-weight: 500;
}
.menu-title.danger {
color: #e05a4e;
color: #C0564A;
}
/* === 版本信息 === */
@@ -211,7 +211,7 @@ page {
.version-text {
font-size: 24rpx;
color: #9fb0a9;
color: #A3988B;
}
/* === 登录弹窗 === */
@@ -234,7 +234,7 @@ page {
background-color: #ffffff;
border-radius: 28rpx;
overflow: hidden;
box-shadow: 0 16rpx 48rpx rgba(31, 61, 56, 0.18);
box-shadow: 0 16rpx 48rpx rgba(90, 62, 42, 0.18);
}
.popup-header {
@@ -247,7 +247,7 @@ page {
.popup-title {
font-size: 32rpx;
font-weight: 600;
color: #1a1a1a;
color: #2A211B;
}
.popup-close {
@@ -260,7 +260,7 @@ page {
}
.popup-close:active {
background-color: #f3f4f6;
background-color: #F4EFE9;
}
.popup-body {
@@ -278,7 +278,7 @@ page {
.form-label {
display: block;
font-size: 26rpx;
color: #6b7280;
color: #6F655C;
margin-bottom: 12rpx;
font-weight: 500;
}
@@ -286,17 +286,17 @@ page {
.form-input {
width: 100%;
height: 80rpx;
background-color: #f7f9f8;
background-color: #FAF6F1;
border-radius: 16rpx;
padding: 0 24rpx;
font-size: 28rpx;
color: #1a1a1a;
color: #2A211B;
box-sizing: border-box;
border: 1rpx solid #e5eae8;
border: 1rpx solid #EAE1D6;
}
.form-input:focus {
border-color: #1a8a63;
border-color: #C26A2E;
}
.popup-footer {
@@ -306,12 +306,12 @@ page {
.submit-btn {
width: 100%;
height: 88rpx;
background: linear-gradient(135deg, #29b785, #1a8a63);
background: #C26A2E;
border-radius: 44rpx;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 6rpx 18rpx rgba(26, 138, 99, 0.28);
box-shadow: 0 6rpx 18rpx rgba(122, 62, 29, 0.28);
transition: all 0.2s ease;
}