feat(health): 新增日照时长监测卡片与 HealthKit 集成
- iOS 端集成 HealthKit 日照时间 (TimeInDaylight) 数据获取接口 - 新增 SunlightCard 组件,支持查看今日数据及最近30天历史趋势图表 - 更新统计页和自定义设置页,支持开启/关闭日照卡片 - 优化 HealthDataCard 组件,支持自定义图标组件和副标题显示 - 更新多语言文件及应用版本号至 1.1.6
This commit is contained in:
@@ -140,6 +140,19 @@ export const statistics = {
|
||||
title: '睡眠',
|
||||
loading: '加载中...',
|
||||
},
|
||||
sunlight: {
|
||||
title: '晒太阳',
|
||||
unit: '分钟',
|
||||
compareIncrease: '与 {{date}} 相比增加 {{diff}} 分钟',
|
||||
compareDecrease: '与 {{date}} 相比减少 {{diff}} 分钟',
|
||||
compareSame: '与 {{date}} 相比无变化',
|
||||
compareNone: '暂无对比',
|
||||
last30Days: '最近30天',
|
||||
syncing: '正在同步健康数据...',
|
||||
noData: '暂无日照时间数据',
|
||||
average: '30天均值',
|
||||
latest: '最新值',
|
||||
},
|
||||
oxygen: {
|
||||
title: '血氧饱和度',
|
||||
},
|
||||
|
||||
@@ -123,6 +123,7 @@ export const statisticsCustomization = {
|
||||
steps: '步数',
|
||||
stress: '压力',
|
||||
sleep: '睡眠',
|
||||
sunlight: '晒太阳',
|
||||
fitnessRings: '健身圆环',
|
||||
water: '饮水',
|
||||
basalMetabolism: '基础代谢',
|
||||
|
||||
Reference in New Issue
Block a user