#
luxiaotao1123
2021-12-25 ce9da384d05f0b6b50aeeb5c3a00e53694695976
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>
@@ -80,6 +81,9 @@
    <li id="menu-t">
        <div><div>俯</div></div>
    </li>
    <li id="menu-b">
        <div><div>返</div></div>
    </li>
</ul>
@@ -98,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);
@@ -113,6 +116,10 @@
    document.getElementById("menu-t").addEventListener('click', function () {
        player.verticalView();
    }, false);
    document.getElementById("menu-b").addEventListener('click', function () {
        player.backlView();
    }, false);
</script>
<script>
    var percent = 0;
@@ -120,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';
@@ -133,8 +140,8 @@
    }, 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)");
@@ -142,7 +149,10 @@
                $("#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);
            }, 1);   // 1000
        });
        $("#title-box, #logo").addClass("show");
        $("#ship-info-btn").removeClass("show");