Browse Source

Merge branch 'master' of http://192.168.0.115:3000/chenzhiguang/macao_army

xzw 3 years ago
parent
commit
889ecca0ca

BIN
SuperTwo762/images/Volume btn_off.png


BIN
SuperTwo762/images/Volume btn_on.png


BIN
SuperTwo791/images/Volume btn_off.png


BIN
SuperTwo791/images/Volume btn_on.png


+ 28 - 0
ZAJSG/Model.html

@@ -24,7 +24,32 @@
             bottom: 20px;
             pointer-events: none;
             opacity: 0.9;
+            width: 90%;
+            text-align: center;
         }
+        .mobileimg{
+            position: fixed;
+            left: 50%;
+            transform: translateX(-50%);
+            color: #fff;
+            z-index: 999999;
+            color: #010101;
+            bottom: 20px;
+            pointer-events: none;
+            opacity: 0.9;
+            display: none;
+            width: 100%;
+            text-align: center;
+        }
+        @media screen and (max-width: 600px) {
+            .img{
+               display: none;
+            }
+            .mobileimg{
+                display: block;
+            }
+        }
+
     </style>
 </head>
 
@@ -32,6 +57,9 @@
     <div class="img">
         按住鼠标轮轴或ctrl+鼠标左键可进行移动文物查看
     </div>
+    <div class="mobileimg">
+        单指可转动场景角度<br/>双指可上下拖动或放大缩小文物
+    </div>
     <div id="ui">
         <!-- <div id="introductionWrap" class="animated">
             <span id="name"></span>

+ 1 - 1
code/src/pages/layout/aside.vue

@@ -158,7 +158,7 @@ export default {
       }
       if (item.type === 'switch') {
         this.isOutScene = !this.isOutScene
-        if (!this.isOutScene) {
+        if (!this.isOutScene&&!this.$isMobile) {
           setTimeout(() => {
             this.isShow = !this.isShow 
           });

+ 1 - 0
code/vue.config.js

@@ -3,6 +3,7 @@ const path = require('path');
 
 module.exports = {
   publicPath: "./",
+  productionSourceMap: false,
   css: {
     loaderOptions: {
       less: {