diff --git a/www/app.js b/www/app.js index 8b8d55a..9cf0728 100644 --- a/www/app.js +++ b/www/app.js @@ -789,10 +789,10 @@ function renderAgentsPage() {
${conv.agent ? conv.agent.avatar : '🤖'} - ${conv.title} + ${conv.agent ? conv.agent.name : '未知智能体'}
- ${conv.agent ? getCategoryLabel(conv.agent.category) : '未知'} + ${conv.title} ${formatTime(conv.updatedAt)}
@@ -3003,10 +3003,10 @@ function showAgentHistoryPage() {
${conv.agent ? conv.agent.avatar : '🤖'} - ${conv.title} + ${conv.agent ? conv.agent.name : '未知智能体'}
- ${conv.agent ? getCategoryLabel(conv.agent.category) : '未知'} + ${conv.title} ${formatTime(conv.updatedAt)}
diff --git a/www/style.css b/www/style.css index ba81b2f..7a024c8 100644 --- a/www/style.css +++ b/www/style.css @@ -1730,12 +1730,13 @@ body { color: var(--primary); } -.recent-agent-category { - font-size: 12px; - color: var(--primary); - background: rgba(102, 126, 234, 0.1); - padding: 2px 8px; - border-radius: 4px; +.recent-agent-title { + font-size: 13px; + color: #333; + max-width: 120px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } /* 智能体历史页面 */ @@ -1807,12 +1808,19 @@ body { color: var(--primary); } -.agent-history-category { - font-size: 12px; +.agent-history-title { + font-size: 13px; + color: #333; + max-width: 150px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +.agent-history-agent-name { + font-size: 13px; color: var(--primary); - background: rgba(102, 126, 234, 0.1); - padding: 2px 8px; - border-radius: 4px; + font-weight: 500; } /* ==================== 我的页面 ==================== */