refactor(mp): 迁移个人中心 12 个页面 — 统一组件库

线下活动、健康档案、报告列表、随访列表、透析记录、
透析处方、诊断列表、用药列表、家庭成员、添加家庭成员、
设置、知情同意共 12 个页面迁移:
- 最外层容器 → PageShell
- SCSS 删除 min-height/background 通用样式
This commit is contained in:
iven
2026-05-16 01:34:05 +08:00
parent 466b6567d1
commit c6bffd4019
24 changed files with 50 additions and 82 deletions

View File

@@ -4,6 +4,7 @@ import Taro from '@tarojs/taro';
import { useAuthStore } from '../../../stores/auth';
import { invalidateHeadersCache, clearRequestCache } from '@/services/request';
import { useElderClass } from '../../../hooks/useElderClass';
import PageShell from '@/components/ui/PageShell';
import './index.scss';
export default function Settings() {
@@ -65,7 +66,7 @@ export default function Settings() {
};
return (
<View className={`settings-page ${modeClass}`}>
<PageShell className={modeClass}>
<Text className='page-title'></Text>
<View className='settings-group'>
@@ -97,6 +98,6 @@ export default function Settings() {
<Text className='settings-label logout-label'>退</Text>
</View>
</View>
</View>
</PageShell>
);
}