Browse Source

弹幕倍速弹窗收起

jwyu 2 years ago
parent
commit
a08b2ea67d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      components/videoBox/videoBox.vue

+ 4 - 0
components/videoBox/videoBox.vue

@@ -14,6 +14,7 @@
             @timeupdate="handleTimeUpdate"
             @fullscreenchange="handleFullscreenchange"
             @controlstoggle="handleControlstoggle"
+            @click.stop="handleClickVideo"
             v-if="videoInfo.id==curVideoId"
         >
 
@@ -175,6 +176,9 @@ export default {
         handleClickWrap(){
             this.showSpeedOpt=false
         },
+        handleClickVideo(){
+            this.showSpeedOpt=false
+        },
 
         // 点击播放
         handelClickPlay(){