diff --git a/health_app/lib/widgets/health_drawer.dart b/health_app/lib/widgets/health_drawer.dart index 755f97d..9dadbe0 100644 --- a/health_app/lib/widgets/health_drawer.dart +++ b/health_app/lib/widgets/health_drawer.dart @@ -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),