Files
hms/apps/miniprogram/src/pages/ai-report/detail/index.scss
iven 900c9babc3 refactor(mp): 迁移预约+AI报告详情页 — 使用统一组件库 (12/12)
预约详情页:
- View.detail-page → PageShell 替代手写 page 容器
- 手写 detail-header → PageHeader 组件
- .status-card / .info-section / .tips-card → ContentCard
- 删除通用 page 容器、header 和 card 样式

AI 报告详情页:
- View.detail-page → PageShell 替代手写 page 容器
- .detail-card / .content-card → ContentCard
- 删除通用 page 容器和 card 样式,保留 RichText 内部样式
2026-05-16 01:17:04 +08:00

93 lines
1.4 KiB
SCSS

@import '../../../styles/variables.scss';
@import '../../../styles/mixins.scss';
.detail-type {
@include section-title;
margin-bottom: 12px;
}
.detail-meta {
display: flex;
justify-content: space-between;
}
.meta-item {
font-size: var(--tk-font-body);
color: $tx3;
}
.content-card-wrap {
// RichText 内部样式
h1, h2, h3 {
font-weight: bold;
color: $tx;
margin: 24px 0 12px;
}
p {
font-size: var(--tk-font-body-lg);
color: $tx;
line-height: 1.8;
margin-bottom: 16px;
}
ul {
padding-left: 32px;
margin-bottom: 16px;
}
li {
font-size: var(--tk-font-body-lg);
color: $tx;
line-height: 1.8;
margin-bottom: 8px;
}
strong {
color: $pri-d;
}
}
.report-content {
font-size: var(--tk-font-body-lg);
line-height: 1.8;
color: $tx;
}
.empty-text {
display: block;
text-align: center;
padding: 120px 0;
color: var(--tk-text-secondary);
font-size: var(--tk-font-body-lg);
}
.auto-badge {
margin-top: 16px;
display: inline-block;
}
.auto-badge-text {
display: inline-block;
padding: 4px 16px;
border-radius: $r-xs;
font-size: var(--tk-font-body);
font-weight: 500;
background: $pri-l;
color: $pri;
}
.trend-tip-card {
background: $wrn-l;
border: 1px solid $wrn;
border-radius: $r;
padding: 20px 24px;
margin-bottom: 20px;
}
.trend-tip-text {
font-size: var(--tk-font-body);
color: $wrn;
line-height: 1.6;
}