|
@@ -760,21 +760,7 @@ export default {
|
|
|
if (window.hotData) {
|
|
|
clearInterval(timeA);
|
|
|
}
|
|
|
-
|
|
|
- setTimeout(() => {
|
|
|
- this.isFingerpost = true;
|
|
|
- }, 400);
|
|
|
- // 是否需要初始化相机视角位置
|
|
|
- if (this.$route.query) {
|
|
|
- const locId = {
|
|
|
- id: this.$route.query.id,
|
|
|
- x: Number(this.$route.query.x),
|
|
|
- y: Number(this.$route.query.y),
|
|
|
- z: Number(this.$route.query.z),
|
|
|
- w: Number(this.$route.query.w),
|
|
|
- };
|
|
|
- this.initCamera(locId);
|
|
|
- }
|
|
|
+ this.isFingerpost = true;
|
|
|
console.log(
|
|
|
"是否显示",
|
|
|
window.hotData,
|
|
@@ -789,6 +775,22 @@ export default {
|
|
|
this.showHotList = false;
|
|
|
// this.showHotList = true
|
|
|
}
|
|
|
+
|
|
|
+ // setTimeout(() => {
|
|
|
+
|
|
|
+ // }, 400);
|
|
|
+
|
|
|
+ // 是否需要初始化相机视角位置
|
|
|
+ if (this.$route.query) {
|
|
|
+ const locId = {
|
|
|
+ id: this.$route.query.id,
|
|
|
+ x: Number(this.$route.query.x),
|
|
|
+ y: Number(this.$route.query.y),
|
|
|
+ z: Number(this.$route.query.z),
|
|
|
+ w: Number(this.$route.query.w),
|
|
|
+ };
|
|
|
+ this.initCamera(locId);
|
|
|
+ }
|
|
|
}, 500);
|
|
|
}
|
|
|
},
|
|
@@ -802,12 +804,14 @@ export default {
|
|
|
});
|
|
|
|
|
|
const c =
|
|
|
- current.closestPanoTowardTag(window.player.mode, window.player.currentPano) ||
|
|
|
- window.player.currentPano;
|
|
|
-
|
|
|
+ current.closestPanoTowardTag(
|
|
|
+ window.player.mode,
|
|
|
+ window.player.currentPano
|
|
|
+ ) || window.player.currentPano;
|
|
|
+
|
|
|
setTimeout(() => {
|
|
|
// current && current.goQua(window.player, true);
|
|
|
- console.log(c)
|
|
|
+ console.log(c);
|
|
|
window.player.flyToPano({
|
|
|
// 移动到点位
|
|
|
pano: c,
|