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
+8 -8
View File
@@ -1,26 +1,26 @@
/* pages/me/index.less */
page {
background-color: #f5f6fa;
color: #1a1a2e;
background-color: #FAF6F1;
color: #2A211B;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.page {
min-height: 100vh;
background: #f5f6fa;
background: #FAF6F1;
box-sizing: border-box;
padding: 24rpx;
}
/* === 用户信息卡 === */
.header-card {
background: linear-gradient(135deg, #2dd36f, #17c3a5);
background: #C26A2E;
border-radius: 24rpx;
padding: 40rpx 32rpx;
display: flex;
align-items: center;
color: #ffffff;
box-shadow: 0 8rpx 24rpx rgba(23, 195, 165, 0.25);
box-shadow: 0 8rpx 24rpx rgba(180, 85, 42, 0.25);
}
.avatar {
@@ -80,7 +80,7 @@ page {
padding: 28rpx 0;
& + .info-item {
border-top: 1rpx solid #f0f1f5;
border-top: 1rpx solid #F0EAE2;
}
}
@@ -92,12 +92,12 @@ page {
.info-label {
margin-left: 16rpx;
font-size: 28rpx;
color: #6b7280;
color: #6F655C;
}
.info-value {
font-size: 28rpx;
color: #1a1a2e;
color: #2A211B;
max-width: 400rpx;
text-align: right;
overflow: hidden;
+6 -6
View File
@@ -16,42 +16,42 @@
<view class="info-card">
<view class="info-item">
<view class="info-left">
<t-icon name="user" size="36rpx" color="#1abc9c" />
<t-icon name="user" size="36rpx" color="#C26A2E" />
<text class="info-label">性别</text>
</view>
<text class="info-value">{{user.sexLabel}}</text>
</view>
<view class="info-item">
<view class="info-left">
<t-icon name="calendar" size="36rpx" color="#1abc9c" />
<t-icon name="calendar" size="36rpx" color="#C26A2E" />
<text class="info-label">出生日期</text>
</view>
<text class="info-value">{{user.birthText || '未填写'}}</text>
</view>
<view class="info-item">
<view class="info-left">
<t-icon name="mail" size="36rpx" color="#1abc9c" />
<t-icon name="mail" size="36rpx" color="#C26A2E" />
<text class="info-label">邮箱</text>
</view>
<text class="info-value">{{user.email || '未填写'}}</text>
</view>
<view class="info-item">
<view class="info-left">
<t-icon name="id-card" size="36rpx" color="#1abc9c" />
<t-icon name="id-card" size="36rpx" color="#C26A2E" />
<text class="info-label">身份证号</text>
</view>
<text class="info-value">{{user.idnumber || '未填写'}}</text>
</view>
<view class="info-item">
<view class="info-left">
<t-icon name="location" size="36rpx" color="#1abc9c" />
<t-icon name="location" size="36rpx" color="#C26A2E" />
<text class="info-label">所在地区</text>
</view>
<text class="info-value">{{user.locationText || '未填写'}}</text>
</view>
<view class="info-item">
<view class="info-left">
<t-icon name="time" size="36rpx" color="#1abc9c" />
<t-icon name="time" size="36rpx" color="#C26A2E" />
<text class="info-label">注册时间</text>
</view>
<text class="info-value">{{user.createText || '未知'}}</text>