feat: AI回复语音播放功能(Edge TTS)

This commit is contained in:
2026-04-28 17:28:07 +08:00
parent 60db170c0d
commit 7de13ffc6d
4 changed files with 252 additions and 7 deletions

View File

@@ -2395,7 +2395,8 @@ body {
font-size: 20px;
}
.clear-btn {
/* TTS 语音播放按钮 */
.tts-btn {
background: rgba(255,255,255,0.2);
border: none;
border-radius: 8px;
@@ -2404,10 +2405,18 @@ body {
cursor: pointer;
}
.clear-btn:active {
.tts-btn:hover {
background: rgba(255,255,255,0.3);
}
.tts-btn.active {
background: rgba(255,255,255,0.4);
}
.tts-btn svg {
display: block;
}
.messages-container {
flex: 1;
overflow-y: auto;