소스 검색

静态知识禁止复制

zhouna 5 년 전
부모
커밋
9512b49009
2개의 변경된 파일12개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 0
      src/components/PushItems/DetailsModal/index.less
  2. 6 1
      src/components/PushItems/TipsMsg/index.less

+ 6 - 0
src/components/PushItems/DetailsModal/index.less

@@ -23,6 +23,12 @@
     overflow: hidden;
     z-index: 10;
     word-break: break-all;
+    -webkit-touch-callout: none;
+    -webkit-user-select: none;
+    -khtml-user-select: none;
+    -moz-user-select: none;
+    -ms-user-select: none;
+    user-select: none;
 }
 
 .details-content-name {

+ 6 - 1
src/components/PushItems/TipsMsg/index.less

@@ -2,7 +2,12 @@
 @import "~@less/base.less";
 
 .tips{
-  
+  -webkit-touch-callout: none;
+  -webkit-user-select: none;
+  -khtml-user-select: none;
+  -moz-user-select: none;
+  -ms-user-select: none;
+  user-select: none;
    ul, ol {
      padding: 0 0 0 15px;
    }