diff --git a/employee-app/weight-management/doc/PRD.md b/employee-app/weight-management/doc/PRD.md index 971ad9c..9e426ba 100644 --- a/employee-app/weight-management/doc/PRD.md +++ b/employee-app/weight-management/doc/PRD.md @@ -17,7 +17,7 @@ │ ├── 吃动平衡 │ ├── 饮食记录 → 饮食录入 → 拍照识别 │ ├── 运动记录 → 运动录入 -│ ├── 体重记录 → 详细报告 / 体脂仪报告 +│ ├── 体重记录 → 详细报告 / 体脂仪报告 / 身高秤报告 │ ├── 今日饮食建议 / 膳食偏好设置 │ ├── 智能运动计划 │ ├── 排行榜 @@ -88,18 +88,19 @@ stateDiagram-v2 | 18 | 体重记录 | weight-detail-v2.html | 页面 | | 19 | 详细报告 | report-detail.html | 页面 | | 20 | 体脂仪报告 | body-fat-report.html | 页面 | -| 21 | 体重报告 | weight-report.html | 页面 | -| 22 | 数据明细 | weight-record-detail-v2.html | 页面 | -| 23 | 排行榜 | weight-ranking.html | 页面 | +| 21 | 身高秤报告 | height-scale-report.html | 页面 | +| 22 | 体重报告 | weight-report.html | 页面 | +| 23 | 数据明细 | weight-record-detail-v2.html | 页面 | +| 24 | 排行榜 | weight-ranking.html | 页面 | ### 四、蓝牙体脂秤 | 序号 | 页面/弹窗 | 文件 | 类型 | |------|-----------|------|------| -| 24 | 蓝牙称 | bluetooth-scale-v2.html | 页面 | -| 25 | 搜索设备 | bluetooth-search-v2.html | 页面 | -| 26 | WiFi 连接 | bluetooth-wifi-v2.html | 页面 | -| 27 | 用户管理 | bluetooth-device-members-v2.html | 页面 | +| 25 | 蓝牙称 | bluetooth-scale-v2.html | 页面 | +| 26 | 搜索设备 | bluetooth-search-v2.html | 页面 | +| 27 | WiFi 连接 | bluetooth-wifi-v2.html | 页面 | +| 28 | 用户管理 | bluetooth-device-members-v2.html | 页面 | --- @@ -661,14 +662,14 @@ stateDiagram-v2 - 点击周历日期切换查看当日数据;点击周历标题打开月历弹窗,可在弹窗内切换月份并点选日期 - 点击指标 Tab(体重/体脂/腰围变化)切换趋势图表;点击时间范围 Tab 切换记录明细列表的时间范围 - 点击折线数据点显示悬浮提示 -- 点击非自记记录行跳转到详细报告页(蓝牙称/身高秤跳 report-detail.html,体脂仪跳 body-fat-report.html) +- 点击非自记记录行跳转到详细报告页(蓝牙称跳 report-detail.html,体脂仪跳 body-fat-report.html,身高秤跳 height-scale-report.html) - 点击"记录体重"打开记录弹窗 - 点击返回按钮返回上一页 **业务规则:** - 无记录日期显示空状态("立即称重"按钮) - BMI 分档:<18.5 偏瘦 / 18.5-24 正常 / 24-28 超重 / ≥28 肥胖 -- 非自记来源(蓝牙称/身高秤/体脂仪)记录可点击查看详细报告,自记不可点击;身高秤来源记录跳转时复用体重秤(scale)报告模板,体脂仪来源记录跳转至独立体脂仪报告页(body-fat-report.html) +- 非自记来源(蓝牙称/身高秤/体脂仪)记录可点击查看详细报告,自记不可点击;蓝牙称跳 report-detail.html,体脂仪跳 body-fat-report.html,身高秤跳 height-scale-report.html - 当日最新记录与上一次记录对比显示变化,无历史记录时显示"首次记录" --- @@ -693,7 +694,7 @@ stateDiagram-v2 | 蓝牙秤(device=bluetooth) | 基础指标、身体成分、脂肪分析、体态管理、体重管控、细胞液分析(8电极)、进阶成分(8电极)、躯干/四肢脂肪(8电极)、躯干/四肢肌肉(8电极) | | 体脂仪(device=fat) | 基础指标、体脂分析、体成分、体重管理、节段脂肪、节段肌肉 | -注:体重记录页中"身高秤"来源的记录跳转本页时复用体重秤(scale)模板;"体脂仪"来源的记录已改跳转至独立页面 body-fat-report.html,本页 device=fat 模式保留用于兼容。 +注:体重记录页中"身高秤"来源的记录已改跳转至独立页面 height-scale-report.html,"体脂仪"来源的记录已改跳转至 body-fat-report.html,本页 device=fat / device=scale 模式保留用于兼容。 **交互说明:** - 点击返回按钮返回来源页 @@ -725,7 +726,27 @@ stateDiagram-v2 --- -### 21. 体重报告(weight-report.html) +### 21. 身高秤报告(height-scale-report.html) + +![页面截图](screenshots/height-scale-report.jpg) + +**功能说明:** 展示身高秤单次测量的身体成分报告,含身高、体重及身体成分、体态相关指标。 + +**页面状态:** 从体重记录页(weight-detail-v2.html)记录明细列表中身高秤来源的记录跳转进入,页面只读。 + +**主要UI元素:** +- 报告头部(蓝青渐变卡片):测量时间、设备标签「身高秤」、当前体重(大字)、BMI 状态标签、较上次变化 +- 基础指标:身高 / 体重 / BMI / 体脂率(含 BMI 指示条:消瘦/正常/超重/肥胖四段色轨 + 指针) +- 身体成分:体脂肪 / 水分率 / 水分量 / 肌肉率 / 肌肉量 / 骨量 / 去脂体重 +- 体态分析:内脏脂肪 / 体型 / 理想体重 / 超重百分比 / 体表面积 + +**交互说明:** +- 点击返回按钮返回体重记录页 +- 页面为只读展示,无编辑操作 + +--- + +### 22. 体重报告(weight-report.html) ![页面截图](screenshots/weight-report.jpg) @@ -756,7 +777,7 @@ stateDiagram-v2 --- -### 22. 数据明细(weight-record-detail-v2.html) +### 23. 数据明细(weight-record-detail-v2.html) ![页面截图](screenshots/weight-record-detail.jpg) @@ -775,7 +796,7 @@ stateDiagram-v2 --- -### 23. 排行榜(weight-ranking.html) +### 24. 排行榜(weight-ranking.html) ![页面截图](screenshots/weight-ranking.jpg) @@ -813,7 +834,7 @@ stateDiagram-v2 ## 四、蓝牙体脂秤 -### 24. 蓝牙称(bluetooth-scale-v2.html) +### 25. 蓝牙称(bluetooth-scale-v2.html) ![页面截图](screenshots/bluetooth-scale.jpg) @@ -840,7 +861,7 @@ stateDiagram-v2 --- -### 25. 搜索设备(bluetooth-search-v2.html) +### 26. 搜索设备(bluetooth-search-v2.html) ![页面截图](screenshots/bluetooth-search.jpg) @@ -862,7 +883,7 @@ stateDiagram-v2 --- -### 26. WiFi 连接(bluetooth-wifi-v2.html) +### 27. WiFi 连接(bluetooth-wifi-v2.html) ![页面截图](screenshots/bluetooth-wifi.jpg) @@ -882,7 +903,7 @@ stateDiagram-v2 --- -### 27. 用户管理(bluetooth-device-members-v2.html) +### 28. 用户管理(bluetooth-device-members-v2.html) ![页面截图](screenshots/bluetooth-device-members.jpg) diff --git a/employee-app/weight-management/doc/screenshots/height-scale-report.jpg b/employee-app/weight-management/doc/screenshots/height-scale-report.jpg new file mode 100644 index 0000000..68e9211 Binary files /dev/null and b/employee-app/weight-management/doc/screenshots/height-scale-report.jpg differ diff --git a/employee-app/weight-management/height-scale-report.html b/employee-app/weight-management/height-scale-report.html new file mode 100644 index 0000000..1af758a --- /dev/null +++ b/employee-app/weight-management/height-scale-report.html @@ -0,0 +1,199 @@ + + + + + +详细报告 - 员工端 | 健康CQ原型 + + + +
+
+ 9:41 + + + + + +
+ +
+ +
+ +
+
+
+
+ + + diff --git a/employee-app/weight-management/weight-detail-v2.html b/employee-app/weight-management/weight-detail-v2.html index 8eb9558..1e14003 100644 --- a/employee-app/weight-management/weight-detail-v2.html +++ b/employee-app/weight-management/weight-detail-v2.html @@ -1407,7 +1407,7 @@ function renderRecordList(range) { // 来源 → 详细报告页跳转地址(体脂仪跳转独立报告页,其余复用 report-detail.html) var reportUrlMap = { bluetooth: 'report-detail.html?device=bluetooth', - stadiometer: 'report-detail.html?device=scale', + stadiometer: 'height-scale-report.html', bodyanalyzer: 'body-fat-report.html' };