Explorar o código

弹幕倍速弹窗收起

jwyu %!s(int64=2) %!d(string=hai) anos
pai
achega
a08b2ea67d
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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(){