feat: 语音样式调整

This commit is contained in:
zoujing
2025-08-07 17:07:45 +08:00
parent 42780eff0a
commit a432c32fb5
4 changed files with 64 additions and 42 deletions

View File

@@ -20,7 +20,7 @@
@touchend.stop="stopRecording"
@touchmove.stop="handleTouchMove"
>
按住说话
按住说话
</view> -->
<view v-if="isVoiceMode" class="hold-to-talk-button" @click.stop="startRecording">
按住说话
@@ -201,7 +201,11 @@ const cancelVoice = () => {
const testPopup = () => {
// 模拟开始录音,打开录音弹窗
isRecording.value = true
console.log("===========1")
if (recordingPopupRef.value) {
console.log("===========2")
recordingPopupRef.value.open()
}
@@ -215,7 +219,7 @@ const testPopup = () => {
if (voiceResultPopupRef.value) {
voiceResultPopupRef.value.open()
}
}, 2000)
}, 3000)
}