| | |
| | | :msgList="computedMessageList" |
| | | :isTalking="isTalking" |
| | | @shareClick="shareClick" |
| | | @setCommonQuestionClick="setCommonQuestionClick" |
| | | @setCommonQuestionClick="setCommonPhraseClick" |
| | | @sendChatMessage="sendChatMessage" |
| | | @askMoreClick="askMoreClick" |
| | | /> |
| | |
| | | <!-- 输入区域 --> |
| | | <template #input-area> |
| | | <PlayBar |
| | | ref="playBarRef" |
| | | v-model:voicePageIsShow="voicePageIsShow" |
| | | :isTalking="isTalking" |
| | | :isHome="false" |
| | |
| | | @stopGenClick="stopGenClick" |
| | | @showDownChatClick="showDownChatClick" |
| | | :style="{ width: chatWidth }" |
| | | :setCommonQuestionInfo="setCommonQuestionInfo" |
| | | /> |
| | | </template> |
| | | |
| | |
| | | messageContent.value.values = content; |
| | | }; |
| | | //#endregion |
| | | //#region ====================== 用户询问的问题设置为常用语 ====================== |
| | | const setCommonQuestionInfo = ref({}); |
| | | |
| | | const playBarRef = useCompRef(PlayBar); |
| | | //用户问题设置为常用语 |
| | | const setCommonQuestionClick = (item) => { |
| | | setCommonQuestionInfo.value = item; |
| | | const setCommonPhraseClick = (item) => { |
| | | playBarRef.value.addPhrase(item); |
| | | }; |
| | | //#endregion |
| | | |
| | | //#region ====================== 分享 ====================== |
| | | |