From 65dc8002dbd6205507ed35167b5dec46a529cfe4 Mon Sep 17 00:00:00 2001 From: wangyifeng <812766448@qq.com> Date: Wed, 23 Apr 2025 09:55:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AF=AD=E9=9F=B3=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E4=B8=8D=E5=8F=AF=E4=BB=A5=E5=90=8C=E6=97=B6=E5=BC=95?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E9=99=90=E5=88=B6=EF=BC=8C=E5=B9=B6=E5=A4=84?= =?UTF-8?q?=E7=90=86=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/dialog/index.vue | 18 +++++++++++++++--- .../components/all-speech/all-speech.vue | 4 ++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/pages/dialog/index.vue b/src/pages/dialog/index.vue index db65c70..1605746 100644 --- a/src/pages/dialog/index.vue +++ b/src/pages/dialog/index.vue @@ -219,7 +219,7 @@ --> -
+
{{ item.voiceContent }}
@@ -293,9 +293,9 @@
{ //切换键盘输入/语音输入 const changeEditorMode = () => { state.value.isUseSpeech = !state.value.isUseSpeech + if(state.value.isUseSpeech){ + //如果切换为语音输入,则删除引用 + state.value.quoteInfo = null + } handleHidePanel() } @@ -1445,6 +1449,9 @@ const multipleChoose = (item) => { const actionCite = (item) => { console.log('引用') + if(state.value.isUseSpeech){ + state.value.isUseSpeech = false + } state.value.quoteInfo = item } @@ -2698,6 +2705,11 @@ const convertText = (msgItem) => { } }) } +//语音输入框高度 +const chatInputHeight = computed(() => { + console.error(rpxToPx(72) + 'px', 'chatInputHeight') + return rpxToPx(72) + 'px' +})