feat(miniprogram): 医护端小程序页面 — 8 页面覆盖患者/咨询/随访/报告
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

Iteration 2 医护端前端核心页面:

- 新增 doctor.ts service 层(仪表盘/患者/咨询/随访/报告 API)
- 升级医生首页:接入真实仪表盘数据 + 快捷操作入口
- 患者管理:搜索 + 标签筛选 + 详情页(基本信息/过敏史/健康概览)
- 咨询回复:会话列表 + 状态筛选 + 聊天详情 + 发送消息 + 关闭会话
- 随访管理:任务列表 + 状态筛选 + 详情 + 填写随访记录
- 报告解读:化验报告列表 + 异常高亮 + 指标表格 + 医生审核注释
- 修复 login 页面重复解构
- 注册 8 个新页面路由到 app.config.ts
This commit is contained in:
iven
2026-04-26 13:32:08 +08:00
parent a0b72b0f73
commit 3723cd93c0
21 changed files with 2795 additions and 28 deletions

View File

@@ -0,0 +1,88 @@
.report-page {
min-height: 100vh;
background: #f0f4f8;
padding: 24px;
padding-bottom: 120px;
}
.search-bar {
margin-bottom: 20px;
.search-input {
background: #fff;
border-radius: 12px;
padding: 20px 24px;
font-size: 28px;
width: 100%;
box-sizing: border-box;
}
}
.report-count {
margin-bottom: 16px;
text {
font-size: 24px;
color: #94a3b8;
}
}
.report-list {
display: flex;
flex-direction: column;
gap: 16px;
}
.report-card {
background: #fff;
border-radius: 16px;
padding: 28px;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
&:active {
background: #f8fafc;
}
&__header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
&__type {
font-size: 28px;
font-weight: 600;
color: #0f172a;
}
&__date {
font-size: 24px;
color: #94a3b8;
}
&__indicators {
display: flex;
align-items: center;
gap: 16px;
}
&__abnormal {
font-size: 26px;
color: #ef4444;
font-weight: 600;
}
&__normal {
font-size: 26px;
color: #10b981;
}
&__reviewed {
font-size: 22px;
color: #0891b2;
background: #e0f2fe;
padding: 2px 12px;
border-radius: 8px;
}
}