修复导览与讲解位置预览逻辑

This commit is contained in:
lyf
2026-06-30 11:00:49 +08:00
parent f2a33888b1
commit 1c2cc788d1
29 changed files with 1111 additions and 756 deletions

View File

@@ -38,10 +38,10 @@
<!-- 功能按钮 -->
<cover-view class="action-buttons">
<!-- 进入 3D 内模式按钮 -->
<!-- 进入 3D 内模式按钮 -->
<cover-view class="action-btn indoor-mode-btn" @tap="handleEnter3D">
<cover-view class="btn-text">🏛</cover-view>
<cover-view class="btn-sub-text"></cover-view>
<cover-view class="btn-sub-text"></cover-view>
</cover-view>
<cover-view class="action-btn" @tap="handleLocation">
<cover-view class="btn-text">📍</cover-view>
@@ -129,7 +129,7 @@ const emit = defineEmits<{
// POI ID: 7043042949572197975
const mapCenter = ref<MapCenter>({
latitude: 22.692763, // 深圳自然博物馆纬度
longitude: 114.363572 // 深圳自然博物馆经度(调整到外 2D 视觉中心)
longitude: 114.363572 // 深圳自然博物馆经度(调整到外 2D 视觉中心)
})
// 地图缩放级别(调整为适中比例,既能看到建筑全貌又能看清细节)
@@ -378,9 +378,9 @@ const handleZoomOut = () => {
}
}
// 进入 3D 内模式
// 进入 3D 内模式
const handleEnter3D = () => {
console.log('进入 3D 内模式')
console.log('进入 3D 内模式')
emit('enter3DMode')
}
@@ -490,7 +490,7 @@ onMounted(async () => {
color: #333333;
}
// 内模式按钮
// 内模式按钮
.indoor-mode-btn {
width: 46px;
height: 64px !important;