guhongwei 4 年之前
父節點
當前提交
4d609d85cd
共有 3 個文件被更改,包括 10 次插入10 次删除
  1. 9 9
      public/index.html
  2. 二進制
      src/assets/技术成果1.png
  3. 1 1
      src/views/market/index.vue

+ 9 - 9
public/index.html

@@ -15,15 +15,15 @@
     <!-- built files will be auto injected -->
       <script language=javascript>
           // 禁止右键菜单
-            // document.oncontextmenu = function () { return false; };
-            // // 禁止文字选择
-            // document.onselectstart = function () { return false; };
-            // // 禁止复制
-            // document.oncopy = function () { return false; };
-            // // 禁止剪切
-            // document.oncut = function () { return false; };
-            // // 禁止粘贴
-            // document.onpaste = function () { return false; };
+            document.oncontextmenu = function () { return false; };
+            // 禁止文字选择
+            document.onselectstart = function () { return false; };
+            // 禁止复制
+            document.oncopy = function () { return false; };
+            // 禁止剪切
+            document.oncut = function () { return false; };
+            // 禁止粘贴
+            document.onpaste = function () { return false; };
       </script>
   </body>
 </html>

二進制
src/assets/技术成果1.png


+ 1 - 1
src/views/market/index.vue

@@ -997,7 +997,7 @@ export default {
             font-size: 12px;
             overflow: hidden;
             text-overflow: ellipsis;
-            -webkit-line-clamp: 6;
+            -webkit-line-clamp: 7;
             word-break: break-all;
             display: -webkit-box;
             -webkit-box-orient: vertical;