From 42567c457b0603dc2366d45ad263f4970639b193 Mon Sep 17 00:00:00 2001 From: sion123 <450702724@qq.com> Date: Mon, 2 Feb 2026 22:42:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web-gold/src/components/VoiceSelector.vue | 36 +++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/frontend/app/web-gold/src/components/VoiceSelector.vue b/frontend/app/web-gold/src/components/VoiceSelector.vue index 1117dcc239..02cec98c4b 100644 --- a/frontend/app/web-gold/src/components/VoiceSelector.vue +++ b/frontend/app/web-gold/src/components/VoiceSelector.vue @@ -49,8 +49,40 @@ const playerContainer = ref(null) const audioUrl = ref('') const currentVoiceName = ref('') -// 默认封面图片(Base64 SVG) -const defaultCover = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDEwMCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHJlY3Qgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiIGZpbGw9IiMzY4MmY2IiBmaWxsLW9wYWNpdHk9IjAuMSIvPjxwL3N2Zz4=' +// 默认封面图片(音频波形图标) +const defaultCover = `data:image/svg+xml;base64,${btoa(` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +`.trim())}` // 使用TTS Hook const {