guhongwei 4 anos atrás
pai
commit
0e770a39b9
2 arquivos alterados com 11 adições e 12 exclusões
  1. 11 11
      public/index.html
  2. 0 1
      src/views/technical/detail/roadetail.vue

+ 11 - 11
public/index.html

@@ -5,8 +5,8 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
     <link rel="icon" href="<%= BASE_URL %>favicon.ico">
-    <link rel="stylesheet" href="/platlive/static/home/css/swiper-bundle.min.css">
-    <script src="/platlive/static/js/swiper-bundle.min.js"></script>
+    <link rel="stylesheet" href="/static/home/css/swiper-bundle.min.css">
+    <script src="/static/js/swiper-bundle.min.js"></script>
     <title><%= htmlWebpackPlugin.options.title %></title>
   </head>
   <body>
@@ -17,15 +17,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>

+ 0 - 1
src/views/technical/detail/roadetail.vue

@@ -82,7 +82,6 @@ export default {
   .detailVideo video {
     height: 400px;
     width: 50%;
-    border: 1px dashed #ccc;
   }
 
   .detailimg {