From 457cc6cf166d3b6c22be4f78c1db8802a7fbb4c7 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期一, 07 四月 2025 17:53:19 +0800 Subject: [PATCH] DigitalHuman --- src/views/project/ch/home/component/waterRight/top.vue | 17 +++++++---------- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/views/project/ch/home/component/waterRight/top.vue b/src/views/project/ch/home/component/waterRight/top.vue index 440d8fe..d226212 100644 --- a/src/views/project/ch/home/component/waterRight/top.vue +++ b/src/views/project/ch/home/component/waterRight/top.vue @@ -1,10 +1,10 @@ <template> - <div class="flex items-center"> + <div class="flex items-center mb-8"> <img src="/static/images/logo/logoWithNoName.png" alt="logo" class="layout-logo-medium-img" /> - <p class="set-waterTitle"><strong>WI 姘村姟鏅鸿兘绠″</strong>鏅烘収姘村姟鍔╂墜</p> + <p class="set-waterTitle"><strong>WI姘村姟鏅鸿兘骞冲彴</strong>鏅烘収姘村姟鏁版嵁鎸栨帢鑰�</p> </div> - <div class="flex items-center pc-roleList"></div> - <PlayBar v-model="inputValue" @send-click="sendClick" :is-home="true" /> + <!-- <div class="flex items-center pc-roleList"></div> --> + <PlayBar style="width: 760px" v-model="inputValue" @send-click="sendClick" :is-home="true" /> </template> <script setup lang="ts"> @@ -13,18 +13,15 @@ import { GetLLMList, setHistoryGroupTitle } from '/@/api/ai/chat'; import PlayBar from '/@/components/chat/components/playBar/PlayBar.vue'; import router from '/@/router'; -import { activeChatRoom, activeLLMId, activeSectionAId } from '/@/stores/chatRoom'; +import { activeChatRoom, activeLLMId } from '/@/stores/chatRoom'; import { handleNormalAuth } from '/@/utils/request'; const emits = defineEmits(['sendClick']); -const inputValue = ref('鏂板缓瀵硅瘽寮�濮�'); +const inputValue = ref(''); const sendClick = async (cb) => { if (!inputValue.value.trim()) return; - if (!activeSectionAId.value) { - ElMessage.warning('璇烽�夋嫨搴旂敤鍦烘櫙'); - return; - } + if (!handleNormalAuth()) { return; } -- Gitblit v1.9.3