feat: 添加训练计划和打卡功能

- 新增训练计划页面,允许用户制定个性化的训练计划
- 集成打卡功能,用户可以记录每日的训练情况
- 更新 Redux 状态管理,添加训练计划相关的 reducer
- 在首页中添加训练计划卡片,支持用户点击跳转
- 更新样式和布局,以适应新功能的展示和交互
- 添加日期选择器和相关依赖,支持用户选择训练日期
This commit is contained in:
richarjiang
2025-08-13 09:10:00 +08:00
parent e0e000b64f
commit f3e6250505
24 changed files with 1898 additions and 609 deletions

View File

@@ -62,6 +62,12 @@ export const Colors = {
tabIconSelected: palette.ink, // tab 激活时的文字/图标颜色(深色,在亮色背景上显示)
tabBarBackground: palette.ink, // tab 栏背景色
tabBarActiveBackground: primaryColor, // tab 激活时的背景色
// 页面氛围与装饰(新)
pageBackgroundEmphasis: '#F9FBF2',
heroSurfaceTint: 'rgba(187,242,70,0.18)',
ornamentPrimary: 'rgba(187,242,70,0.22)',
ornamentAccent: 'rgba(164,138,237,0.16)',
},
dark: {
// 基础文本/背景
@@ -99,5 +105,11 @@ export const Colors = {
tabIconSelected: palette.ink, // 在亮色背景上使用深色文字
tabBarBackground: palette.ink,
tabBarActiveBackground: primaryColor,
// 页面氛围与装饰(新)
pageBackgroundEmphasis: '#151718',
heroSurfaceTint: 'rgba(187,242,70,0.12)',
ornamentPrimary: 'rgba(187,242,70,0.18)',
ornamentAccent: 'rgba(164,138,237,0.14)',
},
} as const;