| | |
| | | <span class="ywifont ywicon-fujian !text-[20px] font-bold"></span> |
| | | </div> |
| | | </el-tooltip> |
| | | |
| | | |
| | | <el-tooltip v-if="isSupportSpeech" placement="top" :content="recordState.isRecording ? '停止语音输入' : '语音输入'"> |
| | | <div class="cursor-pointer size-[24px] relative !z-10 rounded flex-center hover:bg-[#f2f2f2]" @click="speechClick"> |
| | |
| | | |
| | | import MetricValuesPreview from './metricValues/MetricValuesPreview.vue'; |
| | | import { useSpeech } from './hook/useSpeech'; |
| | | import { useDigitalHuman } from './hook/useDigitalHuman'; |
| | | |
| | | const emits = defineEmits(['sendClick', 'stopGenClick']); |
| | | const props = defineProps({ |
| | |
| | | inputValue: inputValue, |
| | | inputRef: inputRef, |
| | | }); |
| | | |
| | | const { openDigitalHuman, isHumanTalking, digitalHumanIsShow } = useDigitalHuman({ |
| | | container: '.duix-container', |
| | | }); |
| | | const clearTextarea = () => { |
| | | inputValue.value = ''; |
| | | }; |
| | |
| | | pastTarget: inputRef as any, |
| | | attachFileList: attachList, |
| | | }); |
| | | |
| | | const deleteAttachInIndex = (index: number) => { |
| | | const attach = attachList.value[index]; |
| | | if (attach.type === 'file') { |