liyongli 1 rok pred
rodič
commit
25437b70cb
1 zmenil súbory, kde vykonal 5 pridanie a 1 odobranie
  1. 5 1
      src/view/schedule/index.vue

+ 5 - 1
src/view/schedule/index.vue

@@ -1,5 +1,5 @@
 <template>
-  <div class="schedule">
+  <div class="schedule" @touchmove="touchmove">
     <!-- 播放键 -->
     <svg
       class="imgbtn rotating"
@@ -128,6 +128,10 @@ const touchend = e => {
     }, 1200);
   });
 };
+
+const touchmove = e=> {
+    e.prevent.default();
+}
 </script>
 <style lang="scss">
 // 动画库