All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 6s
页面 (电商AI平台/) - account / team / settings / index / products / projects: 累积迭代 - restraint.css: 设计 token 补充 - login.html / register.html: 新增登录注册页 - _ARCHIVE.md: 归档说明 Next.js 工程骨架 - app/ + components/: 新一代 SPA 雏形 (page / layout / sidebar / topbar / GridBg / Icon) - package.json / package-lock.json / next.config.mjs / tsconfig.json / postcss.config.mjs / next-env.d.ts 历史归档 / 文档 - v1/: 原 V1 静态稿镜像 (含 mockup-A/B/C) - PRD.md / deployment-guide.md / _check.html - ui参考/ / screenshots/ 杂项 - .gitignore 调整 - 删除根 README.md Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
60 lines
2.7 KiB
Markdown
60 lines
2.7 KiB
Markdown
# 待归档/清理的 HTML 文件
|
|
|
|
> 2026-05-21 · 设计稿对接前清理清单
|
|
|
|
下列文件是早期版本或独立实验页,**不在主流程上**,对接给团队前建议归档/删除。
|
|
保留它们不会影响主流程渲染(没有 sidebar / 内部 link 指向),但会让 repo 文件目录显得混乱。
|
|
|
|
## ✅ 可以直接删除(无任何入口)
|
|
|
|
| 文件 | 原用途 | 现状 |
|
|
|------|--------|------|
|
|
| `product-create.legacy.html` | 旧版「新建商品」全屏页(3883 行 drawer) | 已被 `product-create.html`(stub 重定向)+ drawer 模式替代,无任何链接 |
|
|
| `product-create-v2.html` | 备选「新建商品」实验版 | 仅 `product-studio.html` 单向关联,product-studio 本身已无入口 |
|
|
| `studio.html` | 早期工作室页占位 | 已被 `pipeline.html` 替代,sidebar 已切换,无 link |
|
|
| `studio-v2.html` | 早期工作室 V2 实验 | 同上 |
|
|
| `product-studio.html` | 商品 + 工作室合并实验 | 主流程已拆为 `product-detail.html` + `pipeline.html` |
|
|
|
|
## ⚠️ 保留但要清理 sidebar 入口判断
|
|
|
|
| 文件 | 决定 |
|
|
|------|------|
|
|
| `product-create.html` | **保留** · stub 重定向,处理外部书签/直接访问 → 弹 drawer |
|
|
| `product-create-upload.html` | **保留** · 商品图上传专用辅助页,通过 drawer 内部调用 |
|
|
| `model-photo.html` / `platform-cover.html` | **保留** · 「AI 生成素材」二级页(从商品库 gen-choice 跳入) |
|
|
| `asset-factory.html` | **保留** · sidebar 入口「图片生成」 |
|
|
| `design-system.html` | **保留** · 设计系统参考,非用户路径 |
|
|
|
|
## 🚀 清理命令(对接前)
|
|
|
|
如果决定执行,可在 `电商AI平台/` 目录下:
|
|
|
|
```powershell
|
|
# Windows PowerShell
|
|
Remove-Item product-create.legacy.html, product-create-v2.html, studio.html, studio-v2.html, product-studio.html
|
|
```
|
|
|
|
清理后总文件数:**21 → 16**(含 design-system),核心 15 个。
|
|
|
|
## 📌 sidebar NAV 当前入口对照(assets/shell.js:10-43)
|
|
|
|
```
|
|
工作台 → index.html ✓
|
|
商品库 → products.html ✓
|
|
视频项目 → projects.html ✓
|
|
图片生成 → asset-factory.html ✓
|
|
资产库 → library.html ✓
|
|
团队 → team.html ✓
|
|
消费 → account.html ✓
|
|
设置 → settings.html ✓
|
|
```
|
|
|
|
未在 sidebar 的"白名单"页面(从其他页面 link 进入):
|
|
- login.html / register.html(auth flow · 顶级入口)
|
|
- projects-new.html(项目向导 · 工作台「+新建项目」入口)
|
|
- pipeline.html(流水线 · 项目列表「打开」入口)
|
|
- product-detail.html(商品详情 · 商品库卡片入口)
|
|
- product-create.html stub / product-create-upload.html(drawer 流程辅助)
|
|
- model-photo.html / platform-cover.html(AI 素材生成入口)
|
|
- design-system.html(设计参考 · 非用户路径)
|