Files
hms/apps/miniprogram/src/pages/followup/detail/index.scss
iven 93c77c5857 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)
2026-05-13 23:26:00 +08:00

140 lines
2.1 KiB
SCSS

@import '../../../styles/variables.scss';
@import '../../../styles/mixins.scss';
.detail-page {
min-height: 100vh;
background: $bg;
padding: 24px;
padding-bottom: 40px;
}
.detail-card {
background: $card;
border-radius: $r;
padding: 28px;
margin-bottom: 20px;
box-shadow: $shadow-sm;
}
.detail-title {
@include section-title;
font-size: var(--tk-font-num-lg);
margin-bottom: 20px;
}
.detail-row {
display: flex;
justify-content: space-between;
padding: 12px 0;
border-bottom: 1px solid $bd-l;
&:last-child {
border-bottom: none;
}
}
.detail-label {
font-size: var(--tk-font-h1);
color: $tx2;
}
.detail-value {
font-size: var(--tk-font-h1);
color: $tx;
&.status-completed { color: $acc; }
&.status-overdue { color: $dan; }
&.status-pending { color: $wrn; }
}
.countdown {
margin-top: 12px;
padding: 12px 16px;
background: $wrn-l;
border-radius: $r-sm;
}
.countdown-urgent {
background: $dan-l;
}
.countdown-text {
font-size: var(--tk-font-h2);
color: $wrn;
font-weight: bold;
.countdown-urgent & { color: $dan; }
}
.detail-desc {
margin-top: 16px;
padding: 20px;
background: $bd-l;
border-radius: $r-sm;
}
.detail-desc-text {
font-size: var(--tk-font-h1);
color: $tx;
line-height: 1.6;
}
.submit-card {
background: $card;
border-radius: $r;
padding: 28px;
box-shadow: $shadow-sm;
}
.section-title {
@include section-title;
margin-bottom: 16px;
}
.submit-textarea {
width: 100%;
min-height: 200px;
font-size: var(--tk-font-body-lg);
color: $tx;
background: $bg;
border-radius: $r-sm;
padding: 20px;
box-sizing: border-box;
border: none;
outline: none;
margin-bottom: 20px;
}
.submit-btn {
background: $pri;
border-radius: $r;
padding: 24px;
text-align: center;
&:active {
opacity: 0.85;
}
&.disabled {
opacity: 0.5;
}
}
.submit-btn-text {
font-size: var(--tk-font-num);
color: $white;
font-weight: 600;
}
.loading-state,
.empty-state {
@include flex-center;
padding: 120px 0;
}
.loading-text,
.empty-text {
font-size: var(--tk-font-body-lg);
color: var(--tk-text-secondary);
}