调整导览讲解为底部主导航
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
:target-focus-distance-factor="targetFocusDistanceFactor"
|
||||
:route-preview="routePreview"
|
||||
:show-route="showRoute"
|
||||
:disable-auto-exit="disableAutoExit"
|
||||
:auto-switch-threshold-low="autoSwitchThresholdLow"
|
||||
:auto-switch-threshold-high="autoSwitchThresholdHigh"
|
||||
@floor-change="handleThreeFloorChange"
|
||||
@@ -29,7 +30,7 @@
|
||||
<!-- #endif -->
|
||||
<!-- #ifndef H5 -->
|
||||
<view class="indoor-platform-fallback">
|
||||
<text class="indoor-platform-title">室内三维导览</text>
|
||||
<text class="indoor-platform-title">馆内三维导览</text>
|
||||
<text class="indoor-platform-desc">当前端暂不支持 WebGL 三维展示,请在 H5 端查看。</text>
|
||||
</view>
|
||||
<!-- #endif -->
|
||||
@@ -81,14 +82,14 @@
|
||||
:class="{ active: activeMode === '2d' }"
|
||||
@tap="handleModeChange('2d')"
|
||||
>
|
||||
<text class="mode-label">室外2D</text>
|
||||
<text class="mode-label">馆外2D</text>
|
||||
</view>
|
||||
<view
|
||||
class="mode-option"
|
||||
:class="{ active: activeMode === '3d' }"
|
||||
@tap="handleModeChange('3d')"
|
||||
>
|
||||
<text class="mode-label">室内3D</text>
|
||||
<text class="mode-label">馆内3D</text>
|
||||
</view>
|
||||
</template>
|
||||
<template v-else>
|
||||
@@ -98,14 +99,14 @@
|
||||
:class="{ active: activeMode === '2d' }"
|
||||
@tap="handleModeChange('2d')"
|
||||
>
|
||||
<text class="mode-label">室外2D</text>
|
||||
<text class="mode-label">馆外2D</text>
|
||||
</view>
|
||||
<view
|
||||
class="mode-option"
|
||||
:class="{ active: activeMode === '3d' }"
|
||||
@tap="handleModeChange('3d')"
|
||||
>
|
||||
<text class="mode-label">室内3D</text>
|
||||
<text class="mode-label">馆内3D</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="mode-status-chip" :class="`tone-${modeStatusTone}`">
|
||||
@@ -316,6 +317,7 @@ const props = withDefaults(defineProps<{
|
||||
targetFocusDistanceFactor?: number
|
||||
routePreview?: GuideRouteResult | null
|
||||
showRoute?: boolean
|
||||
disableAutoExit?: boolean
|
||||
autoSwitchThresholdLow?: number
|
||||
autoSwitchThresholdHigh?: number
|
||||
outdoorNavPolylines?: OutdoorNavPolyline[]
|
||||
@@ -363,6 +365,7 @@ const props = withDefaults(defineProps<{
|
||||
targetFocusDistanceFactor: 0.22,
|
||||
routePreview: null,
|
||||
showRoute: false,
|
||||
disableAutoExit: false,
|
||||
autoSwitchThresholdLow: 1.0,
|
||||
autoSwitchThresholdHigh: 1.3,
|
||||
outdoorNavPolylines: () => [] as OutdoorNavPolyline[]
|
||||
@@ -590,8 +593,7 @@ defineExpose({
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
background: #ffffff;
|
||||
color: #000000;
|
||||
|
||||
Reference in New Issue
Block a user