소스 검색

富文本隐藏几个按钮

shaogen1995 11 달 전
부모
커밋
941e71c0ee
1개의 변경된 파일27개의 추가작업 그리고 19개의 파일을 삭제
  1. 27 19
      src/components/ZRichTexts/index.module.scss

+ 27 - 19
src/components/ZRichTexts/index.module.scss

@@ -2,7 +2,6 @@
   width: 1000px;
 
   :global {
-
     // 正文
     .formRightZW {
       width: 700px;
@@ -19,8 +18,8 @@
     }
 
     // 从查看进来
-    .formRightZWLook{
-      .ant-checkbox-wrapper{
+    .formRightZWLook {
+      .ant-checkbox-wrapper {
         pointer-events: none;
       }
     }
@@ -38,6 +37,21 @@
         display: none;
       }
 
+      button {
+        &:nth-of-type(7) {
+          display: none !important;
+        }
+        &:nth-of-type(8) {
+          display: none !important;
+        }
+        &:nth-of-type(18) {
+          display: none !important;
+        }
+        &:nth-of-type(19) {
+          display: none !important;
+        }
+      }
+
       .bf-container {
         height: 100%;
       }
@@ -47,8 +61,6 @@
         padding-bottom: 0px;
       }
 
-
-
       .bf-controlbar {
         position: relative;
 
@@ -64,7 +76,6 @@
         .upImgBoxNo {
           display: none;
         }
-
       }
 
       .zztxtRow {
@@ -95,7 +106,6 @@
               width: 580px;
               height: 32px;
             }
-
           }
         }
 
@@ -115,7 +125,7 @@
 
           .zztxtRow1_2IconNo {
             pointer-events: none;
-            opacity: .2;
+            opacity: 0.2;
           }
         }
       }
@@ -126,25 +136,24 @@
     }
 
     // 从查看进来
-    .txtBoxLook{
-      .button-remove{
+    .txtBoxLook {
+      .button-remove {
         display: none !important;
-        
       }
       .bf-controlbar {
         pointer-events: auto !important;
         display: flex;
         justify-content: flex-end;
-        button{
+        button {
           display: none;
-          &:last-child{
+          &:last-child {
             display: inline-block;
           }
         }
-        div{
+        div {
           display: none;
         }
-        .separator-line{
+        .separator-line {
           display: none;
         }
       }
@@ -154,7 +163,7 @@
       position: relative;
       overflow: hidden;
       opacity: 0;
-      transition: top .2s;
+      transition: top 0.2s;
       color: #ff4d4f;
       top: -20px;
     }
@@ -181,7 +190,6 @@
       }
     }
 
-    // .bf-video-wrap 
-
+    // .bf-video-wrap
   }
-}
+}