@@ -227,9 +227,11 @@
|
||||
</GuideMapShell>
|
||||
|
||||
<ArrivalPanel
|
||||
ref="arrivalPanelRef"
|
||||
v-if="currentTab === 'guide'"
|
||||
:visible="showArrivalPanel"
|
||||
@close="closeArrivalPanel"
|
||||
:default-collapsed="true"
|
||||
@collapsed-change="handleArrivalPanelCollapsedChange"
|
||||
/>
|
||||
|
||||
<view v-else-if="currentTab === 'explain'" class="explain-page">
|
||||
@@ -539,6 +541,8 @@ const handleLaunchContinue = () => {
|
||||
}
|
||||
|
||||
const showArrivalPanel = ref(false)
|
||||
const showArrivalPanelCollapsed = ref(false)
|
||||
const arrivalPanelRef = ref<InstanceType<typeof ArrivalPanel> | null>(null)
|
||||
|
||||
const indoorNavAssetBaseUrl = guideUseCase.getAssetBaseUrl()
|
||||
const indoorModelSource = guideUseCase.getModelSource()
|
||||
@@ -607,7 +611,7 @@ const showGuideHomeDock = computed(() => (
|
||||
const showGuideFloatingActions = computed(() => (
|
||||
currentTab.value === 'guide'
|
||||
&& !showRoutePlanner.value
|
||||
&& !showArrivalPanel.value
|
||||
&& (!showArrivalPanel.value || showArrivalPanelCollapsed.value)
|
||||
&& !selectedGuidePoi.value
|
||||
&& !isSimulatingRoute.value
|
||||
&& (!showGuideHomeDock.value || !homeSearchExpanded.value)
|
||||
@@ -1273,6 +1277,11 @@ const handleMoreRouteGuide = () => {
|
||||
|
||||
const closeArrivalPanel = () => {
|
||||
showArrivalPanel.value = false
|
||||
showArrivalPanelCollapsed.value = false
|
||||
}
|
||||
|
||||
const handleArrivalPanelCollapsedChange = (collapsed: boolean) => {
|
||||
showArrivalPanelCollapsed.value = collapsed
|
||||
}
|
||||
|
||||
const closeHomeSearchDock = () => {
|
||||
@@ -1281,7 +1290,14 @@ const closeHomeSearchDock = () => {
|
||||
}
|
||||
|
||||
const handleMoreOutdoorNav = () => {
|
||||
if (showArrivalPanel.value && showArrivalPanelCollapsed.value) {
|
||||
arrivalPanelRef.value?.expandPanel()
|
||||
showArrivalPanelCollapsed.value = false
|
||||
return
|
||||
}
|
||||
|
||||
showArrivalPanel.value = true
|
||||
showArrivalPanelCollapsed.value = true
|
||||
showRoutePlanner.value = false
|
||||
is3DMode.value = false
|
||||
guideOutdoorState.value = 'home'
|
||||
|
||||
Reference in New Issue
Block a user