From 86d26f161a75b95e48c92b631235fea2744c3a19 Mon Sep 17 00:00:00 2001 From: fmk1023 Date: Wed, 3 Dec 2025 09:53:16 +0800 Subject: [PATCH] =?UTF-8?q?Tcode=E5=B9=B3=E5=8F=B0=E6=94=B9=E9=80=A0?= =?UTF-8?q?=E5=8D=87=E7=BA=A7-AI=E5=8A=A9=E6=89=8B=E8=8F=9C=E5=8D=95?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=8A=9F=E8=83=BD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ViewHistoryAside/ViewHistoryAsideNew.vue | 324 ++++++++++ .../ViewHistoryAside/ViewHistoryAsideNew.vue | 596 ++++++++++++++++++ src/views/Jyh/AI/Home/index.vue | 4 +- 3 files changed, 923 insertions(+), 1 deletion(-) create mode 100644 src/layouts/AILayout/ViewHistoryAside/ViewHistoryAsideNew.vue create mode 100644 src/views/Jyh/AI/Home/components/ViewHistoryAside/ViewHistoryAsideNew.vue diff --git a/src/layouts/AILayout/ViewHistoryAside/ViewHistoryAsideNew.vue b/src/layouts/AILayout/ViewHistoryAside/ViewHistoryAsideNew.vue new file mode 100644 index 0000000..d8d6c2f --- /dev/null +++ b/src/layouts/AILayout/ViewHistoryAside/ViewHistoryAsideNew.vue @@ -0,0 +1,324 @@ + + + + + diff --git a/src/views/Jyh/AI/Home/components/ViewHistoryAside/ViewHistoryAsideNew.vue b/src/views/Jyh/AI/Home/components/ViewHistoryAside/ViewHistoryAsideNew.vue new file mode 100644 index 0000000..2e05e43 --- /dev/null +++ b/src/views/Jyh/AI/Home/components/ViewHistoryAside/ViewHistoryAsideNew.vue @@ -0,0 +1,596 @@ + + + + + diff --git a/src/views/Jyh/AI/Home/index.vue b/src/views/Jyh/AI/Home/index.vue index fd5463e..68a38ab 100644 --- a/src/views/Jyh/AI/Home/index.vue +++ b/src/views/Jyh/AI/Home/index.vue @@ -139,6 +139,7 @@ + @@ -153,6 +154,7 @@ import OssDetail from './components/OssDetail.vue'; import Other from './components/Other.vue'; import AIList from './components/AIList.vue'; import ViewHistoryAside from './components/ViewHistoryAside/ViewHistoryAside.vue'; +import ViewHistoryAsideNew from './components/ViewHistoryAside/ViewHistoryAsideNew.vue'; import axios from 'axios'; import { useDiscussGetUserInfo } from '@/api/discussion/hook'; import { Message } from 'vue-devui/message'; @@ -196,7 +198,7 @@ const messages = ref([]); const followupQuestions = ref([]); // 控制 ViewHistoryAside 组件的显示状态 -const isHistoryVisible = ref(false); +const isHistoryVisible = ref(true); // 切换 ViewHistoryAside 组件的显示与隐藏