From 31732a6303f793b617b106f1933f609ca9bce7d6 Mon Sep 17 00:00:00 2001
From: hubian <908234780@qq.com>
Date: Tue, 28 Apr 2026 10:57:57 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=86=E5=8F=B2=E4=BD=BF=E7=94=A8?=
=?UTF-8?q?=E5=B7=A6=E8=BE=B9=E6=A0=87=E9=A2=98=E5=8F=B3=E8=BE=B9=E6=99=BA?=
=?UTF-8?q?=E8=83=BD=E4=BD=93=E5=90=8D=E5=AD=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
www/app.js | 8 ++++----
www/style.css | 20 ++++++++++++++++----
2 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/www/app.js b/www/app.js
index 9cf0728..38d30bd 100644
--- a/www/app.js
+++ b/www/app.js
@@ -789,10 +789,10 @@ function renderAgentsPage() {
${conv.agent ? conv.agent.avatar : '🤖'}
- ${conv.agent ? conv.agent.name : '未知智能体'}
+ ${conv.title}
- ${conv.title}
+ ${conv.agent ? conv.agent.name : '未知智能体'}
${formatTime(conv.updatedAt)}
@@ -3003,10 +3003,10 @@ function showAgentHistoryPage() {
${conv.agent ? conv.agent.avatar : '🤖'}
- ${conv.agent ? conv.agent.name : '未知智能体'}
+ ${conv.title}
- ${conv.title}
+ ${conv.agent ? conv.agent.name : '未知智能体'}
${formatTime(conv.updatedAt)}
diff --git a/www/style.css b/www/style.css
index 7a024c8..0727cb4 100644
--- a/www/style.css
+++ b/www/style.css
@@ -1731,14 +1731,23 @@ body {
}
.recent-agent-title {
- font-size: 13px;
+ font-size: 14px;
color: #333;
+ font-weight: 500;
max-width: 120px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
+.recent-agent-agent-name {
+ font-size: 12px;
+ color: var(--primary);
+ background: rgba(102, 126, 234, 0.1);
+ padding: 2px 8px;
+ border-radius: 4px;
+}
+
/* 智能体历史页面 */
.agent-history-page {
display: flex;
@@ -1809,8 +1818,9 @@ body {
}
.agent-history-title {
- font-size: 13px;
+ font-size: 14px;
color: #333;
+ font-weight: 500;
max-width: 150px;
overflow: hidden;
text-overflow: ellipsis;
@@ -1818,9 +1828,11 @@ body {
}
.agent-history-agent-name {
- font-size: 13px;
+ font-size: 12px;
color: var(--primary);
- font-weight: 500;
+ background: rgba(102, 126, 234, 0.1);
+ padding: 2px 8px;
+ border-radius: 4px;
}
/* ==================== 我的页面 ==================== */