feat: 体重管理子页面补充—饮食/运动/体重打卡与记录、建议页、排行榜、报告页

- weight-main.html: 右上角三点菜单支持三种页面类型切换(已参加活动/已设置个人目标/未参加未设置),各类型卡片显隐控制
- 每日打卡三卡片(吃/动/体重)添加点击跳转至对应打卡页
- 膳食建议/运动建议/体重报告卡片添加跳转,报告卡片携带当前类型参数
- 排行榜新增缺省占位状态(未参加活动时显示空态提示)
- 新增10个子页面: diet-advice/eat-checkin/eat-history/exercise-advice/exercise-checkin/exercise-history/weight-checkin/weight-history/weight-ranking/weight-report
- employee-app/home/index.html 每日打卡卡片同步添加点击跳转
- index.html SITE_MAP 体重管理模块新增10个页面条目

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
liuyunqin
2026-06-12 18:08:29 +08:00
co-authored by Claude Opus 4.8
parent 2373704945
commit 00f2ef7e73
14 changed files with 6239 additions and 17 deletions
+11 -1
View File
@@ -565,6 +565,9 @@ const SITE_MAP = [
] },
{ name:'体重管理', dir:'employee-app/weight-management', entry:'weight-main.html', pages:[
{ file:'weight-main.html', label:'体重管理主页' },
{ file:'weight-ranking.html', label:'排行榜' },
{ file:'eat-checkin.html', label:'吃打卡' },
{ file:'eat-history.html', label:'摄入记录历史' },
{ file:'goal-commitment.html', label:'目标承诺' },
{ file:'basic-info.html', label:'基本信息' },
{ file:'indicators-diseases.html', label:'指标慢病' },
@@ -573,7 +576,14 @@ const SITE_MAP = [
{ file:'contraindications.html', label:'禁忌证' },
{ file:'promise-signing.html', label:'承诺签订' },
{ file:'my-promise.html', label:'我的承诺书' },
{ file:'balance-history.html', label:'吃动平衡历史' }
{ file:'balance-history.html', label:'吃动平衡历史' },
{ file:'weight-history.html', label:'体重记录历史' },
{ file:'weight-report.html', label:'体重报告' },
{ file:'diet-advice.html', label:'膳食建议' },
{ file:'exercise-advice.html', label:'运动建议' },
{ file:'exercise-checkin.html', label:'动打卡' },
{ file:'exercise-history.html', label:'消耗记录' },
{ file:'weight-checkin.html', label:'重打卡' }
] },
{ name:'营养管理', dir:'employee-app/nutrition', pages:[] },
{ name:'运动管理', dir:'employee-app/exercise', pages:[] },