shaogen1995 %!s(int64=3) %!d(string=hai) anos
pai
achega
4ee4db7efc
Modificáronse 2 ficheiros con 48552 adicións e 48528 borrados
  1. 48545 48527
      SuperTwo762/js/main_2020_show.js
  2. 7 1
      hotspot/src/views/Home.vue

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 48545 - 48527
SuperTwo762/js/main_2020_show.js


+ 7 - 1
hotspot/src/views/Home.vue

@@ -106,6 +106,8 @@ export default {
   name: "Home",
   data() {
     return {
+      //右侧按钮节流
+      myTimer:null,
       myFim:[],
       videoLength:true,
       loadAuto: false,
@@ -241,7 +243,11 @@ export default {
       return 'http://192.168.0.44:8110'+item;
     },
     slideto(action) {
-      this.swiper[action]();
+        if(this.myTimer!==null) return
+        this.myTimer=setTimeout(() => {
+          this.swiper[action]();
+          this.myTimer=null
+        }, 500);
 
       
       //点击的时候才加载,防止一次运行过多iframe标签导致页面崩溃