refactor: 视频帧独立预览区,只显示视频卡片不逐帧展示

- 新增 #videoPreview 独立区域,金色 video-chip 卡片
- 视频帧存入 pendingVideoFrames,与 pendingImages 完全分离
- 发送时自动合并为 images 数组
This commit is contained in:
thzxx
2026-06-18 11:33:32 +08:00
parent d5a8592317
commit 389e42874a
3 changed files with 109 additions and 23 deletions
+1
View File
@@ -141,6 +141,7 @@
<div class="input-area" id="inputArea">
<div class="image-preview" id="imagePreview" style="display:none;"></div>
<div class="file-preview" id="filePreview" style="display:none;"></div>
<div class="video-preview" id="videoPreview" style="display:none;"></div>
<div class="input-row">
<button class="icon-btn attach-btn" id="btnAttachImg" title="上传图片">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">