feat(miniprogram): Phase 5 UI/UX 优化 — 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

- 首页: 健康资讯推荐 + 空状态引导 + 快捷服务字符图标优化
- 健康 Hub: sparkline bar + 参考范围 + 打卡合并到快捷操作
- 日常监测: 3 分组折叠(晨间/晚间/其他) + 异常值高亮 + 提交前确认
- 预约: 已满时段 pointer-events:none + opacity 优化
- 咨询聊天: 消息日期分组(今天/昨天) + 图片预览
- 积分商城: 确认已有余额大字+签到+库存提示
- 医护工作台: 异常体征横幅 + 患者搜索入口 + 快捷操作扩展
- 趋势图表: 骨架屏加载状态 + ECharts 异常标记已有
This commit is contained in:
iven
2026-04-28 08:51:27 +08:00
parent 852a429ef3
commit 0e45778fc3
13 changed files with 693 additions and 286 deletions

View File

@@ -261,3 +261,69 @@
color: $tx3;
flex-shrink: 0;
}
/* ─── 健康空状态 ─── */
.health-empty {
background: $bg;
border-radius: $r-sm;
padding: 40px 24px;
text-align: center;
}
.health-empty-text {
display: block;
font-size: 28px;
color: $tx2;
margin-bottom: 8px;
}
.health-empty-action {
display: flex;
justify-content: center;
padding: 24px 0 0;
}
.health-empty-btn {
background: $pri;
border-radius: $r;
padding: 16px 40px;
}
.health-empty-btn-text {
color: #fff;
font-size: 26px;
font-weight: 500;
}
/* ─── 健康资讯 ─── */
.articles-section {
margin: 0 24px 24px;
}
.article-card {
background: $card;
border-radius: $r;
padding: 24px;
margin-bottom: 16px;
box-shadow: $shadow-sm;
&:active {
opacity: 0.7;
}
}
.article-card-title {
font-size: 28px;
color: $tx;
display: block;
font-weight: 500;
margin-bottom: 8px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.article-card-meta {
font-size: 22px;
color: $tx3;
}