feat(app): 新增生理周期记录功能与首页卡片自定义支持
- 新增生理周期追踪页面及相关算法逻辑,支持经期记录与预测 - 新增首页统计卡片自定义页面,支持VIP用户调整卡片显示状态与顺序 - 重构首页统计页面布局逻辑,支持动态渲染与混合布局 - 引入 react-native-draggable-flatlist 用于实现拖拽排序功能 - 添加相关多语言配置及用户偏好设置存储接口
This commit is contained in:
@@ -112,6 +112,28 @@ export const personal = {
|
||||
},
|
||||
};
|
||||
|
||||
export const statisticsCustomization = {
|
||||
title: 'Home Content Settings',
|
||||
sectionTitle: 'Body Metrics Cards',
|
||||
description: {
|
||||
text: '• Customize the body metrics modules displayed on the home page\n• Hidden modules will not be shown on the home page, but data will be retained',
|
||||
},
|
||||
items: {
|
||||
mood: 'Mood',
|
||||
steps: 'Steps',
|
||||
stress: 'Stress',
|
||||
sleep: 'Sleep',
|
||||
fitnessRings: 'Fitness Rings',
|
||||
water: 'Water Intake',
|
||||
basalMetabolism: 'Basal Metabolism',
|
||||
oxygenSaturation: 'Oxygen Saturation',
|
||||
menstrualCycle: 'Menstrual Cycle',
|
||||
weight: 'Weight',
|
||||
circumference: 'Circumference',
|
||||
},
|
||||
vipRequired: 'VIP membership required to customize home layout',
|
||||
};
|
||||
|
||||
export const editProfile = {
|
||||
title: 'Edit Profile',
|
||||
fields: {
|
||||
|
||||
@@ -112,6 +112,28 @@ export const personal = {
|
||||
},
|
||||
};
|
||||
|
||||
export const statisticsCustomization = {
|
||||
title: '首页内容设置',
|
||||
sectionTitle: '身体指标卡片',
|
||||
description: {
|
||||
text: '• 自定义首页展示的身体指标模块\n• 关闭的模块将不会在首页显示,但数据仍会保留',
|
||||
},
|
||||
items: {
|
||||
mood: '心情',
|
||||
steps: '步数',
|
||||
stress: '压力',
|
||||
sleep: '睡眠',
|
||||
fitnessRings: '健身圆环',
|
||||
water: '饮水',
|
||||
basalMetabolism: '基础代谢',
|
||||
oxygenSaturation: '血氧',
|
||||
menstrualCycle: '经期',
|
||||
weight: '体重',
|
||||
circumference: '围度',
|
||||
},
|
||||
vipRequired: '需要开通 VIP 会员才能自定义首页布局',
|
||||
};
|
||||
|
||||
export const editProfile = {
|
||||
title: '编辑资料',
|
||||
fields: {
|
||||
|
||||
Reference in New Issue
Block a user