chat优化

This commit is contained in:
runny committed 2026-05-19 20:44:13 +08:00
1 parent 09b5e62861
commit fdaeda0812
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1630,7 +1630,7 @@ const showChatRating = ref(false);
<div class="flex items-center justify-between p-4">
<div class="flex items-center gap-2">
<div class="flex h-8 w-8 items-center justify-center rounded-xl bg-gradient-to-br from-brand-500 via-brand-600 to-sky-600 text-sm font-bold text-white shadow-sm shadow-brand-500/25">AI</div>
<span class="font-bold text-slate-800 dark:text-slate-100">Hxops Alagent</span>
<span class="font-bold text-slate-800 dark:text-slate-100">{{ currentAgent?.name || 'AI' }}</span>
</div>
<button @click="isSidebarCollapsed = true" class="text-slate-400 transition-colors hover:text-slate-600 dark:hover:text-slate-200">
<PanelLeftClose class="h-5 w-5" />
+1 -1
View File
@@ -1470,7 +1470,7 @@ onMounted(async () => {
<Bot class="h-6 w-6" />
</div>
<div class="min-w-0">
<div class="text-2xl font-extrabold tracking-tight text-[#14213d]">Hxops</div>
<div class="text-2xl font-extrabold tracking-tight text-[#14213d]">和信AI</div>
<div class="truncate text-xs font-medium text-slate-400">
{{ currentUser?.username }} / {{ currentUser?.role }}
</div>