From bfba8b9271282d1e0a4d908b4cc4314424f19019 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 17:42:50 +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 -调整了智能体卡片的布局结构,优化了标题和描述的显示方式 - 改进了历史对话的展示样式,增加了滚动指示器 - 统一了标签和图标的样式,提升了视觉一致性 - 优化了搜索框和卡片列表的样式,提高了用户体验 --- src/views/agent/work-flow/components/history.scss | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/views/agent/work-flow/components/history.scss b/src/views/agent/work-flow/components/history.scss index 87ebc62..0277d62 100644 --- a/src/views/agent/work-flow/components/history.scss +++ b/src/views/agent/work-flow/components/history.scss @@ -20,14 +20,15 @@ gap: 10px; .image-container { - height: 400px; - overflow: hidden; + width: 90%; + height: 100%; border-radius: 8px; } .image-container img { width: 100%; - height: auto; + height: 100%; + border-radius: 8px; aspect-ratio: 1 / 1; object-fit: cover; } @@ -46,7 +47,7 @@ justify-content: flex-start; align-items: center; gap: 4px; - + padding: 24px; .title { color: var(--Text-1, #211F24); font-size: 18px; @@ -96,7 +97,8 @@ width: 79px; height: 34px; position: relative; - + margin-top: 24px; + margin-right: 24px; .count { left: 0px; top: 10px; @@ -129,7 +131,7 @@ justify-content: flex-start; align-items: center; gap: 10px; - + margin-left: 24px; .description { align-self: stretch; color: var(--Text-2, #3C4043);