Browse Source

鼠标移入播放控制器也消失

黄琪勇 1 year ago
parent
commit
aa6f143626
1 changed files with 5 additions and 5 deletions
  1. 5 5
      src/views/coursewarePlay/videoPlay/videoPlay.vue

+ 5 - 5
src/views/coursewarePlay/videoPlay/videoPlay.vue

@@ -329,11 +329,11 @@ defineExpose({
       background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent);
       color: #fff;
       transition: all 0.5s;
-      &:hover {
-         cursor: initial;
-         opacity: initial !important;
-         transform: initial !important;
-      }
+      // &:hover {   //取消鼠标移入不隐藏
+      //    cursor: initial;
+      //    opacity: initial !important;
+      //    transform: initial !important;
+      // }
       .timeController {
          font-weight: 500;
          font-size: 20px;