diff --git a/employee-app/weight-management/diet-questionnaire.html b/employee-app/weight-management/diet-questionnaire.html deleted file mode 100644 index 2519e6e..0000000 --- a/employee-app/weight-management/diet-questionnaire.html +++ /dev/null @@ -1,591 +0,0 @@ - - - - - -膳食偏好设置 - 员工端 | 健康CQ原型 - - - -
-
- 09:40 -
- - - -
-
- - - -
-
-
🥗
-
定制你的专属膳食方案
-
根据你的偏好与健康数据生成个性化食谱
-
-
- - -
-
- 1 - 所在地区 - 必选 -
-
- 请选择常驻地区 - -
-
- - -
-
- 2 - 口味偏好 - 必选(可多选) -
-
- 清淡/原味 - 鲜香 - 咸鲜 - 微辣 - 麻辣 - 酸辣 - 酸甜 - 酱香/红烧 - 蒜香/葱香 -
-
- - -
-
- 3 - 饮食禁忌 - 选填 -
-
- -
-
- 添加 -
-
-
- - -
- - -
-
-
- 取消 - 选择所在地区 - 确定 -
- -
-
-
- -
-
- - 返回选择省份 - -
-
-
-
- - -
-
-
- 取消 - 添加禁忌 - 确定 -
-
- -
常用食材快捷添加
-
-
-
-
- - - - diff --git a/employee-app/weight-management/doc/CHANGELOG.md b/employee-app/weight-management/doc/CHANGELOG.md index 930a376..433cbbb 100644 --- a/employee-app/weight-management/doc/CHANGELOG.md +++ b/employee-app/weight-management/doc/CHANGELOG.md @@ -4,6 +4,16 @@ --- +## [2026-08-27] refactor: 删除膳食偏好设置页(diet-questionnaire.html) + +**涉及文件:** +- `employee-app/weight-management/diet-questionnaire.html`(删除) +- `employee-app/weight-management/doc/screenshots/diet-questionnaire.jpg` / `diet-questionnaire-region.jpg` / `diet-questionnaire-avoid.jpg`(删除,仅被该页引用) +- `employee-app/weight-management/doc/PRD.md`(修改):页面清单与逐页说明移除"膳食偏好设置",后续章节及清单序号 17~28 前移为 16~27,同步修正"见第 N 节"交叉引用;体重管理主页交互说明中"今日饮食建议"改为直接跳转 diet-advice-v2.html(不再先判断饮食偏好);页面导航结构树移除"膳食偏好设置" +- `employee-app/weight-management/doc/design-overview.html`(修改):移除膳食偏好设置及其两张弹窗共 3 张截图卡片 + +--- + ## [2026-08-19] fix: 重拍全部 18 张弹窗截图 — 2x 超采样高清版,解决模糊问题 **涉及文件(20个):** diff --git a/employee-app/weight-management/doc/PRD.md b/employee-app/weight-management/doc/PRD.md index 0d5a362..ac3eecb 100644 --- a/employee-app/weight-management/doc/PRD.md +++ b/employee-app/weight-management/doc/PRD.md @@ -18,7 +18,7 @@ │ ├── 饮食记录 → 饮食录入 → 拍照识别 │ ├── 运动记录 → 运动录入 │ ├── 体重记录 → 详细报告 / 体脂仪报告 / 身高秤报告 -│ ├── 今日饮食建议 / 膳食偏好设置 +│ ├── 今日饮食建议 │ ├── 智能运动计划 │ ├── 排行榜 │ ├── 体重报告 → 数据明细 @@ -80,29 +80,28 @@ stateDiagram-v2 | 13 | 运动记录 | exercise-detail-v2.html | 页面 | | 14 | 今日饮食建议 | diet-advice-v2.html | 页面 | | 15 | 智能运动计划 | exercise-advice-v2.html | 页面 | -| 16 | 膳食偏好设置 | diet-questionnaire.html | 页面 | -| 17 | 拍照识别 | scan-checkin.html | 页面 | +| 16 | 拍照识别 | scan-checkin.html | 页面 | ### 三、体重记录与报告 | 序号 | 页面/弹窗 | 文件 | 类型 | |------|-----------|------|------| -| 18 | 体重记录 | weight-detail-v2.html | 页面 | -| 19 | 详细报告 | report-detail.html | 页面 | -| 20 | 体脂仪报告 | body-fat-report.html | 页面 | -| 21 | 身高秤报告 | height-scale-report.html | 页面 | -| 22 | 体重报告 | weight-report.html | 页面 | -| 23 | 数据明细 | weight-record-detail-v2.html | 页面 | -| 24 | 排行榜 | weight-ranking.html | 页面 | +| 17 | 体重记录 | weight-detail-v2.html | 页面 | +| 18 | 详细报告 | report-detail.html | 页面 | +| 19 | 体脂仪报告 | body-fat-report.html | 页面 | +| 20 | 身高秤报告 | height-scale-report.html | 页面 | +| 21 | 体重报告 | weight-report.html | 页面 | +| 22 | 数据明细 | weight-record-detail-v2.html | 页面 | +| 23 | 排行榜 | weight-ranking.html | 页面 | ### 四、蓝牙体脂秤 | 序号 | 页面/弹窗 | 文件 | 类型 | |------|-----------|------|------| -| 25 | 蓝牙称 | bluetooth-scale-v2.html | 页面 | -| 26 | 搜索设备 | bluetooth-search-v2.html | 页面 | -| 27 | WiFi 连接 | bluetooth-wifi-v2.html | 页面 | -| 28 | 用户管理 | bluetooth-device-members-v2.html | 页面 | +| 24 | 蓝牙称 | bluetooth-scale-v2.html | 页面 | +| 25 | 搜索设备 | bluetooth-search-v2.html | 页面 | +| 26 | WiFi 连接 | bluetooth-wifi-v2.html | 页面 | +| 27 | 用户管理 | bluetooth-device-members-v2.html | 页面 | --- @@ -141,7 +140,7 @@ stateDiagram-v2 - **吃记录卡片:** 左侧环形进度圈(今日摄入/推荐摄入/还可摄入热量),右侧营养素进度(碳水/蛋白质/脂肪,各含摄入量/推荐量),右上"今日饮食建议"按钮 + "+"记录按钮 - **动记录卡片:** 左侧环形进度圈(今日消耗/推荐消耗/还需消耗热量),右侧消耗明细(步行消耗/运动消耗/基础代谢),右上"智能运动计划"按钮 + "+"记录按钮 - **体重记录卡片:** 左侧最近一次体重(含记录日期)+ 右侧近 7 日折线趋势图,右上"蓝牙称"按钮 + "+"记录按钮(打开记录体重弹窗) -- **记录体重弹窗(底部弹层):** 记录体重(必填,滑动尺子调整)+ 记录体脂率(开关)+ 记录腰围(开关)+ "保存"按钮,构成同体重记录页的记录体重弹窗(见第 18 节) +- **记录体重弹窗(底部弹层):** 记录体重(必填,滑动尺子调整)+ 记录体脂率(开关)+ 记录腰围(开关)+ "保存"按钮,构成同体重记录页的记录体重弹窗(见第 17 节) ![记录体重弹窗](screenshots/weight-main-record.jpg) - **记录成功弹窗(保存后弹出):** 居中弹窗——今日日期 + "记录成功" + 今日体重(kg,青绿高亮)+ 体脂率/腰围摘要行(对应开关开启时显示)+ "确定"按钮(仅关闭弹窗,留在当前页) @@ -158,7 +157,7 @@ stateDiagram-v2 - 点击吃/动/体重卡片:已记录时跳转到对应记录页(饮食记录 eat-detail-v2.html / 运动记录 exercise-detail-v2.html / 体重记录 weight-detail-v2.html),未记录时直接跳转到自记打卡页(饮食录入 eat-checkin-v2.html / 运动录入 exercise-checkin-v2.html,体重为打开记录体重弹窗) - 点击吃卡片"+"跳转到饮食录入页(eat-checkin-v2.html);动卡片"+"跳转到运动录入页(exercise-checkin-v2.html);体重卡片"+"打开记录体重弹窗 - 记录体重弹窗点击"保存"后关闭弹窗并弹出记录成功弹窗(展示本次记录的体重等数据),主页体重卡片同步更新为最新记录 -- 点击"今日饮食建议",先判断是否设置饮食偏好,如未设置,跳转到diet-questionnaire.html,设置了则跳转到今日饮食建议页(diet-advice-v2.html);"智能运动计划"跳转到智能运动计划页(exercise-advice-v2.html);"蓝牙称"跳转到蓝牙称页(bluetooth-scale-v2.html) +- 点击"今日饮食建议"跳转到今日饮食建议页(diet-advice-v2.html);"智能运动计划"跳转到智能运动计划页(exercise-advice-v2.html);"蓝牙称"跳转到蓝牙称页(bluetooth-scale-v2.html) - 点击吃动平衡卡片跳转到吃动平衡页(eat-exercise-detail-v2.html);点击周日历中的日期切换当日吃动统计(不触发跳转) - 点击排行榜卡片跳转到排行榜页(weight-ranking.html);体重报告卡片跳转到体重报告页(weight-report.html) - 点击返回按钮跳转到应用主页(home/index.html) @@ -454,7 +453,7 @@ stateDiagram-v2 **主要UI元素:** - 周历(含月历弹窗):日期用彩色圆环标记数据来源(智记餐/自记餐/智记+自记餐),圆环下方显示来源文字标签(智 / 自 / 智+自) -- 月历弹窗:月份标题 + 前后月份切换箭头(◀/▶)+ 当月日期网格(今日/选中态高亮,点选日期后关闭弹窗并切换当日数据)——第 11/13/14/15/18 节各页月历弹窗构成相同 +- 月历弹窗:月份标题 + 前后月份切换箭头(◀/▶)+ 当月日期网格(今日/选中态高亮,点选日期后关闭弹窗并切换当日数据)——第 11/13/14/15/17 节各页月历弹窗构成相同 ![月历弹窗](screenshots/eat-detail-month.jpg) - 热量标尺:半圆进度弧 + 中心总摄入/推荐摄入,右上"今日饮食建议"按钮 @@ -637,37 +636,7 @@ stateDiagram-v2 --- -### 16. 膳食偏好设置(diet-questionnaire.html) - -![页面截图](screenshots/diet-questionnaire.jpg) - -**功能说明:** 膳食偏好问卷,用于生成个性化膳食方案。 - -**主要UI元素:** -- 顶部引导区(绿色渐变):"定制你的专属膳食方案" -- Q1 所在地区(必选):省-市级联选择弹窗(预置陕西/甘肃/宁夏/内蒙古等长庆油田覆盖区域,含"其他地区"兜底项) - - ![省-市级联选择弹窗](screenshots/diet-questionnaire-region.jpg) -- Q2 口味偏好(必选,多选):清淡/原味、鲜香、咸鲜、微辣、麻辣、酸辣、酸甜、酱香/红烧、蒜香/葱香 -- Q3 饮食禁忌(选填):"添加"按钮打开自定义禁忌弹窗(输入框 + 常用食材快捷添加) - - ![自定义禁忌弹窗](screenshots/diet-questionnaire-avoid.jpg) -- 提交按钮:"请先填写必选项"(禁用态)→ "开始推荐"(可用态) - -**交互说明:** -- 点击地区行打开省市联动底部弹窗 -- 点击口味偏好标签切换选中/取消(多选) -- 点击"添加"打开自定义禁忌添加弹窗 -- 点击提交按钮保存偏好并跳转到今日饮食建议页(diet-advice-v2.html) - -**业务规则:** -- 地区与口味为必选,禁忌为选填 -- 首次进入(无历史偏好)默认选中常用口味"清淡/原味、咸鲜" -- 偏好数据持久化到本地,支持"修改偏好"回填 - ---- - -### 17. 拍照识别(scan-checkin.html) +### 16. 拍照识别(scan-checkin.html) ![页面截图](screenshots/scan-checkin.jpg) @@ -696,7 +665,7 @@ stateDiagram-v2 ## 三、体重记录与报告 -### 18. 体重记录(weight-detail-v2.html) +### 17. 体重记录(weight-detail-v2.html) ![页面截图](screenshots/weight-detail.jpg) @@ -729,7 +698,7 @@ stateDiagram-v2 - 体重数据来源目前有体检数据、自记数据、后台管理员记录、身高秤、蓝牙秤、体脂仪这6种,其中体检数据和后台管理员需要更新最新体重但记录不计入员工打卡行动,另外三种测量设备的数据可能出现延迟上传的情况,系统至多允许补录前一天的体重数据(定时修正前一天的行动状态和排名数据),再早的数据补传后不计入体重管理行动体重打卡 --- -### 19. 详细报告(report-detail.html) +### 18. 详细报告(report-detail.html) ![页面截图](screenshots/report-detail-bluetooth.jpg) @@ -757,7 +726,7 @@ stateDiagram-v2 --- -### 20. 体脂仪报告(body-fat-report.html) +### 19. 体脂仪报告(body-fat-report.html) ![页面截图](screenshots/body-fat-report.jpg) @@ -781,7 +750,7 @@ stateDiagram-v2 --- -### 21. 身高秤报告(height-scale-report.html) +### 20. 身高秤报告(height-scale-report.html) ![页面截图](screenshots/height-scale-report.jpg) @@ -801,7 +770,7 @@ stateDiagram-v2 --- -### 22. 体重报告(weight-report.html) +### 21. 体重报告(weight-report.html) ![页面截图](screenshots/weight-report.jpg) @@ -832,7 +801,7 @@ stateDiagram-v2 --- -### 23. 数据明细(weight-record-detail-v2.html) +### 22. 数据明细(weight-record-detail-v2.html) ![页面截图](screenshots/weight-record-detail.jpg) @@ -851,7 +820,7 @@ stateDiagram-v2 --- -### 24. 排行榜(weight-ranking.html) +### 23. 排行榜(weight-ranking.html) ![页面截图](screenshots/weight-ranking.jpg) @@ -889,7 +858,7 @@ stateDiagram-v2 ## 四、蓝牙体脂秤 -### 25. 蓝牙称(bluetooth-scale-v2.html) +### 24. 蓝牙称(bluetooth-scale-v2.html) ![页面截图](screenshots/bluetooth-scale.jpg) @@ -916,7 +885,7 @@ stateDiagram-v2 --- -### 26. 搜索设备(bluetooth-search-v2.html) +### 25. 搜索设备(bluetooth-search-v2.html) ![页面截图](screenshots/bluetooth-search.jpg) @@ -938,7 +907,7 @@ stateDiagram-v2 --- -### 27. WiFi 连接(bluetooth-wifi-v2.html) +### 26. WiFi 连接(bluetooth-wifi-v2.html) ![页面截图](screenshots/bluetooth-wifi.jpg) @@ -958,7 +927,7 @@ stateDiagram-v2 --- -### 28. 用户管理(bluetooth-device-members-v2.html) +### 27. 用户管理(bluetooth-device-members-v2.html) ![页面截图](screenshots/bluetooth-device-members.jpg) diff --git a/employee-app/weight-management/doc/design-overview.html b/employee-app/weight-management/doc/design-overview.html index 27cbe51..ae0dfc3 100644 --- a/employee-app/weight-management/doc/design-overview.html +++ b/employee-app/weight-management/doc/design-overview.html @@ -419,21 +419,6 @@ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-
膳食建议 · 不喜欢确认弹窗
弹窗
-
-
-
膳食偏好设置
-
弹窗
-
-
-
-
膳食偏好 · 地区选择弹窗
-
弹窗
-
-
-
-
膳食偏好 · 饮食禁忌弹窗
-
弹窗
-
运动建议
diff --git a/employee-app/weight-management/doc/screenshots/diet-questionnaire-avoid.jpg b/employee-app/weight-management/doc/screenshots/diet-questionnaire-avoid.jpg deleted file mode 100644 index 6d1598c..0000000 Binary files a/employee-app/weight-management/doc/screenshots/diet-questionnaire-avoid.jpg and /dev/null differ diff --git a/employee-app/weight-management/doc/screenshots/diet-questionnaire-region.jpg b/employee-app/weight-management/doc/screenshots/diet-questionnaire-region.jpg deleted file mode 100644 index 70c2398..0000000 Binary files a/employee-app/weight-management/doc/screenshots/diet-questionnaire-region.jpg and /dev/null differ diff --git a/employee-app/weight-management/doc/screenshots/diet-questionnaire.jpg b/employee-app/weight-management/doc/screenshots/diet-questionnaire.jpg deleted file mode 100644 index 8096797..0000000 Binary files a/employee-app/weight-management/doc/screenshots/diet-questionnaire.jpg and /dev/null differ