fix: hide collapsed bar when expanded, fix bottom offset

This commit is contained in:
2026-06-16 16:39:38 +08:00
parent 897522ed5a
commit 9a990274d6

View File

@@ -148,7 +148,7 @@ onMounted(() => {
</div>
</Transition>
<div class="ai-collapsed-bar" @click="store.aiCollapsed = false">
<div v-if="store.aiCollapsed" class="ai-collapsed-bar" @click="store.aiCollapsed = false">
<span class="ai-bar-icon">🤖</span>
<span class="ai-bar-title">AI 助手</span>
<span class="ai-bar-divider">·</span>
@@ -192,7 +192,7 @@ onMounted(() => {
.ai-expanded {
position: absolute;
bottom: 32px;
bottom: 0;
left: 0;
right: 0;
max-height: 40vh;