shaogen1995 2 vuotta sitten
vanhempi
commit
d3a62c5663

+ 11 - 0
scene/public/index.html

@@ -35,6 +35,17 @@
         }
     </script>
 
+    <script>
+        var _hmt = _hmt || [];
+        (function () {
+            var hm = document.createElement("script");
+            hm.src = "https://hm.baidu.com/hm.js?47372ca9bafbafe62cbd0d6f388a2b1e";
+            var s = document.getElementsByTagName("script")[0];
+            s.parentNode.insertBefore(hm, s);
+        })();
+    </script>
+
+
 
 </head>
 

+ 1 - 1
scene/public/static/js/Hot.js

@@ -1406,7 +1406,7 @@ window.initHot = function (model) {
                         if (e.info.texSrc == this.info.texSrc && e.info.texType == type) {
                             e.material_.color.set("#FFFFFF")
                             e.material_.opacity = 1;
-                            console.log('overlay loaded: ' + e.sid + " - " + this.info.texSrc.split('/').pop());
+                            // console.log('overlay loaded: ' + e.sid + " - " + this.info.texSrc.split('/').pop());
 
 
 

BIN
scene/src/assets/img/mobileBg.jpg


+ 9 - 0
scene/src/components/welcome/index.vue

@@ -1,6 +1,8 @@
 <template>
   <div class="welcome">
+    <div class="mobileBg" v-if="isMobile"></div>
     <iframe
+      v-else
       src="https://zzbbh.4dage.com/SWKK/show.html?id=WK1676144701759062016&vr=fd720_7kWYgznaO"
       frameborder="0"
     ></iframe>
@@ -63,6 +65,13 @@ export default {
     }
   }
 
+  .mobileBg {
+    width: 100%;
+    height: 100%;
+    background-image: url('../../assets/img/mobileBg.jpg');
+    background-size: 100% 100%;
+  }
+
   // 移动端
   @media screen and (max-width: 1000px) {
     .btn {