fix: 侧边栏新增功能入口(报告/日历/饮食/复查)
健康概览和历史对话之间增加: - 报告管理 → reports 路由 - 健康日历 → calendar 路由 - 饮食记录 → dietRecords 路由 - 复查随访 → followups 路由
This commit is contained in:
@@ -66,6 +66,15 @@ class HealthDrawer extends ConsumerWidget {
|
||||
]),
|
||||
),
|
||||
|
||||
const Divider(),
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 8),
|
||||
child: Text('功能', style: Theme.of(context).textTheme.labelMedium!.copyWith(fontWeight: FontWeight.w600)),
|
||||
),
|
||||
_DrawerItem(icon: Icons.description, label: '报告管理', onTap: () => pushRoute(ref, 'reports')),
|
||||
_DrawerItem(icon: Icons.calendar_today, label: '健康日历', onTap: () => pushRoute(ref, 'calendar')),
|
||||
_DrawerItem(icon: Icons.restaurant, label: '饮食记录', onTap: () => pushRoute(ref, 'dietRecords')),
|
||||
_DrawerItem(icon: Icons.event_note, label: '复查随访', onTap: () => pushRoute(ref, 'followups')),
|
||||
const Divider(),
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 8),
|
||||
|
||||
Reference in New Issue
Block a user