固定三维地图平移交互模式
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-07 03:52:54 +08:00
parent 6bdc2535f2
commit 347efd3007
3 changed files with 10 additions and 6 deletions

View File

@@ -591,10 +591,10 @@ const indoorLayerMode = computed<LayerDisplayMode>(() => (
indoorView.value === 'multi' ? 'multi' : 'single'
))
const showIndoorGestureHint = ref(true)
const indoorGestureHintText = ref('单指旋转 · 双指缩放/平移 · 点选标记查看位置')
const indoorGestureHintText = ref('单指平移 · 双指缩放/平移 · 点选标记查看位置')
let indoorGestureHintTimer: ReturnType<typeof setTimeout> | null = null
const showIndoorHint = (text = '单指旋转 · 双指缩放/平移 · 点选标记查看位置', durationMs = 5200) => {
const showIndoorHint = (text = '单指平移 · 双指缩放/平移 · 点选标记查看位置', durationMs = 5200) => {
indoorGestureHintText.value = text
showIndoorGestureHint.value = is3DMode.value
@@ -923,7 +923,7 @@ const handleFloorChange = (floorId: string) => {
indoorView.value = 'floor'
selectedGuidePoi.value = null
isPoiCardCollapsed.value = false
showIndoorHint(`已切换到 ${getGuideFloorLabel(floorId)},单指旋转、双指可平移`, 3200)
showIndoorHint(`已切换到 ${getGuideFloorLabel(floorId)},单指平移、双指可缩放`, 3200)
console.log('楼层渲染完成:', floorId)
}