feat(health+miniprogram): 预约/报告/随访/资讯/家庭管理 — Chunk 4-6
Some checks failed
CI / rust-check (push) Has been cancelled
CI / rust-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / security-audit (push) Has been cancelled

后端:
- 添加 articles 表迁移 + Entity + Service + Handler
- 健康数据趋势 API (get_mini_trend) 注册路由
- article CRUD (list/get) + DTO

前端 (11个新页面 + 5个服务):
- 预约挂号: 列表/创建向导/详情页
- 报告管理: 列表/详情页
- 随访管理: 任务列表/记录详情页
- 资讯文章: 文章详情页
- 个人中心: 就诊人管理/新增/我的报告/我的随访/用药提醒/设置
- 更新 app.config.ts 注册全部路由
- 更新 profile/article 页面为真实功能
This commit is contained in:
iven
2026-04-24 00:58:40 +08:00
parent ee9a5c4da1
commit 9ef65b9a9f
53 changed files with 6044 additions and 32 deletions

View File

@@ -0,0 +1,98 @@
@import '../../../styles/variables.scss';
.article-detail-page {
min-height: 100vh;
background: $bg;
padding-bottom: 40px;
}
.article-header {
background: $card;
padding: 32px;
margin-bottom: 2px;
}
.article-title {
font-size: 38px;
font-weight: bold;
color: $tx;
display: block;
line-height: 1.4;
margin-bottom: 16px;
}
.article-meta {
display: flex;
align-items: center;
gap: 16px;
flex-wrap: wrap;
}
.article-category {
font-size: 22px;
color: $pri;
background: $pri-l;
padding: 4px 12px;
border-radius: 12px;
}
.article-author {
font-size: 24px;
color: $tx2;
}
.article-date {
font-size: 24px;
color: $tx3;
}
.article-summary {
background: $card;
padding: 24px 32px;
margin-bottom: 2px;
}
.summary-text {
font-size: 26px;
color: $tx2;
line-height: 1.6;
}
.article-content {
background: $card;
padding: 32px;
// RichText 内部样式优化
h1, h2, h3 {
font-weight: bold;
color: #134E4A;
margin: 24px 0 12px;
}
p {
font-size: 28px;
color: #134E4A;
line-height: 1.8;
margin-bottom: 16px;
}
img {
max-width: 100%;
border-radius: 8px;
margin: 12px 0;
}
}
.loading-state,
.empty-state {
display: flex;
justify-content: center;
align-items: center;
padding: 120px 0;
}
.loading-text,
.empty-text {
font-size: 28px;
color: $tx3;
}