浏览代码

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

黄琪勇 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;