guhongwei 4 vuotta sitten
vanhempi
commit
4d609d85cd
3 muutettua tiedostoa jossa 10 lisäystä ja 10 poistoa
  1. 9 9
      public/index.html
  2. BIN
      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>

BIN
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;