fix(mp): T40 UI 设计系统合规审计修复 — 60 页面全覆盖

- 新增 $white 语义变量 + --tk-font-display Token
- 44 处 #fff → $white,2 处 background: #fff → $card
- 14 处 border-radius 硬编码统一为 $r-xs/$r-lg/$r
- 3 处 TSX inline 颜色提取为 SCSS 类(exchange/orders/action-inbox)
- ErrorBoundary 重构:6 个 inline style → SCSS 类 + Design Token
- 2 处离调色板颜色修正(#0284C7→$tx2, #94A3B8→$tx3)
- 2 处静默 catch 块添加状态清理(article/health)
- 趋势页补 Loading/EmptyState;咨询页 GuestGuard 统一
- 4 处 #FFFFFF → $white(mixins/index/exchange/variables)
This commit is contained in:
iven
2026-05-13 23:26:00 +08:00
parent 02082ccc61
commit 93c77c5857
49 changed files with 317 additions and 143 deletions

View File

@@ -63,7 +63,7 @@
right: 12px;
min-width: 16px;
height: 16px;
border-radius: 8px;
border-radius: $r-xs;
background: $dan;
@include flex-center;
padding: 0 4px;
@@ -71,7 +71,7 @@
.msg-segment-badge-text {
font-size: var(--tk-font-micro);
color: #fff;
color: $white;
font-weight: 600;
}
@@ -121,7 +121,7 @@
.consult-avatar {
width: 44px;
height: 44px;
border-radius: 22px;
border-radius: $r-pill;
background: $surface-alt;
@include flex-center;
flex-shrink: 0;
@@ -183,7 +183,7 @@
.consult-badge {
min-width: 18px;
height: 18px;
border-radius: 9px;
border-radius: $r-pill;
background: $dan;
@include flex-center;
padding: 0 4px;
@@ -192,7 +192,7 @@
.consult-badge-text {
font-size: var(--tk-font-micro);
color: #fff;
color: $white;
font-weight: 600;
}
@@ -225,6 +225,23 @@
font-weight: 700;
}
.notify-type-appointment,
.notify-type-points {
background: $pri-l;
color: $pri;
}
.notify-type-alert {
background: $wrn-l;
color: $wrn;
}
.notify-type-followup,
.notify-type-report {
background: $acc-l;
color: $acc;
}
.notify-body {
flex: 1;
min-width: 0;
@@ -263,7 +280,7 @@
.notify-dot {
width: 8px;
height: 8px;
border-radius: 4px;
border-radius: $r-xs;
background: $pri;
flex-shrink: 0;
margin-top: 6px;