xzw преди 3 години
родител
ревизия
34a85be69d
променени са 1 файла, в които са добавени 8 реда и са изтрити 3 реда
  1. 8 3
      public/static/js/main_2020_show.js

+ 8 - 3
public/static/js/main_2020_show.js

@@ -5733,9 +5733,10 @@ window.Modernizr = function (n, e, t) {
                 }
                 ,
                 n.prototype.goToHighlight = function (e) {
-                    if (this.wouldInterrupt())
+                    if (this.wouldInterrupt()){
                         this.itemCompare(this.destinationItem, e, 'equal') ? this.interrupt() : this.redirectToItem(e, "goToHighlight");
-                    else {
+                         
+                    }else {
                         if (A.debug("<tour.goto " + e + ">"),
                             this.isInterrupted())
                             return;
@@ -5745,8 +5746,12 @@ window.Modernizr = function (n, e, t) {
                         this.goToDestination(true),//add true
                             h.trackAlways("reach_highlight", {
                                 reach_source: "thumb"
-                            })
+                            }) 
                     }
+                    
+                    setTimeout(()=>{
+                        this.playTour() 
+                    },2000)//自动开始
                 }
                 ,
                 n.prototype.prevHighlight = function () {