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

@@ -2,6 +2,7 @@
min-height: 100vh;
background: #f0f4f8;
padding: 32px;
padding-bottom: 120px;
&__header {
margin-bottom: 40px;
@@ -12,16 +13,23 @@
font-weight: 700;
color: #0f172a;
display: block;
margin-bottom: 16px;
margin-bottom: 12px;
}
&__greeting {
font-size: 28px;
color: #64748b;
display: block;
margin-bottom: 8px;
}
&__date {
font-size: 24px;
color: #94a3b8;
}
&__section {
margin-bottom: 32px;
margin-bottom: 40px;
}
&__section-title {
@@ -35,21 +43,32 @@
&__grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
gap: 20px;
}
&__card {
background: #fff;
border-radius: 16px;
padding: 32px;
padding: 28px 24px;
text-align: center;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
transition: transform 0.15s;
&:active {
transform: scale(0.97);
}
}
&__card-icon {
font-size: 36px;
display: block;
margin-bottom: 8px;
}
&__card-num {
font-size: 48px;
font-weight: 700;
color: #0891b2;
color: #0f172a;
display: block;
margin-bottom: 8px;
}
@@ -59,13 +78,45 @@
color: #64748b;
}
&__quick-actions {
display: flex;
gap: 24px;
}
&__footer {
margin-top: 80px;
margin-top: 60px;
text-align: center;
padding-bottom: env(safe-area-inset-bottom);
}
&__logout {
color: #ef4444;
font-size: 28px;
padding: 16px 48px;
display: inline-block;
}
}
.quick-action {
flex: 1;
background: #fff;
border-radius: 16px;
padding: 28px 20px;
text-align: center;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
&:active {
opacity: 0.8;
}
&__icon {
font-size: 40px;
display: block;
margin-bottom: 8px;
}
&__label {
font-size: 24px;
color: #475569;
}
}