feat: 移除目标管理演示页面并优化相关组件

- 删除目标管理演示页面的代码,简化项目结构
- 更新底部导航,移除目标管理演示页面的路由
- 调整相关组件的样式和逻辑,确保界面一致性
- 优化颜色常量的使用,提升视觉效果
This commit is contained in:
2025-08-22 21:24:31 +08:00
parent 9e719a9eda
commit c12329bc96
16 changed files with 1130 additions and 759 deletions

View File

@@ -24,6 +24,9 @@ const HealthDataCard: React.FC<HealthDataCardProps> = ({
style={[styles.card, style]}
>
<View style={styles.iconContainer}>
{icon}
</View>
<View style={styles.content}>
<Text style={styles.title}>{title}</Text>
<View style={styles.valueContainer}>
@@ -53,14 +56,18 @@ const styles = StyleSheet.create({
},
iconContainer: {
marginRight: 16,
alignItems: 'center',
justifyContent: 'center',
},
content: {
flex: 1,
justifyContent: 'center',
},
title: {
fontSize: 14,
color: '#666',
marginBottom: 4,
fontWeight: '600',
},
valueContainer: {
flexDirection: 'row',
@@ -68,14 +75,15 @@ const styles = StyleSheet.create({
},
value: {
fontSize: 24,
fontWeight: 'bold',
color: '#333',
fontWeight: '800',
color: '#192126',
},
unit: {
fontSize: 14,
color: '#666',
marginLeft: 4,
marginBottom: 2,
fontWeight: '500',
},
});