leo.xie 3 年 前
コミット
864bfee47c
共有1 個のファイルを変更した9 個の追加1 個の削除を含む
  1. 9 1
      src/views/multiPage/index.vue

+ 9 - 1
src/views/multiPage/index.vue

@@ -268,5 +268,13 @@ export default {
   background: #17a8ff;
   color: #fff;
 }
-* { pointer-events: none!important; }
+* {
+  -webkit-touch-callout:none;/*系统默认菜单被禁用*/
+  -webkit-user-select:none;/*webkit浏览器*/
+  -khtml-user-select:none;/*早起浏览器*/
+  -moz-user-select:none;/*火狐浏览器*/
+  -ms-user-select:none;/*IE浏览器*/
+  user-select:none;/*用户是否能够选中文本*/
+  pointer-events: none!important;
+}
 </style>