From e26e596c11e60b0ec3892f868b13310597a240f6 Mon Sep 17 00:00:00 2001 From: liuyunqin Date: Fri, 12 Jun 2026 08:49:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BD=93=E9=87=8D=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E4=BA=A4=E4=BA=92=E5=AE=8C=E5=96=84=E2=80=94?= =?UTF-8?q?=E5=A4=9A=E7=8A=B6=E6=80=81=E5=8D=A1=E7=89=87=E6=98=BE=E9=9A=90?= =?UTF-8?q?=E3=80=81=E5=AF=BC=E8=88=AA=E9=93=BE=E8=B7=AF=E8=BF=9E=E9=80=9A?= =?UTF-8?q?=E3=80=81SITE=5FMAP=E8=A1=A5=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- employee-app/home/index.html | 6 +- .../weight-management/balance-history.html | 308 ++++ .../weight-management/basic-info.html | 12 +- .../weight-management/doc/CHANGELOG.md | 96 ++ .../weight-management/goal-commitment.html | 10 +- .../weight-management/goal-management.html | 70 +- .../weight-management/weight-main.html | 1243 +++++++++++++++++ index.html | 8 +- 8 files changed, 1735 insertions(+), 18 deletions(-) create mode 100644 employee-app/weight-management/balance-history.html create mode 100644 employee-app/weight-management/doc/CHANGELOG.md create mode 100644 employee-app/weight-management/weight-main.html diff --git a/employee-app/home/index.html b/employee-app/home/index.html index d2f4792..97f8f7c 100644 --- a/employee-app/home/index.html +++ b/employee-app/home/index.html @@ -171,13 +171,13 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
-
+
WEIGHT 体重管理 体重管理活动 58 天,第 8 名 ›
-
+
@@ -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' }, diff --git a/employee-app/weight-management/balance-history.html b/employee-app/weight-management/balance-history.html new file mode 100644 index 0000000..69b7d6d --- /dev/null +++ b/employee-app/weight-management/balance-history.html @@ -0,0 +1,308 @@ + + + + + +吃动平衡历史 - 员工端 | 健康CQ原型 + + + +
+
+ 09:40 +
+ + + +
+
+ + +
+ + +
+ + 2026年8月 + +
+ + +
+
+ +
+
+
+ + +
+
本月吃动趋势
+
+
+ + + + + + + 2500 + 2000 + 1500 + 1000 + 500 + + + + + + + + + + +
+
+
+
摄入
+
消耗
+
+
+ +
+
+
+ + + + diff --git a/employee-app/weight-management/basic-info.html b/employee-app/weight-management/basic-info.html index e4f2758..0995081 100644 --- a/employee-app/weight-management/basic-info.html +++ b/employee-app/weight-management/basic-info.html @@ -92,7 +92,7 @@ body { background: #f0f2f5; display: flex; justify-content: center; align-items:
+ + diff --git a/index.html b/index.html index f0e46d5..476c5cf 100644 --- a/index.html +++ b/index.html @@ -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:[] },