chenlei пре 8 месеци
родитељ
комит
27ebce5047

+ 1 - 0
scene/src/views/gui/components/guide.vue

@@ -125,6 +125,7 @@ export default {
           },
         },
       });
+      this.swiper.slideTo(this.guidePlayIndex)
     },
     goScene(item) {
       // let { panoId, quaternion } = heroLocation;

+ 1 - 0
scene/src/views/gui/components/layerMap.vue

@@ -107,6 +107,7 @@ export default {
     ...mapMutations(["setData"]),
     goPano(id) {
       player.blackToPano({ pano: player.model.panos.get(id) });
+      this.$emit('close')
       // this.panoId = id;
       // if (!this.points[id].over) {
       //   this.points[id].over = true;

+ 3 - 0
scene/src/views/gui/menu.vue

@@ -544,6 +544,9 @@ export default {
           let n = player.director.describe();
           this.setData({ guideIsPlay: n.tourIsPlaying });
 
+          if (n.tourIsPlaying) {
+            this.hanlderButtons(this.leftButtons[5],'immersive')
+          }
           if (null !== n.currentItem) {
             //n.currentItem是二维数组,代表导览中的两层,导览图片展示的是外层的,也就是数据第一个元素。
             //if (this.guideIsPlay) { //导览片段的选中与当前点位所属片段对应。