From 807e185761d3eeef5f6430cfeba3f8dd947f2331 Mon Sep 17 00:00:00 2001 From: richarjiang Date: Thu, 14 Aug 2025 22:23:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=92=8C=E4=B8=BB=E9=A2=98=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将应用版本更新至 1.0.3,修改相关配置文件 - 强制全局使用浅色主题,确保一致的用户体验 - 在训练计划功能中新增激活计划的 API 接口,支持用户激活训练计划 - 优化打卡功能,支持自动同步打卡记录至服务器 - 更新样式以适应新功能的展示和交互 --- android/app/src/main/res/values/styles.xml | 1 + app.json | 4 +- app/(tabs)/index.tsx | 6 +- app/(tabs)/personal.tsx | 2 +- app/_layout.tsx | 6 +- app/checkin/index.tsx | 106 +++++++++++---- app/checkin/select.tsx | 67 +++++++--- app/onboarding/index.tsx | 2 +- app/onboarding/personal-info.tsx | 20 +-- app/profile/edit.tsx | 145 ++++++++++++++++++--- app/training-plan.tsx | 14 +- app/training-plan/create.tsx | 26 +++- hooks/useColorScheme.ts | 5 +- hooks/useColorScheme.web.ts | 21 +-- ios/digitalpilates/Info.plist | 2 +- services/checkins.ts | 14 ++ services/exercises.ts | 44 +++++++ services/trainingPlanApi.ts | 13 ++ store/checkinSlice.ts | 140 +++++++++++++++++--- store/index.ts | 35 ++++- store/trainingPlanSlice.ts | 145 +++++++++++++++++++-- 21 files changed, 677 insertions(+), 141 deletions(-) create mode 100644 services/exercises.ts diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml index 4ef1d97..b3c7754 100644 --- a/android/app/src/main/res/values/styles.xml +++ b/android/app/src/main/res/values/styles.xml @@ -3,6 +3,7 @@ @drawable/rn_edit_text_material @color/colorPrimary #ffffff + false