- 根因修复: main 上的 overflow-y:auto 把 sticky 锁死(自身不滚动, 滚动在 document), 去掉后吸顶恢复 - 使用说明页包裹层去掉 max-w-[1320px], 改 w-full 铺满(仅 help 页, 其他页保持原宽度) - 导航移动端 nav 自身 sticky top-14(停在 header 下沿), 桌面端内层卡片 lg:sticky lg:top-2 - 锚点 scroll-mt-32 lg:scroll-mt-4, 跳转不被吸顶导航遮挡 - 顺带修上一轮中断遗留: ItemList 引用已删的 showOffShelf 会 ReferenceError, 改接 statusFilter
前端构建说明
该目录包含 React、TypeScript 和 Vite 前端源码。构建产物会写入项目根目录的 static/,由 FastAPI 统一提供。
cd frontend
npm install
npm run build
cd ..
python Start.py
浏览器统一访问 http://localhost:8080/。
npm run dev 和 npm run preview 已禁用,避免启动与完整应用重复且缺少后端 API 的独立前端实例。