From 08bcfd496ab141e1d2048a1f38f7b6c1eda125d3 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期二, 28 十二月 2021 13:32:16 +0800
Subject: [PATCH] #

---
 views/index.html |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/views/index.html b/views/index.html
index ebc3b86..d4dba0d 100644
--- a/views/index.html
+++ b/views/index.html
@@ -14,6 +14,7 @@
     <script type="text/javascript" src="../static/js/utils.js"></script>
     <script type="text/javascript" src="../static/js/common.js"></script>
     <script type="text/javascript" src="../static/js/data/BuildingData.js"></script>
+    <script type="text/javascript" src="../static/js/data/ConveyData.js"></script>
     <script type="text/javascript" src="../static/js/object/Cube.js"></script>
     <script type="text/javascript" src="../static/js/object/StoreArea.js"></script>
     <script type="text/javascript" src="../static/js/object/Store.js"></script>
@@ -126,8 +127,8 @@
     var speedDom = document.getElementById("speed");
     var timer = setInterval(function () {
         if (percent < 100.00) {
-            percent += 0.02;
-            // percent += 1;
+            // percent += 0.02;
+            percent += 1;
             speedDom.innerText = percent.toFixed(2);
         } else {
             speedDom.innerText = '100.00';
@@ -139,19 +140,21 @@
     }, 1);
 
     $(document).on('click','.btn-word', function () {
-        fullScreen()
-        $("#mask").fadeOut(3000, function () {  // 3000
+        // fullScreen()
+        $("#mask").fadeOut(1, function () {  // 3000
             $("#menu").addClass("show");
             setTimeout(function () {
                 $("#ship-type-ul").css("transform", "translateY(-40px)");
-                $("#ship-info-btn .btn-word").text("浣撻獙璋冨害涓栫晫");
-                $("#ship-info-btn").data("type", 2).addClass("show");
-                $("#ship-info-btn #btn-lock").css("z-index", "10");
+                if (window.screen.width > 600) {
+                    $("#ship-info-btn .btn-word").text("浣撻獙璋冨害涓栫晫");
+                    $("#ship-info-btn").data("type", 2).addClass("show");
+                    $("#ship-info-btn #btn-lock").css("z-index", "10");
+                }
                 $("#menu li").css("transition", "all 200ms !important");
                 setTimeout(function () {
                     removeClass(document.getElementById("title-box"), "show");
                 }, 10000);
-            }, 1000);   // 1000
+            }, 1);   // 1000
         });
         $("#title-box, #logo").addClass("show");
         $("#ship-info-btn").removeClass("show");

--
Gitblit v1.9.1