feat: 体重管理模块交互完善—多状态卡片显隐、导航链路连通、SITE_MAP补全
- employee-app/home: 体重管理模块标题栏/卡片/功能列表入口指向weight-main.html - basic-info: 返回按钮智能跳转,根据referrer判断来源 - goal-commitment: setGoalType改为URL参数跳转刷新,新增applyGoalTypeState函数 - goal-management: 7种状态新增hideActCard/hideSelfCard/showInfoCard字段控制卡片显隐,personal/只读态专属逻辑完善 - weight-main(新): 体重管理主入口页(英雄区/三态卡片/吃动平衡/体重记录/排行榜/推荐视频) - balance-history(新): 吃动平衡历史页(月视图日历+柱状图+交互明细) - index.html: entry改为weight-main.html,SITE_MAP补全promise-signing/my-promise/balance-history Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
2ddd649a69
commit
e26e596c11
+6
-2
@@ -563,13 +563,17 @@ const SITE_MAP = [
|
||||
{ file:'report-query.html', label:'报告查询详情' },
|
||||
{ file:'project-detail.html', label:'体检项目详情' }
|
||||
] },
|
||||
{ name:'体重管理', dir:'employee-app/weight-management', entry:'goal-commitment.html', pages:[
|
||||
{ name:'体重管理', dir:'employee-app/weight-management', entry:'weight-main.html', pages:[
|
||||
{ file:'weight-main.html', label:'体重管理主页' },
|
||||
{ file:'goal-commitment.html', label:'目标承诺' },
|
||||
{ file:'basic-info.html', label:'基本信息' },
|
||||
{ file:'indicators-diseases.html', label:'指标慢病' },
|
||||
{ file:'goal-management.html', label:'目标管理' },
|
||||
{ file:'activity-detail.html', label:'活动详情' },
|
||||
{ file:'contraindications.html', label:'禁忌证' }
|
||||
{ file:'contraindications.html', label:'禁忌证' },
|
||||
{ file:'promise-signing.html', label:'承诺签订' },
|
||||
{ file:'my-promise.html', label:'我的承诺书' },
|
||||
{ file:'balance-history.html', label:'吃动平衡历史' }
|
||||
] },
|
||||
{ name:'营养管理', dir:'employee-app/nutrition', pages:[] },
|
||||
{ name:'运动管理', dir:'employee-app/exercise', pages:[] },
|
||||
|
||||
Reference in New Issue
Block a user