From 6ca24301fd3edf76359240ae5272e75b7a4db77f Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期三, 02 四月 2025 09:44:24 +0800 Subject: [PATCH] 修改文案,小bug --- src/views/project/ch/home/component/waterRight/top.vue | 31 +++++++------------------------ 1 files changed, 7 insertions(+), 24 deletions(-) diff --git a/src/views/project/ch/home/component/waterRight/top.vue b/src/views/project/ch/home/component/waterRight/top.vue index 37fc957..d226212 100644 --- a/src/views/project/ch/home/component/waterRight/top.vue +++ b/src/views/project/ch/home/component/waterRight/top.vue @@ -1,23 +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 v-for="(item, index) in llmList" :key="item.logicId" class="flex items-center pl-6" @click="handleClick(item)"> - <div class="modelItem cursor-pointer flex items-center" :class="{ modelItemActive: item.logicId === activeLLMId }"> - <img :src="item.icon" alt="icon" class="set-icon box-border" /> - <span>{{ item.logicTitle }}</span> - </div> - </div> - <div class="flex items-center cursor-pointer pl-5"> - <div class="modelItem cursor-pointer flex items-center"> - <img src="/static/images/wave/More.png" alt="icon" class="set-icon-more box-border" /> - <span>鏇村</span> - </div> - </div> --> - </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"> @@ -26,19 +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'; -import logo from './logo.png' 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