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:
liuyunqin
2026-06-12 08:50:01 +08:00
co-authored by Claude Opus 4.8
parent 2ddd649a69
commit e26e596c11
8 changed files with 1735 additions and 18 deletions
+3 -3
View File
@@ -171,13 +171,13 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
</div>
<!-- 体重管理模块 -->
<div class="weight-module">
<div class="weight-header">
<div class="weight-header" onclick="location.href='../weight-management/weight-main.html'" style="cursor:pointer;">
<span class="weight-header__watermark">WEIGHT</span>
<span class="weight-header__tab">体重管理</span>
<span class="weight-header__info">体重管理活动 <strong>58</strong> 天,第 <strong>8</strong></span>
</div>
<!-- 当前/目标/初始 卡片 -->
<div class="weight-card">
<div class="weight-card" onclick="location.href='../weight-management/weight-main.html'" style="cursor:pointer;">
<div class="weight-avatars">
<div class="weight-avatar-side">
<div class="weight-avatar__img">
@@ -389,7 +389,7 @@ var funcItems = [
{ name: '应急就医', color: '#FF4D4F', icon: '🚑', href: '../emergency-medical/index.html' },
{ name: '一线医疗', color: '#52C41A', icon: '🏥', href: '../frontline-medical/index.html' },
{ name: '健康体检', color: '#FAAD14', icon: '📋', href: '../health-checkup/index.html' },
{ name: '体重管理', color: '#722ED1', icon: '⚖️', href: '../weight-management/index.html' },
{ name: '体重管理', color: '#722ED1', icon: '⚖️', href: '../weight-management/weight-main.html' },
{ name: '营养管理', color: '#52C41A', icon: '🥗', href: '../nutrition/index.html' },
{ name: '运动管理', color: '#FA8C16', icon: '🏃', href: '../exercise/index.html' },
{ name: '健康监测', color: '#13C2C2', icon: '💓', href: '../health-monitor/index.html' },