diff --git a/index.html b/index.html index 5cb249f..bfda823 100644 --- a/index.html +++ b/index.html @@ -645,11 +645,33 @@ const SITE_MAP = [ ] }, { id:'other-terminals', label:'其他终端', icon:'other', color:'#b37feb', modules:[ - { name:'营养管理小程序', dir:'other-terminals/mini-program', pages:[] }, - { name:'西安应急中心大屏', dir:'other-terminals/emergency-screen/xian-center', pages:[] }, - { name:'标准版中心大屏', dir:'other-terminals/emergency-screen/standard-center', pages:[] }, - { name:'九厂应急中心大屏', dir:'other-terminals/emergency-screen/jiuchang-center', pages:[] }, - { name:'医疗点PAD端', dir:'other-terminals/medical-pad', pages:[] } + { name:'营养管理小程序', dir:'other-module/mini-program/nutrition', entry:'eat-home.html', pages:[ + {label:'吃-首页', file:'eat-home.html'}, + {label:'营养明细', file:'eat-nutrition.html'}, + {label:'今日食谱', file:'eat-recipe.html'}, + {label:'菜品详情', file:'eat-dish-detail.html'}, + {label:'订餐', file:'eat-order.html'}, + {label:'订单确认', file:'eat-order-confirm.html'}, + {label:'就餐记录', file:'eat-meal-record.html'}, + {label:'AI营养助手', file:'ask-home.html'}, + {label:'AI对话', file:'ask-chat.html'}, + {label:'历史对话', file:'ask-history.html'}, + {label:'做-社区', file:'make-home.html'}, + {label:'照做食谱', file:'make-follow.html'}, + {label:'创作食谱', file:'make-create.html'}, + {label:'个人中心', file:'me-home.html'}, + {label:'健康档案', file:'me-health.html'}, + {label:'我的订单', file:'me-orders.html'}, + {label:'订单详情', file:'me-order-detail.html'}, + {label:'我的余额', file:'me-wallet.html'}, + {label:'设置', file:'me-settings.html'}, + {label:'扫码溯源', file:'trace-query.html'}, + {label:'溯源链路', file:'trace-detail.html'} + ] }, + { name:'西安应急中心大屏', dir:'other-module/emergency-screen/xian-center', pages:[] }, + { name:'标准版中心大屏', dir:'other-module/emergency-screen/standard-center', pages:[] }, + { name:'九厂应急中心大屏', dir:'other-module/emergency-screen/jiuchang-center', pages:[] }, + { name:'医疗点PAD端', dir:'other-module/medical-pad', pages:[] } ]} ]; diff --git a/other-module/mini-program/nutrition/ask-chat.html b/other-module/mini-program/nutrition/ask-chat.html new file mode 100644 index 0000000..8792a43 --- /dev/null +++ b/other-module/mini-program/nutrition/ask-chat.html @@ -0,0 +1,100 @@ + + + + + + AI对话 | 智能餐养小程序 + + + +
+
+ 09:41 +
📶WiFi🔋
+
+ +
+
+
🤖
+
您好!我是您的 AI 营养助手。根据您的健康档案,我可以为您提供个性化的饮食建议。请问有什么可以帮您的?
+
+
+
👤
+
今天午餐吃什么比较健康?
+
+
+
🤖
+
根据您的营养档案分析,今天建议您午餐选择:

1. 🐟 清蒸鱼(142kcal)— 优质蛋白,低脂
2. 🥦 炒西兰花(68kcal)— 补充膳食纤维和维C
3. 🍚 杂粮饭(180kcal)— 低GI主食

这样搭配总热量约 390kcal,蛋白质充足,钠含量较低,适合您的健康目标。
+
+
+
👤
+
我有轻度高血压,还需要注意什么?
+
+
+
🤖
+
针对轻度高血压,饮食上建议:

⚠️ 控钠:每日钠摄入 < 2000mg,避免腌制品
🥬 增钾:多吃绿叶蔬菜、香蕉、土豆
🐟 优质脂肪:选择深海鱼,补充 Omega-3
🚫 少油少盐:避免红烧肉等高钠菜品

今天食堂的清蒸鱼和炒西兰花都很适合您!
+
+
+
+ + +
+
+
+ + diff --git a/other-module/mini-program/nutrition/ask-history.html b/other-module/mini-program/nutrition/ask-history.html new file mode 100644 index 0000000..6260412 --- /dev/null +++ b/other-module/mini-program/nutrition/ask-history.html @@ -0,0 +1,120 @@ + + + + + + 历史对话 | 智能餐养小程序 + + + +
+
+ 09:41 +
📶WiFi🔋
+
+ +
+ + +
+
+
+ + diff --git a/other-module/mini-program/nutrition/ask-home.html b/other-module/mini-program/nutrition/ask-home.html new file mode 100644 index 0000000..361f834 --- /dev/null +++ b/other-module/mini-program/nutrition/ask-home.html @@ -0,0 +1,115 @@ + + + + + + AI营养助手 | 智能餐养小程序 + + + +
+
+ 09:41 +
📶WiFi🔋
+
+
+ +
+
🤖
+
AI 营养助手
+
基于您的健康档案,提供个性化营养建议
+ 历史对话 › +
+ + +
+ +
+ + +
+ +
+ 🍽️ + 💬 + 🍳 + 👤 +
+
+
+ + diff --git a/other-module/mini-program/nutrition/doc/CHANGELOG.md b/other-module/mini-program/nutrition/doc/CHANGELOG.md new file mode 100644 index 0000000..474f0c9 --- /dev/null +++ b/other-module/mini-program/nutrition/doc/CHANGELOG.md @@ -0,0 +1,46 @@ +# 营养管理小程序 CHANGELOG + +## [1.0.0] - 2026-05-13 + +### 新增 +- 从 `nutrition-prototype` 项目迁移智能餐养小程序原型至本项目 +- 按项目规范重构为独立自包含 HTML 文件(共 21 页) +- 新增小程序特有样式:右上角胶囊按钮(三点菜单 + 关闭按钮) +- 统一手机壳尺寸为 390×844(iPhone 14 规范) + +### 页面清单 + +**吃模块(7页)** +- `eat-home.html` — 首页(食堂选择、就餐记录、营养摘要) +- `eat-nutrition.html` — 营养明细(营养素进度条、膳食宝塔、评分对比) +- `eat-recipe.html` — 今日食谱(推荐列表、快捷操作) +- `eat-dish-detail.html` — 菜品详情(营养成分、烹饪工艺、适合人群) +- `eat-order.html` — 订餐(左侧分类 + 右侧菜品列表 + 购物车栏) +- `eat-order-confirm.html` — 订单确认(取餐码、订单明细) +- `eat-meal-record.html` — 就餐记录(按日期/餐次查看) + +**问模块(3页)** +- `ask-home.html` — AI 营养助手首页(常见问题、输入框) +- `ask-chat.html` — AI 对话详情(多轮对话展示) +- `ask-history.html` — 历史对话列表 + +**做模块(3页)** +- `make-home.html` — 健康食谱社区首页(热门食谱卡片) +- `make-follow.html` — 照做食谱详情(食材清单、制作步骤) +- `make-create.html` — 创作食谱(表单编辑页) + +**我模块(6页)** +- `me-home.html` — 个人中心(用户信息、快捷菜单) +- `me-health.html` — 健康档案(BMI、过敏原、健康目标) +- `me-orders.html` — 我的订单列表 +- `me-order-detail.html` — 订单详情(含溯源入口) +- `me-wallet.html` — 我的余额(消费记录) +- `me-settings.html` — 设置(通知、账号、隐私) + +**溯源模块(2页)** +- `trace-query.html` — 扫码溯源(扫码入口、历史记录) +- `trace-detail.html` — 溯源链路(时间线可视化、资质证书) + +### 变更 +- 更新 `index.html` SITE_MAP,修正 other-terminals 目录路径为 other-module +- 小程序模块添加 21 个页面条目 diff --git a/other-module/mini-program/nutrition/eat-dish-detail.html b/other-module/mini-program/nutrition/eat-dish-detail.html new file mode 100644 index 0000000..f2f8c60 --- /dev/null +++ b/other-module/mini-program/nutrition/eat-dish-detail.html @@ -0,0 +1,128 @@ + + + + + + 菜品详情 | 智能餐养小程序 + + + +
+
+ 09:41 +
📶WiFi🔋
+
+ +
+ +
🍗
+ +
+
+ 宫保鸡丁 + 推荐 +
+
鸡胸肉、花生、干辣椒爆炒,外嫩里滑,麻辣鲜香
+
+ ¥12 / 份 + 📊 285kcal +
+
+ +
+
营养成分(每份)
+
+
22.4g
蛋白质
+
14.2g
脂肪
+
12.6g
碳水
+
680mg
+
+
+
🩸
中GI(52)
GI指数
+
😌
68
饱腹感SI
+
嘌呤
+
+
+ +
+
烹饪工艺
+
🍳 爆炒 · 约8分钟 · 用油适中
+
🥬 食材:鸡胸肉120g、花生20g、干辣椒5g、葱姜蒜适量
+
+ +
+
适合人群
+
+ 成人 + 健身人群 +
+
⚠ 痛风急性期慎食(含嘌呤)
+
+ + 🔍 查看食材溯源信息 › +
+
+
+ + diff --git a/other-module/mini-program/nutrition/eat-home.html b/other-module/mini-program/nutrition/eat-home.html new file mode 100644 index 0000000..c2ba596 --- /dev/null +++ b/other-module/mini-program/nutrition/eat-home.html @@ -0,0 +1,213 @@ + + + + + + 吃-首页 | 智能餐养小程序 + + + +
+ +
+ 09:41 +
+ 📶WiFi🔋 +
+
+ + +
+ +
+
+ 当前食堂 + 长庆食堂A区 + +
+
+ + + + + + + + +
+
午餐营养摘要
+
+
727
千卡 / 热量
+
50.6g
蛋白质
+
22.6g
脂肪
+
+ 查看完整营养分析 › +
+
+ + +
+ 🍽️ + 💬 + 🍳 + 👤 +
+ +
+
+ + diff --git a/other-module/mini-program/nutrition/eat-meal-record.html b/other-module/mini-program/nutrition/eat-meal-record.html new file mode 100644 index 0000000..6dbdc6c --- /dev/null +++ b/other-module/mini-program/nutrition/eat-meal-record.html @@ -0,0 +1,143 @@ + + + + + + 就餐记录 | 智能餐养小程序 + + + +
+
+ 09:41 +
📶WiFi🔋
+
+ +
+ +
+ + 2026年5月13日(今天) + +
+ + + + + +
+
今日摄入汇总
+
+
1113
千卡
+
68g
蛋白质
+
42g
脂肪
+
+
+
+
+
+ + diff --git a/other-module/mini-program/nutrition/eat-nutrition.html b/other-module/mini-program/nutrition/eat-nutrition.html new file mode 100644 index 0000000..518a961 --- /dev/null +++ b/other-module/mini-program/nutrition/eat-nutrition.html @@ -0,0 +1,190 @@ + + + + + + 营养明细 | 智能餐养小程序 + + + +
+
+ 09:41 +
📶WiFi🔋
+
+ + + +
+ +
+
📊 营养素明细
+
+
热量1286 / 2000kcal
+
+
+
+
蛋白质68g / 75g
+
+
+
+
脂肪42g / 65g
+
+
+
+
碳水化合物186g / 275g
+
+
+
+
膳食纤维12g / 25g
+
+
+
+
2600mg / 2000mg
+
+
+
+
420mg / 800mg
+
+
+
+
维生素C42mg / 100mg
+
+
+
+ 不足(<60%) + 达标(60~100%) + 偏高(100~120%) + 超标(>120%) +
+
+ + +
+
🏛️ 膳食宝塔评估
+
+
🌾
谷薯类
+
推荐:250~400g
实际:186g✓ 适量
+
+
+
🥦
蔬菜水果
+
推荐:300~500g
实际:280g✓ 适量
+
+
+
🥩
畜禽鱼蛋
+
推荐:120~200g
实际:168g✓ 适量
+
+
+
🥛
奶豆坚果
+
推荐:25~35g
实际:20g⚠ 注意
+
+
+
🧂
烹调油盐
+
推荐:油<25g
实际:偏高⚠ 注意
+
+
+
💧
饮水
+
推荐:1500ml+
实际:800ml⚠ 注意
+
+
+ + +
+
📈 营养评分对比
+
+
78
本人评分
+
82
部门均值
+
80
全公司均值
+
+
⚠ 钠摄入偏高(130%),建议减少腌制品;膳食纤维不足,建议增加蔬菜
+
+
+
+
+ + diff --git a/other-module/mini-program/nutrition/eat-order-confirm.html b/other-module/mini-program/nutrition/eat-order-confirm.html new file mode 100644 index 0000000..27d499d --- /dev/null +++ b/other-module/mini-program/nutrition/eat-order-confirm.html @@ -0,0 +1,100 @@ + + + + + + 订单确认 | 智能餐养小程序 + + + +
+
+ 09:41 +
📶WiFi🔋
+
+ +
+
+
+
下单成功
+
请凭取餐码到窗口取餐
+
+
+
取餐码
+
A086
+
请在 30 分钟内取餐,超时将自动取消
+
+
+
订单详情
+
宫保鸡丁 ×1¥12
+
炒西兰花 ×1¥8
+
清蒸鱼 ×1¥18
+
合计¥38.00
+
+ +
+
+
+ + diff --git a/other-module/mini-program/nutrition/eat-order.html b/other-module/mini-program/nutrition/eat-order.html new file mode 100644 index 0000000..b1fff40 --- /dev/null +++ b/other-module/mini-program/nutrition/eat-order.html @@ -0,0 +1,177 @@ + + + + + + 订餐 | 智能餐养小程序 + + + +
+
+ 09:41 +
📶WiFi🔋
+
+ +
+
+ +
+
热菜
+
凉菜
+
主食
+
汤品
+
水果
+
饮品
+
+ + +
+
+ +
+
+ 🛒 + 3 +
+
+
¥38.00
+
已选 3 个餐品
+
+ +
+
+
+ + diff --git a/other-module/mini-program/nutrition/eat-recipe.html b/other-module/mini-program/nutrition/eat-recipe.html new file mode 100644 index 0000000..f78944b --- /dev/null +++ b/other-module/mini-program/nutrition/eat-recipe.html @@ -0,0 +1,114 @@ + + + + + + 今日食谱 | 智能餐养小程序 + + + +
+
+ 09:41 +
📶WiFi🔋
+
+ +
+ +
+ + + +
+ + +
+
+
+ + diff --git a/other-module/mini-program/nutrition/make-create.html b/other-module/mini-program/nutrition/make-create.html new file mode 100644 index 0000000..b660f9c --- /dev/null +++ b/other-module/mini-program/nutrition/make-create.html @@ -0,0 +1,142 @@ + + + + + + 创作食谱 | 智能餐养小程序 + + + +
+
+ 09:41 +
📶WiFi🔋
+
+ +
+ +
+
+ 📷 + 上传食谱封面图 +
+
+ +
+
基本信息
+
+
食谱名称
+ +
+
+
简介
+ +
+
+
标签
+
+ 低脂 × + 快手菜 × + + 添加标签 +
+
+
+ +
+
食材清单
+
+ +
+
+ 添加食材
+
+ +
+
制作步骤
+
+
1
+ +
+
+
2
+ +
+
+ 添加步骤
+
+
+
+
+ + diff --git a/other-module/mini-program/nutrition/make-follow.html b/other-module/mini-program/nutrition/make-follow.html new file mode 100644 index 0000000..29e801d --- /dev/null +++ b/other-module/mini-program/nutrition/make-follow.html @@ -0,0 +1,121 @@ + + + + + + 照做食谱 | 智能餐养小程序 + + + +
+
+ 09:41 +
📶WiFi🔋
+
+ +
+
+
🥗
+
+
低脂鸡胸肉沙拉
+
👤 营养师小王 · 15分钟 · 220kcal
+
+ 低脂高蛋白减脂餐快手菜 +
+
+
+
+
食材清单
+
+
鸡胸肉150g
+
生菜100g
+
小番茄6颗
+
黄瓜半根
+
橄榄油5ml
+
黑胡椒适量
+
+
+
+
制作步骤
+
+
1
鸡胸肉用盐和黑胡椒腌制10分钟
+
2
平底锅少油煎至两面金黄,切片备用
+
3
生菜洗净撕小块,黄瓜切片,小番茄对半切
+
4
所有食材摆盘,淋上橄榄油,撒黑胡椒即可
+
+
+
+
+ + + +
+
+
+ + diff --git a/other-module/mini-program/nutrition/make-home.html b/other-module/mini-program/nutrition/make-home.html new file mode 100644 index 0000000..d3ce318 --- /dev/null +++ b/other-module/mini-program/nutrition/make-home.html @@ -0,0 +1,123 @@ + + + + + + 做-社区 | 智能餐养小程序 + + + +
+
+ 09:41 +
📶WiFi🔋
+
+
+
+
🍳 健康食谱社区
+
分享你的健康食谱,一起吃出好身体
+
+ + + +
🥗
+
+
低脂鸡胸肉沙拉
+
热量 220kcal · 蛋白质 28g · 准备时间 15分钟
+ +
+
+ +
🍲
+
+
养胃南瓜小米粥
+
热量 156kcal · 膳食纤维 4.2g · 准备时间 30分钟
+ +
+
+ +
🐟
+
+
柠檬烤三文鱼
+
热量 280kcal · Omega-3 丰富 · 准备时间 25分钟
+ +
+
+
+
+ 🍽️ + 💬 + 🍳 + 👤 +
+
+
+ + diff --git a/other-module/mini-program/nutrition/me-health.html b/other-module/mini-program/nutrition/me-health.html new file mode 100644 index 0000000..0845d26 --- /dev/null +++ b/other-module/mini-program/nutrition/me-health.html @@ -0,0 +1,92 @@ + + + + + + 健康档案 | 智能餐养小程序 + + + +
+
+ 09:41 +
📶WiFi🔋
+
+ +
+
+
👤
+
+
张三
+
男 · 32岁 · 172cm · 68kg
+
+
+
+
身体指标
+
+
23.0
BMI 正常
+
18.5%
体脂率
+
1850
基础代谢(kcal)
+
正常
血压
+
+
+
+
过敏/忌口
+
+ 🥜 花生过敏 + 🦐 海鲜过敏 + 🌶️ 少辣 + 🧂 低盐 +
+
+
+
营养目标
+
每日热量2000 kcal
+
蛋白质≥60g
+
膳食纤维≥25g
+
饮水量≥2000ml
+
+
+
+
+ + diff --git a/other-module/mini-program/nutrition/me-home.html b/other-module/mini-program/nutrition/me-home.html new file mode 100644 index 0000000..a29c0d4 --- /dev/null +++ b/other-module/mini-program/nutrition/me-home.html @@ -0,0 +1,112 @@ + + + + + + 个人中心 | 智能餐养小程序 + + + +
+
+ 09:41 +
📶WiFi🔋
+
+
+ +
+ +
+
78
营养评分
+
23
就餐天数
+
5
收藏食谱
+
+
+ + + + +
+
+ 🍽️ + 💬 + 🍳 + 👤 +
+
+
+ + diff --git a/other-module/mini-program/nutrition/me-order-detail.html b/other-module/mini-program/nutrition/me-order-detail.html new file mode 100644 index 0000000..76144bc --- /dev/null +++ b/other-module/mini-program/nutrition/me-order-detail.html @@ -0,0 +1,147 @@ + + + + + + 订单详情 | 智能餐养小程序 + + + +
+ +
+ 09:41 +
+ + + +
+
+ + + + + +
+ +
+
+
已完成
+
订单已完成,感谢您的用餐
+
+ + +
+
取餐码
+
A-086
+
+ + +
+
🍴
+
阳光食堂
+
+ + +
+
订单商品
+
+ 低脂鸡胸肉沙拉×1 + ¥18.0 +
+
+ 杂粮饭×1 + ¥3.0 +
+
+ 紫菜蛋花汤×1 + ¥7.5 +
+
+ + +
+
商品小计¥28.5
+
优惠减免-¥0
+
实付金额¥28.5
+
+ + +
+
订单信息
+
订单编号NT202605131042086
+
下单时间2026-05-13 10:42
+
支付方式微信支付
+
+ + + 查看食材溯源信息 +
+ + +
+
+ + diff --git a/other-module/mini-program/nutrition/me-orders.html b/other-module/mini-program/nutrition/me-orders.html new file mode 100644 index 0000000..5504c6b --- /dev/null +++ b/other-module/mini-program/nutrition/me-orders.html @@ -0,0 +1,73 @@ + + + + + + 我的订单 | 智能餐养小程序 + + + +
+
+ 09:41 +
📶WiFi🔋
+
+ +
+
+ 全部 + 待取餐 + 已完成 + 已取消 +
+ +
🍽️ 阳光食堂 · 午餐待取餐
+
低脂鸡胸肉沙拉 ×1、杂粮饭 ×1、紫菜蛋花汤 ×1
+
¥ 28.5今天 11:32
+
+ +
🍽️ 阳光食堂 · 早餐已完成
+
全麦三明治 ×1、鲜榨橙汁 ×1
+
¥ 15.0今天 07:45
+
+ +
🍽️ 健康轻食 · 午餐已完成
+
三文鱼牛油果碗 ×1、蔬菜汁 ×1
+
¥ 42.0昨天 12:15
+
+
+
+
+ + diff --git a/other-module/mini-program/nutrition/me-settings.html b/other-module/mini-program/nutrition/me-settings.html new file mode 100644 index 0000000..65aadb2 --- /dev/null +++ b/other-module/mini-program/nutrition/me-settings.html @@ -0,0 +1,113 @@ + + + + + + 设置 | 智能餐养小程序 + + + +
+ +
+ 09:41 +
+ + + +
+
+ + + + + +
+ +
+
+ 订餐提醒 +
+
+
+ 营养日报推送 +
+
+
+ 优惠活动通知 +
+
+
+ + +
+
+ 修改密码 +
+
+
+ 绑定手机号 +
138****8888
+
+
+ 实名认证 +
已认证
+
+
+ + +
+
+ 清除缓存 +
12.3MB
+
+
+ 关于我们 +
+
+
+ 用户协议 +
+
+
+ + + +
+ + +
+
+ + diff --git a/other-module/mini-program/nutrition/me-wallet.html b/other-module/mini-program/nutrition/me-wallet.html new file mode 100644 index 0000000..dc105b2 --- /dev/null +++ b/other-module/mini-program/nutrition/me-wallet.html @@ -0,0 +1,108 @@ + + + + + + 我的余额 | 智能餐养小程序 + + + +
+ +
+ 09:41 +
+ + + +
+
+ + + + + +
+ +
+
当前余额
+
¥256.50
+
+ + +
+
+ + +
最近交易
+
+
+
+
午餐消费
+
今天 11:32
+
+
-¥28.5
+
+
+
+
早餐消费
+
今天 07:45
+
+
-¥15.0
+
+
+
+
充值
+
昨天
+
+
+¥100.0
+
+
+
+
午餐消费
+
昨天
+
+
-¥35.0
+
+
+
+ + +
+
+ + \ No newline at end of file diff --git a/other-module/mini-program/nutrition/trace-detail.html b/other-module/mini-program/nutrition/trace-detail.html new file mode 100644 index 0000000..0573fab --- /dev/null +++ b/other-module/mini-program/nutrition/trace-detail.html @@ -0,0 +1,131 @@ + + + + + + 溯源详情 | 智能餐养小程序 + + + +
+ +
+ 09:41 +
+ + + +
+
+ + + +
+ +
+
有机西兰花
+
+
批次号BL20260512
+
产地山东寿光有机农场
+
+
+ +
+
溯源链路
+ +
+
+
+
🌱 种植
+
2026-03-15
山东寿光有机农场
+
+
+ +
+
+
+
🧪 检测
+
2026-05-10
SGS检测中心 · 农残未检出
+
+
+ +
+
+
+
🚛 运输
+
2026-05-11
冷链物流 · 全程4°C
+
+
+ +
+
+
+
🏪 入库
+
2026-05-12
阳光食堂中央厨房
+
+
+ +
+
+
+
🍽️ 出餐
+
2026-05-12
阳光食堂
+
+
+
+ +
+
认证标识
+
+
有机认证
+
绿色食品
+
ISO22000
+
+
+
+ +
+
+ + diff --git a/other-module/mini-program/nutrition/trace-query.html b/other-module/mini-program/nutrition/trace-query.html new file mode 100644 index 0000000..6195e26 --- /dev/null +++ b/other-module/mini-program/nutrition/trace-query.html @@ -0,0 +1,111 @@ + + + + + + 扫码溯源 | 智能餐养小程序 + + + +
+ +
+ 09:41 +
+ + + +
+
+ + + +
+ +
+
+ + + +
+

将二维码放入框内扫描

+
+ +
+
手动输入溯源码
+
+ + +
+
+ + +
+ +
+
+ +