| | |
| | | v-if="inputValue" |
| | | > |
| | | </el-button> |
| | | <el-button title="发送" class="cursor-pointer" link @click="emits('sendClick')"> |
| | | <div class="send"> |
| | | <img src="/static/images/wave/QueryImg.png" /> |
| | | </div> |
| | | <el-button class="cursor-pointer" link> |
| | | <el-tooltip placement="top" content="停止生成" v-if="isTalking"> |
| | | <div |
| | | class="size-[28px] stop-breathe rounded-full flex-center border-2 border-solid border-black text-black" |
| | | @click="emits('stopGenClick')" |
| | | > |
| | | <span class="ywifont ywicon-jieshu"></span> |
| | | </div> |
| | | </el-tooltip> |
| | | |
| | | <el-tooltip v-else placement="top" content="发送"> |
| | | <div class="size-[36px] rounded-full bg-black flex-center" @click="emits('sendClick')"> |
| | | <img src="/static/images/wave/QueryImg.png" /> |
| | | </div> |
| | | </el-tooltip> |
| | | </el-button> |
| | | </div> |
| | | </div> |
| | |
| | | import VoicePage from './voicePage/VoicePage.vue'; |
| | | import { getMetricsNames, querySimilarityHistory } from '/@/api/ai/chat'; |
| | | import { activeGroupType, groupTypeList, groupTypeMapIcon } from '/@/stores/chatRoom'; |
| | | const emits = defineEmits(['sendClick', 'showUpChatClick', 'showDownChatClick']); |
| | | const emits = defineEmits(['sendClick', 'showUpChatClick', 'showDownChatClick', 'stopGenClick']); |
| | | const props = defineProps({ |
| | | isTalking: Boolean, |
| | | isHome: Boolean, |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | .stop-breathe { |
| | | @keyframes breathe { |
| | | 0%, |
| | | 100% { |
| | | transform: scale(1); |
| | | } |
| | | 50% { |
| | | transform: scale(1.35); |
| | | } |
| | | } |
| | | animation: breathe 3s infinite ease-in-out; |
| | | } |
| | | </style> |