#
luxiaotao1123
2022-04-06 3b3f9d86e4878f676f3237ac6dd46fbfbbe77fd5
views/index.html
@@ -19,16 +19,17 @@
    <script type="text/javascript" src="../static/js/object/StoreArea.js"></script>
    <script type="text/javascript" src="../static/js/object/Store.js"></script>
    <script type="text/javascript" src="../static/js/object/StoreGroup.js"></script>
    <script type="text/javascript" src="../static/js/object/StoreGoods.js"></script>
    <script type="text/javascript" src="../static/js/object/Route.js"></script>
    <script type="text/javascript" src="../static/js/object/CrnTask.js"></script>
    <script type="text/javascript" src="../static/js/object/StaTask.js"></script>
    <script type="text/javascript" src="../static/js/object/Floor.js"></script>
    <script type="text/javascript" src="../static/js/object/ObjectSelect.js"></script>
</head>
<body>
<!-- 控制面板 -->
<div id="sidebar">
    <button id="sidebar-btn" onclick="sidebar()">隐藏</button>
    <button id="sidebar-btn" onclick="sidebar()">展示</button>
    <div class="sidebar-contain" >
        <div class="sidebar-header">
            <div class="t">中扬立库</div>
@@ -234,7 +235,7 @@
    var speedDom = document.getElementById("speed");
    var timer = setInterval(function () {
        if (percent < 100.00) {
            // percent += 0.02;
            // percent += 0.04;
            percent += 1;
            speedDom.innerText = percent.toFixed(2);
        } else {
@@ -247,7 +248,7 @@
    }, 1);
    $(document).on('click','.btn-word', function () {
        fullScreen()
        fullScreen();
        $("#mask").fadeOut(1, function () {  // 3000
            $("#menu").addClass("show");
            setTimeout(function () {
@@ -256,11 +257,12 @@
                    $("#ship-info-btn .btn-word").text("体验调度世界");
                    $("#ship-info-btn").data("type", 2).addClass("show");
                    $("#ship-info-btn #btn-lock").css("z-index", "10");
                    $('#sidebar-btn').show();
                }
                $("#menu li").css("transition", "all 200ms !important");
                setTimeout(function () {
                    removeClass(document.getElementById("title-box"), "show");
                }, 10000);
                }, 5000);
            }, 1);   // 1000
        });
        $("#title-box, #logo").addClass("show");
@@ -269,5 +271,20 @@
        $("#ship-type-ul").css("transform", "translateY(-20px)");
    });
    // 开始模拟
    $(document).on('click','.task-confirm', function () {
        $.ajax({
            // url: 'http://47.97.1.152:58080/jkwcs/three/start',
            url: 'http://localhost:9090/jkwcs/three/start',
            type: "GET",
            data: {},
            success: function (res) {
                if (res.code !== 200) {
                    alert(res.msg);
                }
            }
        })
    })
</script>
</html>