perf(ui交互):调整UI交互体验优化

This commit is contained in:
runny committed 2026-06-05 13:38:20 +08:00
1 parent 0e3085725a
commit 21a5316319
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -2776,8 +2776,8 @@ const showChatRating = ref(false);
<!-- Bottom Icons -->
<div class="flex items-center justify-between text-muted relative" ref="userMenuRef">
<button @click="showUserDropdown = !showUserDropdown" class="flex h-8 w-8 items-center justify-center rounded-full bg-brand-600 text-sm font-bold text-white shadow-sm shadow-brand-500/20 hover:bg-brand-700 transition-colors">
{{ (currentUser?.username || 'I').charAt(0).toUpperCase() }}
<button @click="showUserDropdown = !showUserDropdown" class="flex h-10 min-w-[2.5rem] items-center justify-center rounded-full bg-brand-600 px-3 text-sm font-bold text-white shadow-sm shadow-brand-500/20 transition-colors hover:bg-brand-700">
退出
</button>
<!-- User Dropdown Menu -->