Files
REVOXELSEG_DICOM/工程分析/需求分析-2026-05-04-03-08-20.md

52 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 需求分析
时间戳2026-05-04-03-08-20
## 原始需求摘要
用户要求将项目的 title 图标、登录界面 logo、左上角 logo 均替换为用户提供的医疗风格彩色 logo浏览器标题改为“模型逆向系统”并将项目部署到 `http://192.168.3.11:4000/`
## 业务目标
- 统一系统品牌视觉。
- 让浏览器标签页标题和 favicon 与“模型逆向系统”一致。
- 登录页顶部标识改为用户提供的 logo。
- 系统左上角侧边栏标识改为用户提供的 logo。
- 使用指定地址和端口完成重新部署。
## 输入与输出
输入:
- 用户提供的 logo 图片。
- 目标标题:“模型逆向系统”。
- 目标部署地址:`http://192.168.3.11:4000/`
输出:
- `WebSite/index.html` 中 title 更新。
- `WebSite/index.html` 中 favicon 指向新 logo。
- 登录页使用新 logo。
- 左侧栏顶部使用新 logo。
- 本地开发服务或部署服务运行在 `0.0.0.0:4000`,可通过 `http://192.168.3.11:4000/` 访问。
## 影响范围
- `WebSite/index.html`
- `WebSite/src/components/Login.tsx`
- `WebSite/src/components/Sidebar.tsx`
- 可能新增 `WebSite/public/` 下的 logo 资源文件。
- 可能调整运行端口和现有 `tmux` 部署会话。
## 风险点
- 当前对话中的 logo 图片可能未自动落盘为本地文件;如无法直接读取附件,需要用户提供图片文件路径,或由用户将图片保存到指定路径。
- `4000` 端口可能已被其他服务占用,执行前需要检查。
- 当前项目已在 `3001` 端口通过 `tmux` 会话 `revoxelseg-dicom` 部署,切换到 `4000` 时需要重启该会话或新建会话。
- favicon 使用 PNG 时浏览器可能缓存旧图标,验证时可能需要强制刷新。
## 待确认问题
- 若当前附件无法在文件系统中读取,是否允许用户将 logo 保存为 `WebSite/public/logo.png` 后再继续。
- 是否需要保留 `3001` 旧服务,还是将 `revoxelseg-dicom` 会话切换到 `4000`