From 0b5f8335141b45c1f899c077a1f49a26e298d850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=AF=E6=99=AE?= <18691763612@163.com> Date: Thu, 14 May 2026 19:26:52 +0800 Subject: [PATCH 1/3] =?UTF-8?q?feat:=20=E8=90=A5=E5=85=BB=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=96=B0=E5=A2=9E=E4=B8=AA?= =?UTF-8?q?=E4=BA=BA=E4=B8=AD=E5=BF=83=E5=AD=90=E9=A1=B5=E9=9D=A2=E5=8F=8A?= =?UTF-8?q?=E5=AF=BC=E8=88=AA=E9=A1=B5SITE=5FMAP=E8=A1=A5=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增页面:me-account、me-favorites、me-logs、me-messages、me-order-detail-pending、me-vip 补注册至index.html:eat-cart、me-account、me-favorites、me-order-detail-pending 优化已有页面交互跳转与样式细节 Co-Authored-By: Claude Opus 4.6 --- index.html | 7 + .../mini-program/nutrition/make-create.html | 40 +- .../mini-program/nutrition/make-follow.html | 7 +- .../mini-program/nutrition/make-home.html | 2 +- .../mini-program/nutrition/make-popular.html | 26 +- .../mini-program/nutrition/me-account.html | 105 ++++++ .../mini-program/nutrition/me-favorites.html | 149 ++++++++ .../mini-program/nutrition/me-health.html | 118 ++++-- .../mini-program/nutrition/me-home.html | 80 ++-- .../mini-program/nutrition/me-logs.html | 137 +++++++ .../mini-program/nutrition/me-messages.html | 151 ++++++++ .../nutrition/me-order-detail-pending.html | 142 +++++++ .../nutrition/me-order-detail.html | 255 +++++++------ .../mini-program/nutrition/me-orders.html | 2 +- .../mini-program/nutrition/me-settings.html | 47 ++- .../mini-program/nutrition/me-vip.html | 286 +++++++++++++++ .../mini-program/nutrition/trace-detail.html | 347 +++++++++++++----- .../mini-program/nutrition/trace-query.html | 167 +++++---- 18 files changed, 1718 insertions(+), 350 deletions(-) create mode 100644 other-module/mini-program/nutrition/me-account.html create mode 100644 other-module/mini-program/nutrition/me-favorites.html create mode 100644 other-module/mini-program/nutrition/me-logs.html create mode 100644 other-module/mini-program/nutrition/me-messages.html create mode 100644 other-module/mini-program/nutrition/me-order-detail-pending.html create mode 100644 other-module/mini-program/nutrition/me-vip.html diff --git a/index.html b/index.html index dbfab41..615d90e 100644 --- a/index.html +++ b/index.html @@ -722,6 +722,7 @@ const SITE_MAP = [ {label:'菜品详情', file:'eat-dish-detail.html'}, {label:'订餐', file:'eat-order.html'}, {label:'订单确认', file:'eat-order-confirm.html'}, + {label:'购物车', file:'eat-cart.html'}, {label:'就餐记录', file:'eat-meal-record.html'}, {label:'AI营养助手', file:'ask-home.html'}, {label:'AI对话', file:'ask-chat.html'}, @@ -736,8 +737,14 @@ const SITE_MAP = [ {label:'健康档案', file:'me-health.html'}, {label:'我的订单', file:'me-orders.html'}, {label:'订单详情', file:'me-order-detail.html'}, + {label:'订单详情-待处理', file:'me-order-detail-pending.html'}, + {label:'我的收藏', file:'me-favorites.html'}, {label:'我的余额', file:'me-wallet.html'}, + {label:'会员中心', file:'me-vip.html'}, + {label:'消息中心', file:'me-messages.html'}, + {label:'操作日志', file:'me-logs.html'}, {label:'设置', file:'me-settings.html'}, + {label:'账户管理', file:'me-account.html'}, {label:'扫码溯源', file:'trace-query.html'}, {label:'溯源链路', file:'trace-detail.html'} ] }, diff --git a/other-module/mini-program/nutrition/make-create.html b/other-module/mini-program/nutrition/make-create.html index 655b784..6ee79be 100644 --- a/other-module/mini-program/nutrition/make-create.html +++ b/other-module/mini-program/nutrition/make-create.html @@ -54,16 +54,18 @@ } .cover-upload .icon { font-size: 32px; } .cover-upload .text { font-size: 13px; } - .cover-type-row { - display: flex; gap: 10px; margin-top: 10px; + /* 作品视频上传 */ + .video-upload { + display: flex; align-items: center; gap: 12px; margin-top: 14px; } - .cover-type-btn { - flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; - padding: 10px 0; border-radius: 10px; border: 1px solid #e8e8e8; - background: #fafafa; font-size: 13px; color: #333; cursor: pointer; + .video-upload-box { + width: 100px; height: 72px; border: 1.5px dashed #d9d9d9; border-radius: 10px; + display: flex; flex-direction: column; align-items: center; justify-content: center; + gap: 3px; background: #fafafa; cursor: pointer; color: #999; flex-shrink: 0; } - .cover-type-btn .ct-icon { font-size: 18px; } - .cover-type-btn:active { border-color: #1677ff; background: #f0f7ff; color: #1677ff; } + .video-upload-box .vu-icon { font-size: 24px; } + .video-upload-box .vu-text { font-size: 10px; } + .video-upload-hint { font-size: 12px; color: #999; line-height: 1.5; } /* 步骤媒体上传 */ .step-media-row { display: flex; gap: 8px; margin: 6px 0 0 30px; @@ -108,15 +110,23 @@
- +
+
封面图
- 📷 - 上传食谱封面 + 🖼️ + 上传食谱封面图
-
- - +
+ +
+
作品视频
+
+
+ 🎬 + 上传视频 +
+
可选,至多上传1个视频
建议时长不超过5分钟
@@ -156,7 +166,6 @@
🖼️加图片
-
🎬加视频
2
@@ -164,7 +173,6 @@
🖼️加图片
-
🎬加视频
+ 添加步骤
diff --git a/other-module/mini-program/nutrition/make-follow.html b/other-module/mini-program/nutrition/make-follow.html index 64abe3c..76fc16c 100644 --- a/other-module/mini-program/nutrition/make-follow.html +++ b/other-module/mini-program/nutrition/make-follow.html @@ -109,7 +109,7 @@
📶WiFi🔋
@@ -145,10 +145,7 @@
2
平底锅少油煎至两面金黄,切片备用
-
-
🍳
-
-
+
🍳
3
diff --git a/other-module/mini-program/nutrition/make-home.html b/other-module/mini-program/nutrition/make-home.html index d639f4f..a5ed1ef 100644 --- a/other-module/mini-program/nutrition/make-home.html +++ b/other-module/mini-program/nutrition/make-home.html @@ -115,7 +115,7 @@
- + 照做食谱 diff --git a/other-module/mini-program/nutrition/make-popular.html b/other-module/mini-program/nutrition/make-popular.html index a04c509..d2aa5d5 100644 --- a/other-module/mini-program/nutrition/make-popular.html +++ b/other-module/mini-program/nutrition/make-popular.html @@ -31,6 +31,19 @@ .page-content { flex: 1; overflow-y: auto; background: #f5f5f5; } .page-content::-webkit-scrollbar { display: none; } + /* 搜索栏 */ + .search-bar { + padding: 10px 16px; background: #fff; + } + .search-input { + width: 100%; height: 36px; border: none; border-radius: 18px; + background: #f5f5f5; padding: 0 14px 0 36px; font-size: 14px; + outline: none; font-family: inherit; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23bbb'%3E%3Ccircle cx='7' cy='7' r='5.5' stroke='%23bbb' stroke-width='1.5' fill='none'/%3E%3Cline x1='11' y1='11' x2='14.5' y2='14.5' stroke='%23bbb' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); + background-repeat: no-repeat; background-position: 12px center; + } + .search-input::placeholder { color: #bbb; } + /* 分类 Tab */ .cat-tabs { display: flex; gap: 0; background: #fff; padding: 10px 16px 0; @@ -99,9 +112,13 @@
+ +
@@ -223,6 +240,13 @@
+ + diff --git a/other-module/mini-program/nutrition/trace-detail.html b/other-module/mini-program/nutrition/trace-detail.html index 0573fab..8583f63 100644 --- a/other-module/mini-program/nutrition/trace-detail.html +++ b/other-module/mini-program/nutrition/trace-detail.html @@ -3,10 +3,14 @@ - 溯源详情 | 智能餐养小程序 + 溯源链路详情 | 智能餐养小程序
-
09:41 -
- - - -
+
📶WiFi🔋
- -
- -
-
有机西兰花
-
-
批次号BL20260512
-
产地山东寿光有机农场
+ +
+
反向溯源 · 从取餐追溯至产地
+
ST-EX-XR01-MT-JXRJ-080K-20260415-002
+
+ ✅ 全程合格 + 鸡胸肉 + 外采 · 鲜肉直供公司 + 14 个节点
- -
-
溯源链路
- -
-
-
-
🌱 种植
-
2026-03-15
山东寿光有机农场
+ +
+ +
+
+
👤
+
+
+
+
+
👤 用户取餐✅ 正常
+
关联订单食材映射
+
⏱ 2026-04-22 11:40 ~ 12:30
+
关联订单:SO20260422021#1、SO20260422087#2、SO20260422103#1
+
ORD-20260422-021
+
- -
-
-
-
🧪 检测
-
2026-05-10
SGS检测中心 · 农残未检出
+ +
+
+
🧪
+
+
+
+
+
🧪 营养检验✅ 正常
+
营养检测 · 成品抽检
+
⏱ 2026-04-22 13:30
+
COOK-001 宫保鸡丁 · 热量:186kcal/100g · 蛋白质:18.2g · 脂肪:9.4g · 结论:达标
+
NUT-20260422-001
+
- -
-
-
-
🚛 运输
-
2026-05-11
冷链物流 · 全程4°C
+ +
+
+
♻️
+
+
+
+
+
♻️ 余量处置✅ 正常
+
余量处置 · 多餐线余量登记
+
⏱ 2026-04-22 13:00 ~ 13:20
+
分支A:SERVE-001 余量0.3kg 冷藏留用 · 分支B:SERVE-007 余量0.1kg 废弃 · 经办人:李处置
+
DISP-20260422-001
+
- -
-
-
-
🏪 入库
-
2026-05-12
阳光食堂中央厨房
+ +
+
+
🍽️
+
+
+
+
+
🍽️ 上餐监控✅ 正常
+
上餐批次分支 · 多餐线分发
+
⏱ 2026-04-22 11:30 ~ 12:00
+
分支A:SERVE-001 → A区中餐线 6.8kg · 分支B:SERVE-007 → B区中餐线 1.4kg
+
SERVE-20260422-001
+
- -
-
-
-
🍽️ 出餐
-
2026-05-12
阳光食堂
+ +
+
+
🍳
+
+
+
+
+
🍳 按单烹制✅ 正常
+
烹制任务分支 · 多锅次烹制
+
⏱ 2026-04-22 11:00 ~ 11:35
+
分支A:COOK-001 宫保鸡丁 张厨师 2锅 · 分支B:COOK-009 辣子鸡 王厨师 1锅
+
COOK-20260422-001
+
-
- -
-
认证标识
-
-
有机认证
-
绿色食品
-
ISO22000
+ +
+
+
🔪
+
+
+
+
+
🔪 净菜组配✅ 正常
+
组配任务分支 · 分配至多道菜品
+
⏱ 2026-04-22 10:20 ~ 10:40
+
分支A:CMB-001 宫保鸡丁 5.0kg · 分支B:CMB-006 辣子鸡 3.5kg
+
CMB-20260422-001
+
+
+
+ +
+
+
🗄️
+
+
+
+
+
🗄️ 净菜进柜✅ 正常
+
净菜进柜 · 智能柜格口存放
+
⏱ 2026-04-22 10:00 ~ 10:15
+
分支A:B区智能柜-1号 B1-03格口 4.2kg 3.8°C · 分支B:B2-01格口 4.3kg 4.0°C
+
NC-CAB-JXRJ-20260422-01
+
+
+
+ +
+
+
🚚
+
+
+
+
+
🚚 净菜内供✅ 正常
+
净菜内供分发 · 多厨房领用
+
⏱ 2026-04-22 09:30 ~ 10:00
+
分支A:INT-001 → A区厨房 4.2kg · 分支B:INT-002 → B区厨房 4.3kg · 分支C:INT-009 → C区厨房 2.5kg
+
NC-INT-JXRJ-20260422-01
+
+
+
+ +
+
+
📦
+
+
+
+
+
📦 净菜入库✅ 正常
+
净菜入库 · 拆分多批次入库
+
⏱ 2026-04-22 09:10
+
分支A:NC-IN-008-A 5.1kg · A仓-肉禽区-01 · 分支B:NC-IN-008-B 3.4kg · 分支C:NC-IN-008-C 2.5kg
+
NC-IN-JXRJ-20260422-01
+
+
+
+ +
+
+
🥬
+
+
+
+
+
🥬 净菜加工✅ 正常
+
净菜加工 · 切丁
+
⏱ 2026-04-22 08:30 ~ 09:00
+
分支A:投入6kg→产出5.1kg · 分支B:投入4kg→产出3.4kg · 分支C:投入3kg→产出2.5kg
+
NC-PROC-JXRJ-20260422-01
+
+
+
+ +
+
+
🏪
+
+
+
+
+
🏪 毛菜存储✅ 正常
+
毛菜存储 · B仓-肉类冷藏库
+
⏱ 2026-04-15 11:00 ~ 04-22 08:00
+
存放区域:B仓-肉类区-01 · 温区:冷藏(0~4℃) · 在库量:15kg · 保质期至:2026-04-19
+
ST-EX-XR01-MT-JXRJ-080K-20260415-002
+
+
+
+ +
+
+
📥
+
+
+
+
+
📥 毛菜入库✅ 正常
+
毛菜入库 · 鲜肉直供公司
+
⏱ 2026-04-15 11:00
+
入库单号:IN-20260415-003 · 入库量:80kg · 存放区域:B仓-肉类区-01 · 操作类型:人工录入
+
ST-EX-XR01-MT-JXRJ-080K-20260415-002
+
+
+
+ +
+
+
🔬
+
+
+
+
+
🔬 卫生检测✅ 正常
+
卫生检测 · 瘦肉精
+
⏱ 2026-04-15 10:30
+
检测项目:瘦肉精 · 检测值:未检出 · 报告:RPT-20260415-002 · 结论:合格
+
ST-EX-XR01-MT-JXRJ-080K-20260415-002
+
+
+
+ +
+
+
🛒
+
+
+
+
🛒 采供入库✅ 正常
+
采购入库 · 鲜肉直供公司
+
⏱ 2026-04-15 09:15
+
采购单号:PO-20260415-002 · 入库量:80kg · 供应商:鲜肉直供公司 · 验收人:王验收
+
ST-EX-XR01-MT-JXRJ-080K-20260415-002
+
+
-
- + \ No newline at end of file diff --git a/other-module/mini-program/nutrition/trace-query.html b/other-module/mini-program/nutrition/trace-query.html index 6195e26..1e5bef3 100644 --- a/other-module/mini-program/nutrition/trace-query.html +++ b/other-module/mini-program/nutrition/trace-query.html @@ -6,7 +6,11 @@ 扫码溯源 | 智能餐养小程序
-
09:41 -
- - - -
+
📶WiFi🔋
- -
- -
-
- - - + + - -
-
手动输入溯源码
-
- - + +
+
📋 最近扫码记录(食材维度)
+
+
+
鸡胸肉用于 宫保鸡丁
+ ✅ 合格 +
+
ST-EX-XR01-MT-JXRJ-080K-20260415-002
+
+ 昨日 11:32 + 🔗 溯源链路 +
-
- -
-
最近扫描记录
- -
🥦
-
-
有机西兰花
-
批次 BL20260512
+
+
+
草鱼用于 清蒸鱼
+ ✅ 合格
- 今天 - -
- -
🥚
-
+
+
+
西兰花用于 炒西兰花
+ ✅ 合格 +
+
ST-EX-LY01-VG-XLHU-080K-20260416-001
+
+ 前天 12:10 + 🔗 溯源链路 +
+
+
+
+
花生用于 宫保鸡丁
+ ✅ 合格 +
+
ST-EX-LY02-NU-HUSR-050K-20260413-004
+
+ 前天 11:30 + 🔗 溯源链路 +
+
-
- + \ No newline at end of file From 26ad1d1a7c41ee79ad56abdd1c7dec16533b8275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=AF=E6=99=AE?= <18691763612@163.com> Date: Fri, 15 May 2026 09:59:42 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20=E6=81=A2=E5=A4=8D=E6=A1=A3=E6=A1=88?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E4=B8=89=E4=B8=AA=E9=A1=B5=E9=9D=A2=E8=A2=AB?= =?UTF-8?q?=E8=AF=AF=E8=A6=86=E7=9B=96=E7=9A=84=E8=8F=9C=E5=8D=95=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit arc-employee.html、arc-unit.html、arc-algo.html 在 11d3464 提交时 菜单相关修改被批量操作意外覆盖,现从本地历史恢复正确状态。 Co-Authored-By: Claude Opus 4.6 --- web-admin/nutrition/arc-algo.html | 192 ++++++++---------- web-admin/nutrition/arc-employee.html | 266 ++++++++++--------------- web-admin/nutrition/arc-unit.html | 269 ++++++++++---------------- 问题梳理.md | 0 4 files changed, 275 insertions(+), 452 deletions(-) create mode 100644 问题梳理.md diff --git a/web-admin/nutrition/arc-algo.html b/web-admin/nutrition/arc-algo.html index 8d76cf4..8edd1ef 100644 --- a/web-admin/nutrition/arc-algo.html +++ b/web-admin/nutrition/arc-algo.html @@ -112,10 +112,7 @@ tbody tr:hover{background:#F8FBFF;} .form-item input,.form-item select,.form-item textarea{height:36px;padding:0 12px;border:1px solid #e8e8e8;border-radius:4px;font-size:13px;outline:none;} .form-item input:focus,.form-item select:focus,.form-item textarea:focus{border-color:#1890FF;} .form-item textarea{height:80px;padding:8px 12px;resize:vertical;} -/* 操作列固定右侧 */ -thead th:last-child,tbody td.td-actions{position:sticky;right:0;background:#fff;box-shadow:-4px 0 8px rgba(0,0,0,0.04);z-index:2;white-space:nowrap;} -thead th:last-child{background:#FAFAFA;} -tbody tr:hover td.td-actions{background:#F8FBFF;} +${CSS_RULE} @@ -153,60 +150,19 @@ tbody tr:hover td.td-actions{background:#F8FBFF;}
- -
-
-
🤖
-
-
3
-
在用模型数
-
-
-
-
📦
-
-
12
-
历史版本
-
-
-
-
🎯
-
-
91.2%
-
推荐准确率
-
-
-
-
-
-
48ms
-
平均响应
-
-
-
-
- - + +
- + -
-
- -
@@ -215,7 +171,9 @@ tbody tr:hover td.td-actions{background:#F8FBFF;}
- + + +
@@ -227,111 +185,113 @@ tbody tr:hover td.td-actions{background:#F8FBFF;} - - - - - - - + + + + + + + - - - + + + + + - - - - + + - - - + + + + + - - - - + + - - - + + + + + - - - - + + - - - + + + + + - - - - + + - - - + + + + + - - - - + +
模型名称版本号适用场景上线时间准确率响应时间状态文档名称文档描述制作机构制作人制作年份上传日期附件 操作
营养摄入计算模型v2.3.1营养计算营养摄入计算模型说明书基于用户体征数据和膳食记录,计算每日营养素摄入量营养研究院张博士2026 2026-02-1593.5%32ms运行中查看详情预览 下载编辑 删除
个性化推荐引擎v1.8.0菜品推荐个性化推荐引擎技术文档根据员工营养档案和饮食偏好,智能推荐每餐菜品组合AI算法中心李工2026 2026-01-2088.7%65ms运行中查看详情预览 下载编辑 删除
慢病风险评估模型v1.2.4慢病预警慢病风险评估模型白皮书综合分析长期饮食数据与体检指标,评估慢性病风险等级健康管理部王主任2025 2025-12-0191.2%48ms运行中查看详情预览 下载编辑 删除
营养摄入计算模型v2.2.0营养计算食材营养成分识别算法通过图像识别和数据库匹配,自动获取食材营养成分信息AI算法中心赵工2025 2025-10-1090.1%38ms已停用查看详情预览 下载编辑 删除
个性化推荐引擎v1.7.2菜品推荐膳食平衡评分模型规范基于中国居民膳食指南,对每日膳食结构进行综合评分营养研究院刘博士2025 2025-09-0585.3%72ms已停用查看详情预览 下载编辑 删除
- +