{{ item.advice }}
+EVERGREEN HEALTH
+一人一方
健康与空间协同
+ 以睡眠为切入点,融合五感空间与动态健康处方,开启治未病日常管理。
+{{ title }}
++ {{ mode === 'login' ? '登录查看今日健康处方与微环境状态' : '第一步:填写手机号快速创建健康账户' }} +
++ 🔒 数据安全说明:所有身体体征与处方数据均遵循隐私保护规范,仅用于为您生成生活方式干预建议。 +
+From 93e9bb604d4bc3521bc253fb78b1d5f1dae577f2 Mon Sep 17 00:00:00 2001 From: fuenmao <980740792@qq.com> Date: Mon, 21 Sep 2026 15:53:02 +0800 Subject: [PATCH] feat: initialize Evergreen Health mobile app --- .env.development | 2 + .gitignore | 10 + index.html | 13 + package.json | 27 + pnpm-lock.yaml | 1189 ++++++++++++++++++++++++++++++++++ src/App.vue | 3 + src/env.d.ts | 1 + src/main.ts | 8 + src/router.ts | 22 + src/services/auth.ts | 20 + src/services/health.ts | 61 ++ src/services/http.ts | 41 ++ src/styles.css | 724 +++++++++++++++++++++ src/views/AuthView.vue | 114 ++++ src/views/DashboardView.vue | 256 ++++++++ src/views/OnboardingView.vue | 189 ++++++ tsconfig.json | 17 + vite.config.ts | 18 + 18 files changed, 2715 insertions(+) create mode 100644 .env.development create mode 100644 .gitignore create mode 100644 index.html create mode 100644 package.json create mode 100644 pnpm-lock.yaml create mode 100644 src/App.vue create mode 100644 src/env.d.ts create mode 100644 src/main.ts create mode 100644 src/router.ts create mode 100644 src/services/auth.ts create mode 100644 src/services/health.ts create mode 100644 src/services/http.ts create mode 100644 src/styles.css create mode 100644 src/views/AuthView.vue create mode 100644 src/views/DashboardView.vue create mode 100644 src/views/OnboardingView.vue create mode 100644 tsconfig.json create mode 100644 vite.config.ts diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..943ddad --- /dev/null +++ b/.env.development @@ -0,0 +1,2 @@ +# 后端开发地址;通过 Vite 代理访问,避免浏览器跨域。 +VITE_API_BASE_URL=http://localhost:5005 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..be0c678 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +node_modules/ +dist/ +.vite/ +*.local +.env.local +.env.*.local +*.log +.DS_Store +Thumbs.db + diff --git a/index.html b/index.html new file mode 100644 index 0000000..f06247f --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + +
+ + + +EVERGREEN HEALTH
+以睡眠为切入点,融合五感空间与动态健康处方,开启治未病日常管理。
++ {{ mode === 'login' ? '登录查看今日健康处方与微环境状态' : '第一步:填写手机号快速创建健康账户' }} +
++ 🔒 数据安全说明:所有身体体征与处方数据均遵循隐私保护规范,仅用于为您生成生活方式干预建议。 +
+正在同步您的今日健康方案与微环境参数…
++ {{ dashboard?.currentPlan?.summary || '完成基础板块选择与身体数据录入后,系统将为您量身定制每日干预方案。' }} +
+ + +{{ item.advice }}
++ ⚠️ 本建议由一人一方生活方式决策模型生成,仅用于日常健康管理与微环境优化,不构成医疗诊断或临床处方。 +
+ + + + +选择核心关注板块并补充身体数据,系统将依此推导并生成第一版个人健康方案。
+