refactor(mp): 迁移医护+健康页面 — 使用 PageShell + ContentCard 统一组件库

行动收件箱、医护工作台、健康趋势、患者告警、体征录入、
日常监测、设备同步共 7 个页面迁移:
- 最外层容器 → PageShell
- 卡片元素 → ContentCard
- SCSS 删除 min-height/background/box-shadow 通用样式
This commit is contained in:
iven
2026-05-16 01:33:24 +08:00
parent 4dd5a1b4d9
commit 37327a4da4
14 changed files with 86 additions and 124 deletions

View File

@@ -1,11 +1,8 @@
@import '../../../styles/variables.scss';
@import '../../../styles/mixins.scss';
.device-sync-page {
min-height: 100vh;
background: $bg;
padding-bottom: env(safe-area-inset-bottom);
}
// PageShell 已接管min-height, background, safe-bottom
// ContentCard 已接管sync-status-card/sync-result-card 背景/圆角/阴影
.sync-header {
background: $pri;
@@ -130,11 +127,7 @@
.sync-status-card {
display: flex;
align-items: center;
background: $card;
border-radius: $r-sm;
padding: 24px;
margin-bottom: 16px;
box-shadow: $shadow-sm;
}
.sync-status-dot {
@@ -225,9 +218,6 @@
display: flex;
flex-direction: column;
align-items: center;
background: $card;
border-radius: $r;
padding: 48px 24px;
margin-bottom: 24px;
box-shadow: $shadow-sm;
}