Files
ISISeg/工程分析/实现方案-2026-05-18-19-31-18.md

23 lines
743 B
Markdown
Raw Permalink 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-18-19-31-18
## 修改内容
1. `frontend/index.html`
- 在“预览与结果”标题右侧增加原始媒体按钮。
- 新增 `sourceDialog` 弹窗,包含原始视频播放器和原始图像预览。
2. `frontend/app.js`
- 记录当前加载文件的 object URL。
- 文件加载时更新按钮文案和显示状态。
- 点击按钮时打开原始媒体弹窗。
- 清空时关闭并重置原始媒体弹窗。
3. `frontend/styles.css`
- 增加媒体操作按钮、原始媒体弹窗和大播放器样式。
## 设计说明
页面内预览用于快速确认文件已加载;弹窗用于更大尺寸查看原始视频或图像,避免与分割结果网格相互挤压。