Commit Graph
55 Commits
Author SHA1 Message Date
zhangyanandClaude Opus 4.6 1120bac840 fix: index.html 净菜验收 → 净菜加工
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 11:05:48 +08:00
zhangyanandClaude Opus 4.6 c74c573a97 fix: 删除净菜卡片右上角 × 按钮
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:51:17 +08:00
zhangyanandClaude Opus 4.6 0dbeab8192 fix: 处理进度(斤) → 累计加工(斤)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:51:02 +08:00
zhangyanandClaude Opus 4.6 143b38ffca fix: 处理进度(斤) → 累计加工
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:50:22 +08:00
zhangyanandClaude Opus 4.6 15ce29e7a3 fix: 期望到货改名任务截止时间,移至净菜名称后
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:50:08 +08:00
zhangyanandClaude Opus 4.6 c30805c103 fix: 增强卡片删除按钮可见性,加边框和更大尺寸
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:47:24 +08:00
zhangyanandClaude Opus 4.6 ae12cd3710 feat: 卡片按上游期望到货时间排序,新增到达时间展示
- mockFoods/foodDatabase 全部食材新增 arrivalTime 字段
- renderFoodCards 按到达时间升序排列
- 每张卡片新增「期望到货 HH:MM」信息展示
- 获取任务/搜索/候选添加均携带到达时间

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:46:53 +08:00
zhangyanandClaude Opus 4.6 80a81175c9 feat: 任务获取改为自动轮询,全部完成后才拉取新任务
- 自动轮询每5秒检查,全部卡片完成则自动获取新任务
- 手动「获取任务」按钮:有未完成任务时提示等待
- 确保新获取的任务进度均未完成

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:45:11 +08:00
zhangyanandClaude Opus 4.6 f3a3701397 feat: 获取任务新增未完成净菜卡片,进度100%自动隐藏
- 「获取任务」按钮新增随机未完成净菜加工任务(进度0~70%)
- 卡片进度=100%时自动隐藏
- 使用唯一ID定位删除,避免索引错位
- 顶部「刷新」按钮保留,用于对已有卡片弹窗确认重量

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:43:12 +08:00
zhangyanandClaude Opus 4.6 700495771b feat: 右列卡片区上方新增醒目的「获取任务」按钮
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:39:52 +08:00
zhangyanandClaude Opus 4.6 6256f7b9fa fix: 加工确认弹窗重量改为固定值展示+刷新按钮,不可手动编辑
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:35:22 +08:00
zhangyanandClaude Opus 4.6 769fcd5721 feat: 「下一步」改为「配比完成」,点击直接返回任务列表
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:18:32 +08:00
zhangyanandClaude Opus 4.6 d03f845622 refactor: 全局文案「称重」改为「配比」——配比任务、去配比、待配比
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:17:42 +08:00
zhangyanandClaude Opus 4.6 23388a8e9a feat: 净菜验收页改为净菜加工,卡片布局+累计数据+重量确认弹窗
- 菜单页按钮「净菜验收」改名「净菜加工」
- 页面标题改为「净菜加工」,顶部栏新增「刷新」按钮
- 右列表格改为两列卡片布局,展示处理进度(斤)和进度条
- 数据模型改为累计模式:processed/target
- 新增重量确认弹窗:识别/搜索/刷新后弹窗确认本次加工重量
- 确认后重量累加到卡片 processed,支持手动修改

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 09:14:56 +08:00
zhangyan 4dd064dd36 Revert "refactor: 去除订单维度,任务与餐品净菜包一对多,称重页按钮改为打包完成"
This reverts commit dc45b51430.
2026-06-17 09:13:43 +08:00
zhangyan c33e0c52d1 Revert "feat: 称重页支持多餐品包同时打包,任务列表按钮改为任务级"
This reverts commit dd0477f110.
2026-06-17 09:13:43 +08:00
zhangyanandClaude Opus 4.6 dd0477f110 feat: 称重页支持多餐品包同时打包,任务列表按钮改为任务级
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 16:42:13 +08:00
zhangyanandClaude Opus 4.6 dc45b51430 refactor: 去除订单维度,任务与餐品净菜包一对多,称重页按钮改为打包完成
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 16:32:38 +08:00
zhangyanandClaude Opus 4.6 801a75d7f3 feat: 称重打包页新增秤重显示、操作列、下一步弹窗流程,全局精简文案
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 16:11:51 +08:00
zhangyanandClaude Opus 4.6 2465e051dd fix: 菜单页精简为仅保留「净菜验收」入口
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 11:58:02 +08:00
zhangyanandClaude Opus 4.6 07be7fb86e fix: 净菜验收页删除验收进度条及相关逻辑
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 11:57:23 +08:00
zhangyanandClaude Opus 4.6 810a817e47 fix: 净菜验收页验收进度条加粗,增强可见性
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 11:53:22 +08:00
zhangyanandClaude Opus 4.6 aafecd719e refactor: 净菜加工秤模块重构为单一验收功能,拆分登录/菜单页面
- 重写 00-welcome.html 为独立居中登录页,登录成功跳转 01-menu.html
- 新建 01-menu.html 独立功能菜单页(净菜验收/验收记录/设置)
- 新建 01-accept.html 净菜验收主操作页,替代原任务列表/称重/切配三页
- 净菜列表新增删除按钮,允许移除已验收净菜
- 导航页 index.html 精简为「员工登录」和「净菜验收」两个入口
- 子页面返回按钮统一指向 01-menu.html,退出指向 00-welcome.html
- 删除旧页面:01-cutting-tasks、02-weighing、03-cutting

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 11:40:46 +08:00
zhangyanandClaude Opus 4.6 0da2f87505 refactor: 加工毛菜秤首页删除「称重录入」和「清洗操作」入口
删除这两个功能卡片及对应的子页面文件(02-weighing.html、03-washing.html),
仅保留员工登录、今日清洗任务、清洗记录、设备设置四个入口。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-16 08:33:20 +08:00
zhangyanandClaude Opus 4.6 dac2f771d2 refactor: 清洗任务页删除顶部"去处理"按钮
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:46:48 +08:00
zhangyanandClaude Opus 4.6 b1c5a6cd5c feat: 来料过秤页面清单列表增加表头,优化重量展示
- 添加表头:食材名称、应取量、实取量、状态
- 应取量/实取量只显示数字,表头标明含义
- 状态列统一显示"待称重"/"已完成"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:39:15 +08:00
zhangyanandClaude Opus 4.6 373c5f3d49 refactor: 清洗任务页已完成卡片删除冗余状态标签
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:35:35 +08:00
zhangyanandClaude Opus 4.6 25d7216534 feat: 所有业务页面添加返回按钮,实现从哪来回哪去
- 营养秤:开餐、餐品展示、取餐(单屏/双屏)、设置、采样、采样历史
- 验收秤:验收操作、设置、验收历史、食材采样、采样历史
- 加工毛菜秤:清洗任务、来料过秤、称重、清洗、净菜过秤、操作记录、设置
- 配比秤:打包任务、称重打包、打包记录、设置
- 净菜配比秤:切割任务、称重、切割、历史记录、设置

返回逻辑:优先 URL 参数 referer → document.referrer → index.html

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:34:48 +08:00
zhangyanandClaude Opus 4.6 130ad63094 feat: 今日清洗任务页面增加已录入重量列
- 在食材行中添加"已录入重量"列,显示每种食材的实际录入重量
- 已完成任务单显示完整已录入重量(绿色)
- 待处理任务单显示已录入重量(绿色)
- 新到达任务单显示"未录入"(灰色)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:29:08 +08:00
zhangyanandClaude Opus 4.6 4ffc38cd21 refactor: 验收秤采样历史页面删除采样备注字段
- 删除数据中的 note 字段
- 删除详情弹窗中的采样备注展示

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:19:38 +08:00
zhangyanandClaude Opus 4.6 5303fafd66 feat: 三端设备index页恢复员工登录入口卡片
- 验收秤index: 添加员工登录卡片
- 营养秤index: 添加员工登录卡片
- 加工毛菜秤index: 添加员工登录卡片

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:08:45 +08:00
zhangyanandClaude Opus 4.6 08b701feda refactor: 三端设备index页删除员工登录/功能菜单入口
- 营养秤index: 删除员工登录、功能菜单卡片,删除back-btn CSS
- 验收秤index: 删除员工登录卡片
- 加工毛菜秤index: 删除员工登录、功能菜单卡片

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:06:17 +08:00
zhangyanandClaude Opus 4.6 b4a6bff21f fix: 修复删除返回按钮后JS报错导致数据不渲染
- 01-verify-inspection.html 添加 topBackBtn 空值保护
- 避免 document.getElementById('topBackBtn') 返回 null 时 JS 崩溃

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:03:31 +08:00
zhangyanandClaude Opus 4.6 235505020f refactor: 毛菜验收秤导航页删除功能菜单卡片
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 17:00:08 +08:00
zhangyanandClaude Opus 4.6 2207a244a4 refactor: 全模块删除返回按钮
- 50个HTML页面移除top-bar中的返回(back-btn)元素
- 涉及餐线营养秤、毛菜验收秤、加工毛菜秤、清洗比例秤、比例秤及所有占位导航页

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 16:57:31 +08:00
zhangyanandClaude Opus 4.6 f74c3520bb refactor: 加工毛菜秤功能菜单删除来料过秤入口
- 来料过秤不再作为菜单独立入口,改由今日任务卡片"处理"按钮直接进入
- 设备设置描述从"设备参数配置"改为"设备信息查看、系统版本"

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 15:50:45 +08:00
zhangyanandClaude Opus 4.6 f8af6b4747 refactor: 毛菜验收秤—删除采样备注、验收溯源码、支付方式、历史详情抽屉
- 01-verify-inspection.html: 删除不合格处理说明文本域、食材行溯源标签、订单卡片付款模式徽章、汇总弹窗付款模式文字
- 03-verify-history.html: 删除验收详情抽屉(HTML/CSS/JS)、支付方式列、操作(详情)列
- index.html: 验收记录卡片描述更新
- CHANGELOG 同步

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 15:49:28 +08:00
zhangyanandClaude Opus 4.6 3c50fa83a4 feat: 营养秤登录/菜单页创建 + 来料过秤预填修复 + 多模块SITE_MAP同步
- 营养秤新增 00-login.html(人脸/账号密码登录)和 00-welcome.html(功能菜单)
- 修复 02-batch-weighing.html 预填逻辑:initTaskList 调用移至 batchItems 声明之后
- 验收秤/营养秤 index.html 新增登录页和菜单页卡片条目
- 清洗比例秤、比例秤等模块导航页完善

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-15 15:35:18 +08:00
fengpuandClaude Opus 4.7 2373704945 refactor: 餐线营养秤+餐厅终端导航页PAD居中外壳改造,挂载至根导航
- 9 个营养秤页面(index/01~06,含双屏大/小)统一改造为 body 全屏深色画布 + flex 居中,新增 .device-frame 1280x720 PAD 外壳(圆角24px + 阴影),双屏小屏复用 480x320 .screen-frame
- 修正内容区 calc(100vh - X) → calc(100% - X),避免视口与外壳尺寸耦合;隐藏 PAD 内可见滚动条
- 父级 canteen-device/index.html 同步改造 + 内容紧凑化(gap/padding/icon)适配 PAD 高度
- 根 index.html SITE_MAP「其他终端 → 餐厅终端设备」标记 done:true 并挂载 9 个营养秤页面,卡片状态由待设计 → 已完成
- 新增 canteen-nutrition-scale/doc/CHANGELOG.md,记录两次改造

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-12 11:06:59 +08:00
zhangyan 5e8ca181af docs: 删除 PRD 中图片存储上限与覆盖策略(8.2 节)
移除单菜品 50 张图片上限和相似度覆盖逻辑的相关规则,
仅保留 8.1 反样本机制。
2026-06-12 10:26:24 +08:00
zhangyanandClaude Opus 4.6 5762fcfcc8 fix: 更新档口营养秤导航页 index.html
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-12 09:11:54 +08:00
zhangyanandClaude Opus 4.6 2ddd649a69 fix: PRD 去掉「当天餐谱默认候选」规则,恢复全量搜索
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-11 11:55:33 +08:00
lenovoandClaude Opus 4.6 8f3bb0901a feat: 新增餐台设备19个模块占位——充值屏、结算设备、净菜柜、净菜厨房、标签机、配比秤、食品安全监测、营养评分、出餐机、处理提示屏、原料卫生检测、原料检测秤、原料柜、加工秤、洗菜秤、档口营养秤、水电表
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-11 11:18:46 +08:00
lenovoandClaude Opus 4.6 dcf2757863 feat: 餐线营养秤8页全流程完善—开餐跳转02、采样取消回02、全局返回history.back()、02/03餐品点击进入01、04新增开餐/采样历史入口、非员工设置拦截、当天餐谱默认候选、自动人脸识别触发
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-11 11:18:46 +08:00
fengpuandClaude Opus 4.7 42fc2c67f0 feat: 营养小程序自记餐品功能与若干交互完善
吃模块
- 新增 eat-self-record.html 自记餐品二级页面:左分类右列表+餐品搜索+份/克双维度(克模式数字框可键盘直接输入并保留 +/- 步进),按早中晚餐次独立记录并回显,底部固定栏含明细弹窗与总热量
- eat-home.html 早中晚餐次列表下方追加「+ 自记餐品」入口,餐品右侧热量下方新增来源徽标(员工食堂/自记餐品)

做模块
- make-follow.html 增加 ?from=mine 入口区分,从「我的创作-已发布」进入时主按钮替换为「取消发布」+ 二次确认
- make-my-recipes.html 已发布列表查看链接补 from=mine 参数

我模块
- me-health.html 疾病信息与营养目标分区箭头改为弹窗编辑,疾病史/家族病史/用药情况均支持添加多个标签

导航与文档
- index.html SITE_MAP 新增「自记餐品」条目
- 营养小程序 CHANGELOG 追加 1.2.0 版本记录

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-10 11:00:56 +08:00
fengpu 41e37905f2 feat:同步记忆文件,去掉我的订单中已取消的订单分类 2026-06-08 18:15:05 +08:00
fengpuandClaude Opus 4.7 b4373f30e9 feat: 营养模块小程序8页优化—菜品详情四维度重构、去除食堂筛选、食谱统计四图标统一、食材单位克化
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-08 18:12:19 +08:00
fengpu 572613b1bf feat:空文件夹占位 2026-06-08 16:51:03 +08:00
fengpu 09e2860b4f fix:替换项目中的敏感字样 2026-06-01 09:45:46 +08:00
冯普andClaude Opus 4.6 baa6faacfa feat: 营养小程序多页面交互优化及我的创作页面新增
- 营养素明细列表增加分类标题(宏量营养素/矿物质/维生素)
- 食谱页扫码点餐按钮改为跳转订餐页
- 订餐页菜品添加个性化推荐标签(推荐/低卡/过敏/禁忌)
- 创作食谱页增加底部存为草稿+立即发布双按钮
- 做-社区主页banner增加"我的创作"入口
- 新增我的创作列表页(已发布/草稿箱Tab切换)
- 导航页SITE_MAP补全新页面条目

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-18 14:23:12 +08:00