From f307588cc56603f43ed0559ea37b38895210b71f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=BF=97=E5=86=9B?= <543024265@qq.com> Date: Mon, 28 Jul 2025 20:20:47 +0800 Subject: [PATCH] =?UTF-8?q?refactor(agent):=20=E9=87=8D=E6=9E=84=E6=99=BA?= =?UTF-8?q?=E8=83=BD=E4=BD=93=E9=A1=B5=E9=9D=A2=E5=B8=83=E5=B1=80=E5=92=8C?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -调整了智能体卡片的布局结构,优化了标题和描述的显示方式 - 改进了历史对话的展示样式,增加了滚动指示器 - 统一了标签和图标的样式,提升了视觉一致性 - 优化了搜索框和卡片列表的样式,提高了用户体验 --- .../agent/chat/components/HistoryChat.vue | 23 +++++++++---------- src/views/agent/chat/components/history.scss | 12 ++-------- .../work-flow/components/HistoryChat.vue | 9 ++++++-- .../agent/work-flow/components/history.scss | 14 ++--------- 4 files changed, 22 insertions(+), 36 deletions(-) diff --git a/src/views/agent/chat/components/HistoryChat.vue b/src/views/agent/chat/components/HistoryChat.vue index 1a1590b..479aa92 100644 --- a/src/views/agent/chat/components/HistoryChat.vue +++ b/src/views/agent/chat/components/HistoryChat.vue @@ -2,33 +2,33 @@
- +
-
{{cozeInfo.name}}
+
{{ cozeInfo.name }}
- +
对话式
-
{{cozeInfo.views}}
-
次使用
+ + {{ cozeInfo.views }} + + + 次使用 +
- {{cozeInfo.description}} + {{ cozeInfo.description }}
-
@@ -64,8 +64,7 @@ const truncateText = (text: string, maxLength = 30) => { return text.slice(0, maxLength) + '...'; }; -onMounted(() => { -}); +onMounted(() => {});