fix: 修复路由映射和入口连接

- profile 路由从 ProfileDetailPage 改为 ProfilePage
- profileEdit 路由改为 ProfileDetailPage
- 新增 devices 路由(DeviceManagementPage)
- 设置页隐私协议/关于按钮接线 staticText
- 设置页用药提醒跳转 medications
- 个人中心健康档案修正为 healthArchive,新增设备管理入口
This commit is contained in:
MingNian
2026-06-03 14:30:38 +08:00
parent 9fb60cb3cf
commit ed716654b3
3 changed files with 13 additions and 9 deletions

View File

@@ -34,7 +34,8 @@ class ProfilePage extends ConsumerWidget {
]),
])),
const SizedBox(height: 12),
_MenuItem(icon: Icons.folder_shared, title: '健康档案', onTap: () => pushRoute(ref, 'profile')),
_MenuItem(icon: Icons.folder_shared, title: '健康档案', onTap: () => pushRoute(ref, 'healthArchive')),
_MenuItem(icon: Icons.devices, title: '设备管理', onTap: () => pushRoute(ref, 'devices')),
_MenuItem(icon: Icons.favorite_border, title: '就诊收藏', trailing: '3'),
_MenuItem(icon: Icons.devices, title: '设备管理'),
_MenuItem(icon: Icons.people_outline, title: '家人关怀'),