From bcb4e76a7b0c40e4d4587f68be532aa1bdae7a41 Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Thu, 25 Sep 2025 15:07:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=BB=BA=E6=B7=B1=E5=BA=A6=E4=B9=9D?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/deepNine.vue | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/src/views/deepNine.vue b/src/views/deepNine.vue index 9b8c326..8a1d388 100644 --- a/src/views/deepNine.vue +++ b/src/views/deepNine.vue @@ -88,11 +88,6 @@ const playNextAudio = () => { } return; } - // if (currentPlayIndex >= audioQueue.value.length) { - // console.log("所有音频播放完成"); - // isPlayingAudio.value = false; - // return; - // } isCallingPlayNext = true; const audioInfo = audioQueue.value[currentPlayIndex]; @@ -158,13 +153,8 @@ const playNextAudio = () => { chatStore.messages[chatStore.currentUserIndex].audioStatus = false; audioStore.nowSound = null; audioStore.soundInstance = null; - // currentPlayIndex = 0; isCallingPlayNext = false; - // setTimeout(() => { - // isCallingPlayNext = false; - // playNextAudio(); - // }, 500); // 间隔500ms播放下一个 } }, onstop: () => { @@ -411,22 +401,10 @@ const playAudio = (url) => { audioStore.setAudioInstance(newSound); Howler._howls.push(newSound); // 强制注册到全局管理 - // // 处理浏览器自动播放策略 - // if (Howler.autoUnlock) { - // Howler.autoUnlock(); - // } }; - // if (/iPhone|iPad|iPod/.test(navigator.userAgent)) { - // document.addEventListener('touchstart', handlePlay, { once: true }); - // ElMessage.info('请轻触屏幕以启用音频播放'); - // } else { - // handlePlay(); - // } - handlePlay(); - // Howler.volume(1.0) // 添加全局音量设置 }; // 新增暂停方法 const pauseAudio = () => { @@ -1040,13 +1018,13 @@ async function continueThinkingProcess(thinkingMessageRef, stockName) { chatStore.messages.splice(index, 1); } - // 第三步:生成具体股票的全景作战报告 + // 第三步:生成具体股票的深度共振分析图谱 const thinkingMessage3 = reactive({ sender: "ai", class: "ing", type: "ing", flag: true, - content: `正在生成${stockName}全景作战报告`, + content: `正在生成${stockName}深度共振分析图谱`, gif: generateGif, }); chatStore.messages.push(thinkingMessage3);