修复讲解全局音频播放器交互

This commit is contained in:
lyf
2026-07-08 21:22:27 +08:00
parent 89923ab861
commit 9cdb2c08b2
12 changed files with 1715 additions and 324 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -3,6 +3,7 @@
active-tab="guide"
variant="overlay"
:show-top-tabs="false"
audio-player-mode="floating"
show-back
@tab-change="handleTopTabChange"
@back="handlePageBack"

View File

@@ -3,6 +3,7 @@
:active-tab="currentTab"
variant="overlay"
:show-top-tabs="false"
:audio-player-mode="currentTab === 'guide' ? 'floating' : 'mini'"
@tab-change="handleTabChange"
>
<GuideMapShell

View File

@@ -3,6 +3,7 @@
active-tab="guide"
variant="overlay"
:show-top-tabs="false"
audio-player-mode="floating"
show-back
:show-cancel="isManualLocationPanelOpen"
@tab-change="handleTopTabChange"

View File

@@ -17,12 +17,17 @@
autofocus
/>
</view>
<GlobalAudioPlayerHost
display-mode="floating"
:avoid-bottom-nav="false"
/>
</view>
</template>
<script setup lang="ts">
import { onMounted, onUnmounted, ref } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
import GlobalAudioPlayerHost from '@/components/audio/GlobalAudioPlayerHost.vue'
import PoiSearchPanel from '@/components/search/PoiSearchPanel.vue'
const initialKeyword = ref('')