feat: 添加健康咨询页面及相关功能

- 在应用中新增健康咨询页面,展示用户健康数据和建议
- 集成 expo-linear-gradient 以实现页面背景渐变效果
- 更新 package.json 和 package-lock.json,添加 expo-linear-gradient 依赖
- 在首页中添加健康咨询的导航链接
- 修改布局以支持新页面的显示和交互
This commit is contained in:
richarjiang
2025-08-12 14:33:32 +08:00
parent ddcc1320a4
commit 1d45d4d629
5 changed files with 502 additions and 0 deletions

View File

@@ -56,6 +56,8 @@ export default function HomeScreen() {
onPress={() => {
if (workout.title === 'AI体态评估') {
router.push('/ai-posture-assessment');
} else if (workout.title === '认证教练') {
router.push('/health-consultation' as any);
} else {
console.log(`Pressed ${workout.title}`);
}