fix:按住说话组件替换样式调整

This commit is contained in:
杨航
2025-09-04 10:20:25 +08:00
parent f21c2c8efd
commit edacc23204
3 changed files with 12 additions and 9 deletions
+6 -3
View File
@@ -16,7 +16,7 @@
<image class="talk-btn-icon" v-show="keyboardIsShow && !!answerValue" src="/src/static/images/course/send.png"
mode="" @click.stop="showKeyboard"></image>
</view>
<uv-overlay :show="showTalkingModel" opacity=".9" @click="showTalkingModel = false">
<uni-popup ref="talkModelRef" type="bottom" @click="showTalkingModel = false" mask-background-color="rgba(0,0,0,0.9)">
<view class="overlay-box">
<view class="circle-bg-box">
<view class="icon-box">
@@ -34,7 +34,7 @@
<image src="@/static/images/course/voice-white.gif" mode="" class="gif-box"></image>
</view>
</view>
</uv-overlay>
</uni-popup>
</view>
</template>
@@ -101,7 +101,8 @@
const showTalkingModel = ref(false)
const keyboardIsShow = ref(false)
const talkModelRef= ref()
watch(() => showTalkingModel.value, (val) => val ? talkModelRef.value.open() : talkModelRef.value.close())
watch(() => props.isLoading, () => {}, {
deep: true,
immediate: true
@@ -253,6 +254,8 @@
}
}
// #endif
// setTimeout(()=> {talkModelRef.value.open()}, 2000)
})
// 录音结束
+1 -1
View File
@@ -655,7 +655,7 @@
...t,
hotContent: t.refineContent
}
})
}).filter(t=> t.refineContent)
})
}
const loadData = async () => {