浏览代码

研报禁止复制文本

jwyu 2 年之前
父节点
当前提交
6c6e17a38c
共有 3 个文件被更改,包括 27 次插入1 次删除
  1. 9 0
      src/views/hzyb/Index.vue
  2. 9 1
      src/views/hzyb/activity/reportDetail.vue
  3. 9 0
      src/views/hzyb/activity/reportWeekDetail.vue

+ 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;
 }