Browse Source

fix(mini-home): 三页门禁 P1 修复(对比度/触控/渐变/logout/死代码)

三页 health-main / growth-main / profile-main,仅令牌引用·色值·尺寸·删死代码,
不动业务逻辑/数据流/结构。

① 弱文字 $facade-text-muted(#999,2.85:1) → $facade-text-body(#666,≥5.04:1):
   health 7 / growth 5+chevron / profile 6 全换
② 触控提 min-height:88rpx(=44px):health data-card-btn/quiz-btn/plan-btn、
   growth reminder-close/section-more/quick-entry、
   profile exit-switch/upgrade-btn/ach-item/asset-cell/family-avatar-item
③ growth .status-done #10B981 → $dim-action-deep(#047857,5.31:1 on #F0FFF4)
④ profile user-card/exit-switch/service-center 渐变末色 $brand-primary-light →
   $uni-primary-dark(#6D28D9,白字 5.70–7.10);points-label/days-left/
   referrer-line/service-center-desc 半透明白 → 实色 $app-surface
⑤ profile .logout-text $status-danger-2(#FF4D4F,3.27) → $status-danger-deep(#DC2626,4.83)
⑥ profile family-avatar-tag 彩底 → 深档令牌(parent/wisdom、teacher/action、member/gray-600)
⑦ health .data-card-badge #b26a00/#fff3d6 → $dim-wealth-deep/$dim-wealth-tint(6.84:1);
   profile 内联 rgba(…,0.12) → ach-icon-{action,wealth,wisdom} 类引 dim tint 令牌
⑩ health 删死代码:import parseDate、hasAiQHistory、_wealthScore(已核无引用)

vue-template-compiler+acorn 三文件 0 error;零 ?./grid/:key违规;
四门禁+全量 jest 与未改动基线对照逐字节一致(零回归)。
Agnes Agent 28 minutes ago
parent
commit
75492317d8

+ 10 - 8
cfc-frontend/pages/growth-main/index.vue

@@ -531,7 +531,7 @@ $gg-tint-soft: $tint-warm-soft;               // 暖白浅底 #FFF1E6
 .gg-block { margin: 0 32rpx 24rpx; background: $app-surface; border-radius: 24rpx; padding: 24rpx; border: 1rpx solid $app-border-subtle; }
 .gg-block { margin: 0 32rpx 24rpx; background: $app-surface; border-radius: 24rpx; padding: 24rpx; border: 1rpx solid $app-border-subtle; }
 .gg-tag { font-size: calc(24rpx * var(--font-scale, 1)); font-weight: 700; color: $brand-primary; letter-spacing: 1rpx; }
 .gg-tag { font-size: calc(24rpx * var(--font-scale, 1)); font-weight: 700; color: $brand-primary; letter-spacing: 1rpx; }
 .gg-tag-row { display: flex; flex-direction: row; align-items: baseline; justify-content: space-between; }
 .gg-tag-row { display: flex; flex-direction: row; align-items: baseline; justify-content: space-between; }
-.gg-tag-note { font-size: calc(20rpx * var(--font-scale, 1)); color: $facade-text-muted; }
+.gg-tag-note { font-size: calc(20rpx * var(--font-scale, 1)); color: $facade-text-body; }
 
 
 /* 五维行动速览 */
 /* 五维行动速览 */
 .gg-acts { margin-top: 8rpx; display: flex; flex-direction: column; }
 .gg-acts { margin-top: 8rpx; display: flex; flex-direction: column; }
@@ -568,7 +568,7 @@ $gg-tint-soft: $tint-warm-soft;               // 暖白浅底 #FFF1E6
   box-shadow: 0 2rpx 12rpx rgba(249,115,22,0.08);
   box-shadow: 0 2rpx 12rpx rgba(249,115,22,0.08);
 }
 }
 .reminder-text { font-size: calc(24rpx * var(--font-scale, 1)); color: $c-danger-ink; font-weight: 500; }
 .reminder-text { font-size: calc(24rpx * var(--font-scale, 1)); color: $c-danger-ink; font-weight: 500; }
-.reminder-close { font-size: calc(28rpx * var(--font-scale, 1)); color: $facade-text-muted; }
+.reminder-close { font-size: calc(28rpx * var(--font-scale, 1)); color: $facade-text-body; padding: 30rpx 24rpx; margin: -30rpx -24rpx; }
 
 
 // ---- 成长里程碑(去重:仅保留进度类 = 连续打卡,一行呈现) ----
 // ---- 成长里程碑(去重:仅保留进度类 = 连续打卡,一行呈现) ----
 .milestone-section { margin-top: 20rpx; }
 .milestone-section { margin-top: 20rpx; }
@@ -619,7 +619,7 @@ $gg-tint-soft: $tint-warm-soft;               // 暖白浅底 #FFF1E6
 }
 }
 .progress-footer-text {
 .progress-footer-text {
   font-size: calc(22rpx * var(--font-scale, 1));
   font-size: calc(22rpx * var(--font-scale, 1));
-  color: $facade-text-muted;
+  color: $facade-text-body;
   font-weight: 500;
   font-weight: 500;
 }
 }
 .progress-grid {
 .progress-grid {
@@ -676,15 +676,15 @@ $gg-tint-soft: $tint-warm-soft;               // 暖白浅底 #FFF1E6
   padding: 4rpx 12rpx;
   padding: 4rpx 12rpx;
   border-radius: 999rpx;
   border-radius: 999rpx;
   background: $facade-fill-2;
   background: $facade-fill-2;
-  color: $facade-text-muted;
+  color: $facade-text-body;
 }
 }
 .status-done {
 .status-done {
   background: $dim-action-tint;
   background: $dim-action-tint;
-  color: $dim-action;
+  color: $dim-action-deep;
 }
 }
 .status-pending {
 .status-pending {
   background: $facade-fill-2;
   background: $facade-fill-2;
-  color: $facade-text-muted;
+  color: $facade-text-body;
 }
 }
 .progress-tile-more {
 .progress-tile-more {
   background: $facade-brand-tint;
   background: $facade-brand-tint;
@@ -709,6 +709,8 @@ $gg-tint-soft: $tint-warm-soft;               // 暖白浅底 #FFF1E6
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   padding: 22rpx 0;
   padding: 22rpx 0;
+  min-height: 88rpx;
+  box-sizing: border-box;
 }
 }
 .quick-entry + .quick-entry { border-top: 1rpx solid $app-border-subtle; }
 .quick-entry + .quick-entry { border-top: 1rpx solid $app-border-subtle; }
 .quick-entry:active { opacity: 0.85; }
 .quick-entry:active { opacity: 0.85; }
@@ -726,7 +728,7 @@ $gg-tint-soft: $tint-warm-soft;               // 暖白浅底 #FFF1E6
 }
 }
 .quick-entry-chev {
 .quick-entry-chev {
   font-size: calc(32rpx * var(--font-scale, 1));
   font-size: calc(32rpx * var(--font-scale, 1));
-  color: $facade-text-ghost;
+  color: $facade-text-body;
   flex-shrink: 0;
   flex-shrink: 0;
   margin-left: 12rpx;
   margin-left: 12rpx;
 }
 }
@@ -739,7 +741,7 @@ $gg-tint-soft: $tint-warm-soft;               // 暖白浅底 #FFF1E6
   margin-bottom: 12rpx;
   margin-bottom: 12rpx;
 }
 }
 .section-title { font-size: calc(28rpx * var(--font-scale, 1)); font-weight: 600; color: $facade-text-strong; }
 .section-title { font-size: calc(28rpx * var(--font-scale, 1)); font-weight: 600; color: $facade-text-strong; }
-.section-more { font-size: calc(24rpx * var(--font-scale, 1)); color: $brand-primary; }
+.section-more { font-size: calc(24rpx * var(--font-scale, 1)); color: $brand-primary; padding: 34rpx 16rpx; margin: -34rpx -16rpx; display: inline-flex; align-items: center; min-height: 44rpx; }
 
 
 .bottom-spacer { height: 40rpx; }
 .bottom-spacer { height: 40rpx; }
 </style>
 </style>

+ 11 - 18
cfc-frontend/pages/health-main/index.vue

@@ -253,7 +253,6 @@ import LoginGuideCard from '../../components/LoginGuideCard.vue'
 import RadarChart from '../../components/RadarChart.vue'
 import RadarChart from '../../components/RadarChart.vue'
 import ArticleFeed from '../../components/ArticleFeed.vue'
 import ArticleFeed from '../../components/ArticleFeed.vue'
 import BasePrimaryButton from '../../components/BasePrimaryButton.vue'
 import BasePrimaryButton from '../../components/BasePrimaryButton.vue'
-import { parseDate } from '../../utils/format.js'
 import { ensureDimensionRegistry, getRadarConfig, isRegistryReady, WEALTH_CHILD_LABEL } from '../../composables/useDimensionRegistry.js'
 import { ensureDimensionRegistry, getRadarConfig, isRegistryReady, WEALTH_CHILD_LABEL } from '../../composables/useDimensionRegistry.js'
 import fontScaleMixin from '@/mixins/font-scale.js'
 import fontScaleMixin from '@/mixins/font-scale.js'
 import shareMixin from '../../components/share-mixin.js'
 import shareMixin from '../../components/share-mixin.js'
@@ -271,7 +270,6 @@ export default {
       lastPlan: '',
       lastPlan: '',
       lastPlanId: null,
       lastPlanId: null,
       healthArticles: [],
       healthArticles: [],
-      hasAiQHistory: false,
       pendingSurveys: [],
       pendingSurveys: [],
       tabs: [
       tabs: [
         { code: 'body', label: '健康', icon: '🟠', color: BrandColors.body },
         { code: 'body', label: '健康', icon: '🟠', color: BrandColors.body },
@@ -459,11 +457,6 @@ export default {
       }
       }
       return count > 0 ? Math.round(total / count) : 0
       return count > 0 ? Math.round(total / count) : 0
     },
     },
-    _wealthScore: function(key) {
-      if (!this.energySandbox) return 0
-      var v = this.energySandbox[key]
-      return (typeof v === 'number' && v > 0) ? v : 0
-    },
     /**
     /**
      * 过渡兜底:返回某 tab 的硬编码维度清单(与改造前字面量一致)。
      * 过渡兜底:返回某 tab 的硬编码维度清单(与改造前字面量一致)。
      * 仅当注册中心未就绪时使用,保证后端未上线 / 接口异常时页面不崩。
      * 仅当注册中心未就绪时使用,保证后端未上线 / 接口异常时页面不崩。
@@ -933,7 +926,7 @@ export default {
 .section-chart { position: relative; margin: 0 24rpx 16rpx; }
 .section-chart { position: relative; margin: 0 24rpx 16rpx; }
 .chart-empty { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 3; background: rgba($app-surface, 0.85); border-radius: 16rpx; padding: 20rpx $uni-space-page; }
 .chart-empty { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 3; background: rgba($app-surface, 0.85); border-radius: 16rpx; padding: 20rpx $uni-space-page; }
 .chart-empty .empty-text { font-size: calc(28rpx * var(--font-scale, 1)); color: $facade-text-strong; font-weight: 500; display: block; }
 .chart-empty .empty-text { font-size: calc(28rpx * var(--font-scale, 1)); color: $facade-text-strong; font-weight: 500; display: block; }
-.chart-empty .empty-sub { font-size: calc(22rpx * var(--font-scale, 1)); color: $facade-text-muted; display: block; margin-top: 4rpx; }
+.chart-empty .empty-sub { font-size: calc(22rpx * var(--font-scale, 1)); color: $facade-text-body; display: block; margin-top: 4rpx; }
 .section-dc-header { margin: 20rpx 24rpx 8rpx; }
 .section-dc-header { margin: 20rpx 24rpx 8rpx; }
 .dc-title-row { display: flex; align-items: center; }
 .dc-title-row { display: flex; align-items: center; }
 .dc-icon { font-size: calc(32rpx * var(--font-scale, 1)); margin-right: 8rpx; }
 .dc-icon { font-size: calc(32rpx * var(--font-scale, 1)); margin-right: 8rpx; }
@@ -960,15 +953,15 @@ export default {
 .data-card-icon { width: 88rpx; height: 88rpx; border-radius: 24rpx; display: flex; align-items: center; justify-content: center; margin-right: 20rpx; font-size: calc(40rpx * var(--font-scale, 1)); }
 .data-card-icon { width: 88rpx; height: 88rpx; border-radius: 24rpx; display: flex; align-items: center; justify-content: center; margin-right: 20rpx; font-size: calc(40rpx * var(--font-scale, 1)); }
 .data-card-info { flex: 1; }
 .data-card-info { flex: 1; }
 .data-card-title { font-size: calc(28rpx * var(--font-scale, 1)); font-weight: bold; color: $facade-text-strong; display: block; margin-bottom: 6rpx; }
 .data-card-title { font-size: calc(28rpx * var(--font-scale, 1)); font-weight: bold; color: $facade-text-strong; display: block; margin-bottom: 6rpx; }
-.data-card-desc { font-size: calc(22rpx * var(--font-scale, 1)); color: $facade-text-muted; }
+.data-card-desc { font-size: calc(22rpx * var(--font-scale, 1)); color: $facade-text-body; }
 .data-card-arrow { font-size: calc(36rpx * var(--font-scale, 1)); color: $facade-text-ghost; }
 .data-card-arrow { font-size: calc(36rpx * var(--font-scale, 1)); color: $facade-text-ghost; }
 /* 运动手环 · 华为健康(H2)卡片扩展:按钮样式供折叠面板复用 */
 /* 运动手环 · 华为健康(H2)卡片扩展:按钮样式供折叠面板复用 */
-.data-card-btn { flex-shrink: 0; margin-left: 16rpx; padding: 0 24rpx; height: 56rpx; line-height: 56rpx; border-radius: 28rpx; font-size: calc(24rpx * var(--font-scale, 1)); background: $brand-primary; color: $app-surface; border: none; }
+.data-card-btn { flex-shrink: 0; margin-left: 16rpx; padding: 0 24rpx; min-height: 88rpx; line-height: 88rpx; box-sizing: border-box; border-radius: 28rpx; font-size: calc(24rpx * var(--font-scale, 1)); background: $brand-primary; color: $app-surface; border: none; }
 .data-card-btn--ghost { background: transparent; color: $brand-primary; border: 1rpx solid $brand-primary; }
 .data-card-btn--ghost { background: transparent; color: $brand-primary; border: 1rpx solid $brand-primary; }
-.data-card-badge { display: inline-block; margin-left: 8rpx; padding: 0 12rpx; border-radius: 16rpx; font-size: calc(18rpx * var(--font-scale, 1)); font-weight: normal; color: #b26a00; background: #fff3d6; vertical-align: middle; }
+.data-card-badge { display: inline-block; margin-left: 8rpx; padding: 0 12rpx; border-radius: 16rpx; font-size: calc(18rpx * var(--font-scale, 1)); font-weight: normal; color: $dim-wealth-deep; background: $dim-wealth-tint; vertical-align: middle; }
 .data-card-assessment { flex-direction: column; align-items: stretch; padding: 24rpx; }
 .data-card-assessment { flex-direction: column; align-items: stretch; padding: 24rpx; }
 .data-card-head { display: flex; align-items: center; margin-bottom: 16rpx; }
 .data-card-head { display: flex; align-items: center; margin-bottom: 16rpx; }
-.data-card-subtitle { font-size: calc(22rpx * var(--font-scale, 1)); color: $facade-text-muted; margin-left: 12rpx; }
+.data-card-subtitle { font-size: calc(22rpx * var(--font-scale, 1)); color: $facade-text-body; margin-left: 12rpx; }
 .quiz-item { display: flex; align-items: center; padding: 16rpx 0; border-top: 1rpx solid $facade-fill; }
 .quiz-item { display: flex; align-items: center; padding: 16rpx 0; border-top: 1rpx solid $facade-fill; }
 .quiz-item:first-of-type { border-top: none; }
 .quiz-item:first-of-type { border-top: none; }
 .quiz-info { display: flex; align-items: center; flex: 1; }
 .quiz-info { display: flex; align-items: center; flex: 1; }
@@ -976,9 +969,9 @@ export default {
 .quiz-label { font-size: calc(28rpx * var(--font-scale, 1)); color: $facade-text-strong; }
 .quiz-label { font-size: calc(28rpx * var(--font-scale, 1)); color: $facade-text-strong; }
 .quiz-score { display: flex; align-items: baseline; margin-right: 16rpx; }
 .quiz-score { display: flex; align-items: baseline; margin-right: 16rpx; }
 .score-value { font-size: calc(36rpx * var(--font-scale, 1)); font-weight: bold; color: $brand-primary; }
 .score-value { font-size: calc(36rpx * var(--font-scale, 1)); font-weight: bold; color: $brand-primary; }
-.score-unit { font-size: calc(22rpx * var(--font-scale, 1)); color: $facade-text-muted; margin-left: 4rpx; }
+.score-unit { font-size: calc(22rpx * var(--font-scale, 1)); color: $facade-text-body; margin-left: 4rpx; }
 
 
-.quiz-btn { background: $brand-primary; color: $app-surface; font-size: calc(24rpx * var(--font-scale, 1)); border: none; border-radius: 24rpx; padding: 10rpx $uni-space-page; height: 56rpx; line-height: 36rpx; margin: 0; }
+.quiz-btn { background: $brand-primary; color: $app-surface; font-size: calc(24rpx * var(--font-scale, 1)); border: none; border-radius: 24rpx; padding: 0 $uni-space-page; min-height: 88rpx; line-height: 88rpx; box-sizing: border-box; margin: 0; }
 .section-data-view { margin: 16rpx 24rpx; }
 .section-data-view { margin: 16rpx 24rpx; }
 .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12rpx; }
 .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12rpx; }
 .section-title { font-size: calc(28rpx * var(--font-scale, 1)); font-weight: bold; color: $facade-text-strong; }
 .section-title { font-size: calc(28rpx * var(--font-scale, 1)); font-weight: bold; color: $facade-text-strong; }
@@ -992,7 +985,7 @@ export default {
 .report-type-badge.badge-default { background: rgba($facade-text-slate, 0.12); color: $facade-text-slate; }
 .report-type-badge.badge-default { background: rgba($facade-text-slate, 0.12); color: $facade-text-slate; }
 .report-info { flex: 1; min-width: 0; }
 .report-info { flex: 1; min-width: 0; }
 .report-name { font-size: calc(26rpx * var(--font-scale, 1)); color: $facade-text-strong; font-weight: 600; display: block; margin-bottom: 4rpx; }
 .report-name { font-size: calc(26rpx * var(--font-scale, 1)); color: $facade-text-strong; font-weight: 600; display: block; margin-bottom: 4rpx; }
-.report-meta { font-size: calc(20rpx * var(--font-scale, 1)); color: $facade-text-muted; display: block; }
+.report-meta { font-size: calc(20rpx * var(--font-scale, 1)); color: $facade-text-body; display: block; }
 .report-score-wrap { display: flex; flex-direction: column; align-items: flex-end; margin-right: 8rpx; flex-shrink: 0; }
 .report-score-wrap { display: flex; flex-direction: column; align-items: flex-end; margin-right: 8rpx; flex-shrink: 0; }
 .report-score { font-size: calc(32rpx * var(--font-scale, 1)); font-weight: bold; color: $brand-primary; line-height: 1; }
 .report-score { font-size: calc(32rpx * var(--font-scale, 1)); font-weight: bold; color: $brand-primary; line-height: 1; }
 .report-status { font-size: calc(20rpx * var(--font-scale, 1)); margin-top: 4rpx; }
 .report-status { font-size: calc(20rpx * var(--font-scale, 1)); margin-top: 4rpx; }
@@ -1000,15 +993,15 @@ export default {
 .report-status.status-pending { color: $dim-wealth; }
 .report-status.status-pending { color: $dim-wealth; }
 .report-arrow { font-size: calc(28rpx * var(--font-scale, 1)); color: $facade-text-ghost; }
 .report-arrow { font-size: calc(28rpx * var(--font-scale, 1)); color: $facade-text-ghost; }
 .empty-hint { text-align: center; padding: $uni-space-lg 0; background: $app-surface; border-radius: 16rpx; }
 .empty-hint { text-align: center; padding: $uni-space-lg 0; background: $app-surface; border-radius: 16rpx; }
-.empty-hint .empty-text { font-size: calc(26rpx * var(--font-scale, 1)); color: $facade-text-muted; display: block; }
+.empty-hint .empty-text { font-size: calc(26rpx * var(--font-scale, 1)); color: $facade-text-body; display: block; }
 .empty-hint .empty-sub { font-size: calc(22rpx * var(--font-scale, 1)); color: $facade-text-ghost; display: block; margin-top: 6rpx; }
 .empty-hint .empty-sub { font-size: calc(22rpx * var(--font-scale, 1)); color: $facade-text-ghost; display: block; margin-top: 6rpx; }
 .section-plan { margin: 8rpx 24rpx 16rpx; }
 .section-plan { margin: 8rpx 24rpx 16rpx; }
 .plan-card { background: $app-surface; border-radius: 24rpx; padding: 24rpx; box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.06); }
 .plan-card { background: $app-surface; border-radius: 24rpx; padding: 24rpx; box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.06); }
 .plan-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12rpx; }
 .plan-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12rpx; }
 .plan-title { font-size: calc(28rpx * var(--font-scale, 1)); font-weight: bold; color: $facade-text-strong; }
 .plan-title { font-size: calc(28rpx * var(--font-scale, 1)); font-weight: bold; color: $facade-text-strong; }
-.plan-btn { background: linear-gradient(135deg, $brand-primary, $brand-primary-light); color: $app-surface; font-size: calc(24rpx * var(--font-scale, 1)); border: none; border-radius: 24rpx; padding: 10rpx 28rpx; height: 56rpx; line-height: 36rpx; margin: 0; }
+.plan-btn { background: linear-gradient(135deg, $brand-primary, $uni-primary-dark); color: $app-surface; font-size: calc(24rpx * var(--font-scale, 1)); border: none; border-radius: 24rpx; padding: 0 28rpx; min-height: 88rpx; line-height: 88rpx; box-sizing: border-box; margin: 0; }
 .plan-goal { font-size: calc(24rpx * var(--font-scale, 1)); color: $facade-text-body; line-height: 1.5; display: block; margin-top: 12rpx; }
 .plan-goal { font-size: calc(24rpx * var(--font-scale, 1)); color: $facade-text-body; line-height: 1.5; display: block; margin-top: 12rpx; }
-.plan-hint { font-size: calc(22rpx * var(--font-scale, 1)); color: $facade-text-muted; display: block; margin-top: 12rpx; }
+.plan-hint { font-size: calc(22rpx * var(--font-scale, 1)); color: $facade-text-body; display: block; margin-top: 12rpx; }
 /* ===== 访客态(设计稿 page-health 落地 · 令牌化) ===== */
 /* ===== 访客态(设计稿 page-health 落地 · 令牌化) ===== */
 // 页面级局部色令牌:仅声明 uni.scss 未收录、本页专属的值;其余全部走共享令牌
 // 页面级局部色令牌:仅声明 uni.scss 未收录、本页专属的值;其余全部走共享令牌
 $gh-cta-from:  #D1440B;                       // 深橙·亮端(白字 4.62:1)
 $gh-cta-from:  #D1440B;                       // 深橙·亮端(白字 4.62:1)

+ 34 - 21
cfc-frontend/pages/profile-main/profile.vue

@@ -181,21 +181,21 @@
         </view>
         </view>
         <view class="achievement-grid team-grid">
         <view class="achievement-grid team-grid">
           <view class="ach-item" @click="goTeamTree">
           <view class="ach-item" @click="goTeamTree">
-            <view class="ach-icon-wrap" style="background:rgba(16,185,129,0.12)">
+            <view class="ach-icon-wrap ach-icon-action">
               <text class="ach-icon">🌳</text>
               <text class="ach-icon">🌳</text>
             </view>
             </view>
             <text class="ach-num">{{ teamMembers }}</text>
             <text class="ach-num">{{ teamMembers }}</text>
             <text class="ach-label">我的团队</text>
             <text class="ach-label">我的团队</text>
           </view>
           </view>
           <view class="ach-item" @click="goToWealthCenter">
           <view class="ach-item" @click="goToWealthCenter">
-            <view class="ach-icon-wrap" style="background:rgba(245,158,11,0.12)">
+            <view class="ach-icon-wrap ach-icon-wealth">
               <text class="ach-icon">💰</text>
               <text class="ach-icon">💰</text>
             </view>
             </view>
             <text class="ach-num">{{ referralEarnings }}</text>
             <text class="ach-num">{{ referralEarnings }}</text>
             <text class="ach-label">推广收益</text>
             <text class="ach-label">推广收益</text>
           </view>
           </view>
           <view class="ach-item ach-item-share">
           <view class="ach-item ach-item-share">
-            <view class="ach-icon-wrap" style="background:rgba(99,102,241,0.12)">
+            <view class="ach-icon-wrap ach-icon-wisdom">
               <text class="ach-icon">🤝</text>
               <text class="ach-icon">🤝</text>
             </view>
             </view>
             <text class="ach-num">+</text>
             <text class="ach-num">+</text>
@@ -988,18 +988,23 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
 /* 退出切换 */
 /* 退出切换 */
 .exit-switch {
 .exit-switch {
   margin: 0 $uni-space-lg 16rpx;
   margin: 0 $uni-space-lg 16rpx;
-  background: linear-gradient(135deg, $brand-primary, $brand-primary-light);
+  background: linear-gradient(135deg, $brand-primary, $uni-primary-dark);
   color: $app-surface;
   color: $app-surface;
   padding: 16rpx;
   padding: 16rpx;
   border-radius: 16rpx;
   border-radius: 16rpx;
   text-align: center;
   text-align: center;
   font-size: calc(26rpx * var(--font-scale, 1));
   font-size: calc(26rpx * var(--font-scale, 1));
+  min-height: 88rpx;
+  box-sizing: border-box;
+  display: flex;
+  align-items: center;
+  justify-content: center;
 }
 }
 
 
 /* 身份卡 */
 /* 身份卡 */
 .user-card {
 .user-card {
   margin: 24rpx $uni-space-lg 20rpx;
   margin: 24rpx $uni-space-lg 20rpx;
-  background: linear-gradient(135deg, $brand-primary 0%, $brand-primary-light 100%);
+  background: linear-gradient(135deg, $brand-primary 0%, $uni-primary-dark 100%);
   border-radius: 24rpx;
   border-radius: 24rpx;
   padding: 32rpx 32rpx;
   padding: 32rpx 32rpx;
   display: flex;
   display: flex;
@@ -1054,7 +1059,7 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
 }
 }
 .referrer-line {
 .referrer-line {
   font-size: calc(24rpx * var(--font-scale, 1));
   font-size: calc(24rpx * var(--font-scale, 1));
-  color: rgba($app-surface, 0.7);
+  color: $app-surface;
   margin-bottom: 6rpx;
   margin-bottom: 6rpx;
 }
 }
 .user-sub {
 .user-sub {
@@ -1090,7 +1095,7 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
 }
 }
 .days-left {
 .days-left {
   font-size: calc(20rpx * var(--font-scale, 1));
   font-size: calc(20rpx * var(--font-scale, 1));
-  color: rgba($app-surface, 0.85);
+  color: $app-surface;
 }
 }
 .upgrade-btn {
 .upgrade-btn {
   background: rgba($app-surface, 0.22);
   background: rgba($app-surface, 0.22);
@@ -1099,7 +1104,7 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
   padding: 6rpx 20rpx;
   padding: 6rpx 20rpx;
   flex-shrink: 0;
   flex-shrink: 0;
   box-sizing: border-box;
   box-sizing: border-box;
-  height: 40rpx;
+  min-height: 88rpx;
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
 }
 }
@@ -1125,7 +1130,7 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
 }
 }
 .points-label {
 .points-label {
   font-size: calc(20rpx * var(--font-scale, 1));
   font-size: calc(20rpx * var(--font-scale, 1));
-  color: rgba($app-surface, 0.7);
+  color: $app-surface;
 }
 }
 
 
 /* 家庭成员速览 */
 /* 家庭成员速览 */
@@ -1149,7 +1154,7 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
 }
 }
 .family-strip-count {
 .family-strip-count {
   font-size: calc(22rpx * var(--font-scale, 1));
   font-size: calc(22rpx * var(--font-scale, 1));
-  color: $facade-text-muted;
+  color: $facade-text-body;
 }
 }
 .family-avatars {
 .family-avatars {
   display: flex;
   display: flex;
@@ -1165,6 +1170,7 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
   align-items: center;
   align-items: center;
   gap: 6rpx;
   gap: 6rpx;
   flex-shrink: 0;
   flex-shrink: 0;
+  min-height: 88rpx;
 }
 }
 .family-avatar-wrap {
 .family-avatar-wrap {
   width: 72rpx;
   width: 72rpx;
@@ -1192,7 +1198,7 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
 }
 }
 .family-avatar-plus {
 .family-avatar-plus {
   font-size: calc(36rpx * var(--font-scale, 1));
   font-size: calc(36rpx * var(--font-scale, 1));
-  color: $facade-text-muted;
+  color: $facade-text-body;
 }
 }
 .family-avatar-tag {
 .family-avatar-tag {
   position: absolute;
   position: absolute;
@@ -1203,10 +1209,10 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
   border-radius: 8rpx;
   border-radius: 8rpx;
   color: $app-surface;
   color: $app-surface;
 }
 }
-.family-avatar-tag.tag-parent { background: $dim-wisdom; }
+.family-avatar-tag.tag-parent { background: $dim-wisdom-deep; }
 .family-avatar-tag.tag-child { background: $brand-primary; }
 .family-avatar-tag.tag-child { background: $brand-primary; }
-.family-avatar-tag.tag-teacher { background: $dim-action; }
-.family-avatar-tag.tag-member { background: $c-text-gray-400; }
+.family-avatar-tag.tag-teacher { background: $dim-action-deep; }
+.family-avatar-tag.tag-member { background: $facade-text-gray-600; }
 .family-avatar-name {
 .family-avatar-name {
   font-size: calc(20rpx * var(--font-scale, 1));
   font-size: calc(20rpx * var(--font-scale, 1));
   color: $facade-text-body;
   color: $facade-text-body;
@@ -1234,7 +1240,7 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
 }
 }
 .section-sub {
 .section-sub {
   font-size: calc(22rpx * var(--font-scale, 1));
   font-size: calc(22rpx * var(--font-scale, 1));
-  color: $facade-text-muted;
+  color: $facade-text-body;
 }
 }
 .achievement-grid {
 .achievement-grid {
   display: flex;
   display: flex;
@@ -1248,6 +1254,8 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
   align-items: center;
   align-items: center;
   gap: 6rpx;
   gap: 6rpx;
   padding: 10rpx 0;
   padding: 10rpx 0;
+  min-height: 88rpx;
+  box-sizing: border-box;
 }
 }
 .ach-icon-wrap {
 .ach-icon-wrap {
   width: 64rpx;
   width: 64rpx;
@@ -1258,6 +1266,9 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
   justify-content: center;
   justify-content: center;
   margin-bottom: 4rpx;
   margin-bottom: 4rpx;
 }
 }
+.ach-icon-wrap.ach-icon-action { background: $dim-action-tint; }
+.ach-icon-wrap.ach-icon-wealth { background: $dim-wealth-tint; }
+.ach-icon-wrap.ach-icon-wisdom { background: $dim-wisdom-tint; }
 .ach-icon {
 .ach-icon {
   font-size: calc(32rpx * var(--font-scale, 1));
   font-size: calc(32rpx * var(--font-scale, 1));
   line-height: 1;
   line-height: 1;
@@ -1270,7 +1281,7 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
 }
 }
 .ach-label {
 .ach-label {
   font-size: calc(20rpx * var(--font-scale, 1));
   font-size: calc(20rpx * var(--font-scale, 1));
-  color: $facade-text-muted;
+  color: $facade-text-body;
   line-height: 1;
   line-height: 1;
 }
 }
 
 
@@ -1306,6 +1317,8 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
   align-items: center;
   align-items: center;
   gap: 8rpx;
   gap: 8rpx;
   padding: 10rpx 0;
   padding: 10rpx 0;
+  min-height: 88rpx;
+  box-sizing: border-box;
 }
 }
 .asset-ic {
 .asset-ic {
   width: 64rpx;
   width: 64rpx;
@@ -1333,7 +1346,7 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
 }
 }
 .asset-label {
 .asset-label {
   font-size: calc(20rpx * var(--font-scale, 1));
   font-size: calc(20rpx * var(--font-scale, 1));
-  color: $facade-text-muted;
+  color: $facade-text-body;
   line-height: 1;
   line-height: 1;
 }
 }
 
 
@@ -1342,7 +1355,7 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
   margin: 0 $uni-space-lg 20rpx;
   margin: 0 $uni-space-lg 20rpx;
 }
 }
 .service-center-card {
 .service-center-card {
-  background: linear-gradient(135deg, $brand-primary 0%, $brand-primary-light 100%);
+  background: linear-gradient(135deg, $brand-primary 0%, $uni-primary-dark 100%);
   border-radius: 24rpx;
   border-radius: 24rpx;
   padding: 24rpx;
   padding: 24rpx;
   display: flex;
   display: flex;
@@ -1369,7 +1382,7 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
 }
 }
 .service-center-desc {
 .service-center-desc {
   font-size: calc(22rpx * var(--font-scale, 1));
   font-size: calc(22rpx * var(--font-scale, 1));
-  color: rgba($app-surface, 0.8);
+  color: $app-surface;
   margin-top: 6rpx;
   margin-top: 6rpx;
   display: block;
   display: block;
 }
 }
@@ -1409,7 +1422,7 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
 }
 }
 .menu-row-sub {
 .menu-row-sub {
   font-size: calc(24rpx * var(--font-scale, 1));
   font-size: calc(24rpx * var(--font-scale, 1));
-  color: $facade-text-muted;
+  color: $facade-text-body;
   margin-right: 8rpx;
   margin-right: 8rpx;
 }
 }
 .menu-row-arrow {
 .menu-row-arrow {
@@ -1425,7 +1438,7 @@ $gp-ghost:        str-slice($gp-ghost-hex, 2);
 }
 }
 .logout-text {
 .logout-text {
   font-size: calc(26rpx * var(--font-scale, 1));
   font-size: calc(26rpx * var(--font-scale, 1));
-  color: $status-danger-2;
+  color: $status-danger-deep;
   font-weight: 500;
   font-weight: 500;
 }
 }