feat(个人中心): 优化会员横幅组件,支持深色模式与国际化;新增医疗记录卡片组件,完善健康档案功能

This commit is contained in:
richarjiang
2025-12-05 14:35:10 +08:00
parent f3d4264b53
commit 3d08721474
16 changed files with 3771 additions and 2961 deletions

View File

@@ -726,6 +726,41 @@ export const workoutHistory = {
monthOccurrence: '这是你{{month}}的第 {{index}} 次{{activity}}。',
};
export const familyGroup = {
joinTitle: '加入家庭组',
joinDescription: '输入家人分享的邀请码,加入家庭健康管理',
inviteCodePlaceholder: '请输入邀请码',
relationshipLabel: '与创建者的关系',
relationshipPlaceholder: '请选择关系',
joinButton: '加入',
joining: '加入中...',
cancel: '取消',
errors: {
emptyCode: '请输入邀请码',
emptyRelationship: '请选择与创建者的关系',
},
success: '成功加入家庭组',
relationships: {
spouse: '配偶',
father: '父亲',
mother: '母亲',
son: '儿子',
daughter: '女儿',
grandfather: '爷爷/外公',
grandmother: '奶奶/外婆',
grandson: '孙子/外孙',
granddaughter: '孙女/外孙女',
brother: '兄弟',
sister: '姐妹',
uncle: '叔叔/舅舅',
aunt: '阿姨/姑姑',
nephew: '侄子/外甥',
niece: '侄女/外甥女',
cousin: '表/堂兄弟姐妹',
other: '其他',
},
};
export const health = {
tabs: {
health: '健康',

View File

@@ -27,6 +27,11 @@ export const personal = {
validForever: '长期有效',
dateFormat: 'YYYY年MM月DD日',
},
membershipBanner: {
title: '解锁尊享会员权益',
subtitle: '无限次使用 AI 功能,定制专属健康计划',
cta: '立即升级',
},
sections: {
notifications: '通知',
developer: '开发者',