Browse Source

研报禁止复制文本

jwyu 2 years ago
parent
commit
6c6e17a38c

+ 9 - 0
src/views/hzyb/Index.vue

@@ -216,4 +216,13 @@ const handleCloseAudioPup=()=>{
         }
     }
 }
+*{
+    user-select: none;
+    -moz-user-select:-moz-none;
+    moz-user-select: none;
+    -o-user-select:none;
+    -webkit-user-select: none;
+    -ms-user-select: none;
+    -khtml-user-select:none;
+}
 </style>

+ 9 - 1
src/views/hzyb/activity/reportDetail.vue

@@ -223,7 +223,15 @@ const goDetail=(e)=>{
 
 
 <style lang="scss" scoped>
-
+*{
+    user-select: none;
+    -moz-user-select:-moz-none;
+    moz-user-select: none;
+    -o-user-select:none;
+    -webkit-user-select: none;
+    -ms-user-select: none;
+    -khtml-user-select:none;
+}
 .flex{
     display: flex;
 }

+ 9 - 0
src/views/hzyb/activity/reportWeekDetail.vue

@@ -226,6 +226,15 @@ onBeforeRouteUpdate(to => {
 </style>
 
 <style lang="scss" scoped>
+*{
+    user-select: none;
+    -moz-user-select:-moz-none;
+    moz-user-select: none;
+    -o-user-select:none;
+    -webkit-user-select: none;
+    -ms-user-select: none;
+    -khtml-user-select:none;
+}
 .flex {
     display: flex;
 }