From d906fac8abf514a140046bd260744b0605ef4e04 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期二, 28 十二月 2021 13:39:30 +0800
Subject: [PATCH] #
---
views/index.html | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/views/index.html b/views/index.html
index afad293..46a03a1 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>
@@ -101,7 +102,6 @@
document.getElementById("btn-lock").addEventListener('click', function () {
player.lockControl();
removeClass(document.getElementById("ship-info-btn"), "show");
- removeClass(document.getElementById("title-box"), "show");
document.getElementById("ship-type-ul").style.transform = 'translateY(-60px)';
}, false);
@@ -140,16 +140,21 @@
}, 1);
$(document).on('click','.btn-word', function () {
- fullScreen()
+ // fullScreen()
$("#mask").fadeOut(3000, 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");
- }, 3000); // 1000
+ setTimeout(function () {
+ removeClass(document.getElementById("title-box"), "show");
+ }, 10000);
+ }, 1000); // 1000
});
$("#title-box, #logo").addClass("show");
$("#ship-info-btn").removeClass("show");
--
Gitblit v1.9.1