소스 검색

修改编辑按钮交互

wangfumin 4 주 전
부모
커밋
8be7499df4
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      src/view/case/newCaseFile.vue

+ 6 - 0
src/view/case/newCaseFile.vue

@@ -754,6 +754,7 @@ onUnmounted(() => {
     line-height: 1.4;
   }
   .edit-title{
+    display: none;
     position: absolute;
     right: 0;
   }
@@ -769,6 +770,11 @@ onUnmounted(() => {
     }
   }
 }
+.file-title:hover{
+  .edit-title{
+    display: inline-block;
+  }
+}
 
 .file-time {
   font-size: 12px;