feat: 语音样式调整
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -88,8 +88,8 @@
|
||||
z-index: 1;
|
||||
transition: padding-bottom 0.3s ease;
|
||||
/* 确保输入区域始终可见 */
|
||||
transform: translateZ(0);
|
||||
-webkit-transform: translateZ(0);
|
||||
// transform: translateZ(0);
|
||||
// -webkit-transform: translateZ(0);
|
||||
}
|
||||
|
||||
.area-input {
|
||||
|
||||
Reference in New Issue
Block a user