소스 검색

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

黄琪勇 1 년 전
부모
커밋
aa6f143626
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  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;