shaogen1995 8 tháng trước cách đây
mục cha
commit
8b8109743d

+ 1 - 0
scene/src/App.vue

@@ -10,6 +10,7 @@
 
     <!-- 开场视频播放 -->
     <div
+      v-if="!isMobile"
       class="baseVideo"
       :style="`opacity:${videoShow ? '1' : '0'};pointerEvents:${
         videoShow ? 'auto' : 'none'

BIN
scene/src/assets/img/base.mp4


+ 13 - 0
web/public/index.html

@@ -39,4 +39,17 @@
       To create a production bundle, use `npm run build` or `yarn build`.
     -->
   </body>
+
+  <script type="text/javascript">
+    document.oncontextmenu = function () {
+      return false
+    }
+    document.onkeydown = function () {
+      if (window.event && window.event.keyCode === 123) {
+        event.keyCode = 0
+        event.returnValue = false
+        return false
+      }
+    }
+  </script>
 </html>

+ 0 - 2
web/src/assets/styles/base.css

@@ -53,8 +53,6 @@ textarea {
 #root {
   width: 100vw;
   height: 100vh;
-  min-width: 1600px;
-  min-height: 900px;
   overflow: auto;
   overflow-y: overlay;
   /* antd图片预览组件 */

+ 2 - 2
web/src/assets/styles/base.less

@@ -66,8 +66,8 @@ textarea {
 #root {
   width: 100vw;
   height: 100vh;
-  min-width: 1600px;
-  min-height: 900px;
+  // min-width: 1600px;
+  // min-height: 900px;
   overflow: auto;
   overflow-y: overlay;
 

+ 1 - 1
web/src/pages/A3goods/index.module.scss

@@ -18,7 +18,7 @@
         display: flex;
         height: 100%;
         align-items: center;
-        max-width: 1000px;
+        max-width: 800px;
         width: auto;
         .appSw {
           min-width: 60px;

+ 4 - 4
web/src/pages/A4expert/index.module.scss

@@ -124,7 +124,7 @@
               font-weight: 700;
               font-size: 20px;
               background-size: 100% 100%;
-              padding: 0 52px;
+              padding: 0 40px;
               background-image: url('../../assets/img/expert/mjfc.png');
               & > div {
                 width: 100%;
@@ -151,7 +151,7 @@
             .A4mRowShow {
               position: relative;
               z-index: 2;
-              padding: 40px;
+              padding: 12%;
               text-align: center;
               background-color: #faf3e6;
               width: 100%;
@@ -160,12 +160,12 @@
               pointer-events: auto;
               transition: opacity 0.5s;
               .adm-image {
-                height: 270px !important;
+                height: 67% !important;
                 img {
                   pointer-events: none;
                   width: 100%;
                   height: 100%;
-                  object-fit: cover !important;
+                  object-fit: contain !important;
                   display: inline-block;
                 }
               }

+ 1 - 1
web/src/utils/http.ts

@@ -4,7 +4,7 @@ import { Toast } from 'antd-mobile'
 import { domShowFu } from './domShow'
 import { isMobileFu } from './history'
 
-const envFlag = process.env.NODE_ENV === 'development'
+export const envFlag = process.env.NODE_ENV === 'development'
 
 const baseUrlTemp = 'https://sit-zhongliuyiyuan.4dage.com' // 测试环境
 // const baseUrlTemp = 'http://192.168.20.13:8079' // 线下环境