From c58734fcda02f3d430b3048f460ec7b4ff96180b Mon Sep 17 00:00:00 2001
From: ZF sun <34314687@qq.com>
Date: Mon, 28 Sep 2026 11:10:26 +0800
Subject: [PATCH] =?UTF-8?q?feat(ai-chat):=20=E5=A2=9E=E5=BC=BA=E8=AF=AD?=
=?UTF-8?q?=E9=9F=B3=E6=B6=88=E6=81=AF=E5=A4=84=E7=90=86=EF=BC=8C=E6=94=AF?=
=?UTF-8?q?=E6=8C=81=E5=A4=9A=E6=9D=A1=E8=AF=AD=E9=9F=B3=E5=90=8C=E6=97=B6?=
=?UTF-8?q?=E5=8F=91=E9=80=81=E5=8F=8A=E4=B8=AD=E5=A4=AE=E6=92=AD=E6=94=BE?=
=?UTF-8?q?=E9=9D=A2=E6=9D=BF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages_tool/ai-chat/ai-chat-message.vue | 630 +++++++++++++++++++++++--
1 file changed, 600 insertions(+), 30 deletions(-)
diff --git a/pages_tool/ai-chat/ai-chat-message.vue b/pages_tool/ai-chat/ai-chat-message.vue
index c3ba174..8ce100d 100644
--- a/pages_tool/ai-chat/ai-chat-message.vue
+++ b/pages_tool/ai-chat/ai-chat-message.vue
@@ -39,6 +39,10 @@
+
{{ message.uploadError }}
-
-
-
-
-
- {{ message.fileName || $lang('ai-chat.index.audioMessage') }}
- {{ formatFileSize(message.fileSize) }}
+
+
+
+
+
- 上传中...
- {{ message.uploadError }}
+
+ {{ v.fileName || $lang('ai-chat.index.audioMessage') || '语音' }}
+
+
+
+
+ {{ formatDuration((v.duration || 0) / 1000) }}
+
+
+
+ {{ message.content }}
@@ -235,18 +256,18 @@
-
+
{{ message.title || $lang('ai-chat.index.audioMessage') }}
{{ formatDuration(message.duration) }}
-
×
-
+
+
+
+
+
+
+
+ {{ $lang('ai-chat.index.audioMessage') || '语音' }}
+
+
+
+
+ {{ formatDuration((f.duration || 0) / 1000) }}
+
{{ f.type === 'video' ? '🎬' : (f.type === 'audio' ? '🎵' : '📄') }}
{{ f.fileName }}
@@ -621,6 +657,34 @@
:nickname="localUserNickname"
@nickname-change="onNicknameChange"
/>
+
+
+
+
+
+
+ ×
+
+
+
+ {{ $lang('ai-chat.index.audioMessage') || '语音' }}
+
+ {{ formatDuration(voiceOverlay.currentTime || 0) }}
+ /
+ {{ formatDuration((voiceOverlay.duration || 0) / 1000) }}
+
+
+
+
+
+
+
+ 点击外部关闭
+
+
+