Sfoglia il codice sorgente

feat: 漫游根据当前段开始

chenlei 1 anno fa
parent
commit
4f6da97ad7

+ 6 - 6
public/js/main_2020_show.js

@@ -5730,11 +5730,11 @@ window.Modernizr = (function (n, e, t) {
                     this.emit('update.controls'),
                     this.emit(p.TourStart),
                     this.player.enablePreRendering(),
-                    /* this.walkingSectionPaused ? (this.clearWalkingSectionPaused(),
-                    this.goToDestination()) : this.goNext())) */
+                    this.walkingSectionPaused ? (this.clearWalkingSectionPaused(),
+                    this.goToDestination()) : this.goNext())
 
-                    this.setDestinationItem(this.findNearestItem()),
-                    this.goToDestination())
+                    // this.setDestinationItem(this.findNearestItem()),
+                    // this.goToDestination())
                   );
             }
           }),
@@ -5903,9 +5903,9 @@ window.Modernizr = (function (n, e, t) {
 
               // // zeg改
               if (null === this.currentItem || void 0 === this.currentItem) {
-                // this.setDestinationItem(this.firstDestination())
+                this.setDestinationItem(this.firstDestination())
                 // this.setDestinationItem([currentPanoDestinations[0], 0])
-                this.setDestinationItem([this.currentItem[0], 0]);
+                // this.setDestinationItem([this.currentItem[0], 0]);
               }
               // else if(this.currentItem[1] == null) {
               //     this.setDestinationItem([this.currentItem[0], 0])

+ 1 - 1
src/views/home/components/guide/index.scss

@@ -27,7 +27,7 @@
   transition-property: height, bottom;
 
   &.open {
-    height: 130px;
+    height: 170px;
 
     &.noScroll {
       height: 170px;

+ 6 - 4
src/views/home/components/menu/index.scss

@@ -16,8 +16,9 @@
   line-height: 1;
   transition: all 0.5s;
 
-  &.open {
-    bottom: 140px;
+  &.open.left,
+  &.open.right {
+    bottom: 180px;
 
     &.noScroll {
       bottom: 180px;
@@ -27,7 +28,7 @@
       }
     }
     &.playing {
-      bottom: 150px;
+      bottom: 200px;
     }
   }
   &.left {
@@ -153,7 +154,8 @@
   .pinBottom.left {
     left: 11px;
   }
-  .pinBottom.open.noScroll {
+  .pinBottom.open.noScroll.left,
+  .pinBottom.open.noScroll.right {
     bottom: 130px;
 
     &.playing {