feat: 新增健康档案模块,支持家庭邀请与个人健康数据管理

This commit is contained in:
richarjiang
2025-12-04 17:56:04 +08:00
parent e713ffbace
commit a254af92c7
28 changed files with 4177 additions and 315 deletions

View File

@@ -176,6 +176,11 @@ export const statistics = {
days: 'days',
range: 'Range',
unit: 'kg',
progress: {
lost: 'Lost',
toGo: 'To go',
},
demo: 'Demo',
bmiModal: {
title: 'BMI Index Explanation',
description: 'BMI (Body Mass Index) is an internationally recognized health indicator for assessing weight relative to height',
@@ -205,13 +210,6 @@ export const statistics = {
},
},
},
tabs: {
health: 'Health',
medications: 'Meds',
fasting: 'Fasting',
challenges: 'Challenges',
personal: 'Me',
},
activityHeatMap: {
subtitle: 'Active {{days}} days in the last 6 months',
activeRate: '{{rate}}%',
@@ -726,3 +724,92 @@ export const workoutHistory = {
},
monthOccurrence: 'This is your {{index}} {{activity}} in {{month}}.',
};
export const health = {
tabs: {
health: 'Health',
medications: 'Meds',
fasting: 'Fasting',
challenges: 'Challenges',
personal: 'Me',
healthProfile: {
title: 'Health Profile',
subtitle: 'Invite family to join health management for timely anomaly alerts',
privacyNotice: 'Profile content is visible only to you. We strictly protect your privacy.',
basicInfo: 'Basic Info',
healthHistory: 'History',
medicalRecords: 'Records',
checkupRecords: 'Checkups',
medicineBox: 'Medications',
basicInfoCard: {
title: 'Basic Information',
noData: 'No data',
bmi: 'BMI',
height: 'Height',
heightUnit: 'CM',
weight: 'Weight',
weightUnit: 'KG',
waist: 'Waist',
waistUnit: 'CM',
},
history: {
allergy: 'Allergies',
disease: 'Conditions',
surgery: 'Surgeries',
familyDisease: 'Family History',
pending: 'To be added',
edit: 'Edit',
modal: {
question: 'Do you have {{type}}?',
yes: 'Yes',
no: 'No',
addDetails: 'Add Details',
enterSpecific: 'Enter specific condition...',
recommendations: 'Recommendations',
save: 'Save',
none: 'None',
yesNoDetails: 'Yes (No details)',
diagnosisDate: 'Diagnosis Date',
namePlaceholder: 'Condition Name',
addItem: 'Add Record',
selectDate: 'Select Date'
},
recommendationItems: {
allergy: {
penicillin: 'Penicillin',
sulfonamides: 'Sulfonamides',
peanuts: 'Peanuts',
seafood: 'Seafood',
pollen: 'Pollen',
dustMites: 'Dust Mites',
alcohol: 'Alcohol',
mango: 'Mango'
},
disease: {
hypertension: 'Hypertension',
diabetes: 'Diabetes',
asthma: 'Asthma',
heartDisease: 'Heart Disease',
gastritis: 'Gastritis',
migraine: 'Migraine'
},
surgery: {
appendectomy: 'Appendectomy',
cesareanSection: 'Cesarean Section',
tonsillectomy: 'Tonsillectomy',
fractureRepair: 'Fracture Repair',
none: 'None'
},
familyDisease: {
hypertension: 'Hypertension',
diabetes: 'Diabetes',
cancer: 'Cancer',
heartDisease: 'Heart Disease',
stroke: 'Stroke',
alzheimers: 'Alzheimer\'s'
}
}
}
}
}
};