From 3b3f9d86e4878f676f3237ac6dd46fbfbbe77fd5 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期三, 06 四月 2022 13:16:18 +0800
Subject: [PATCH] #
---
views/index.html | 28 ++++++++++++++++++++++------
1 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/views/index.html b/views/index.html
index e82b28a..5620836 100644
--- a/views/index.html
+++ b/views/index.html
@@ -19,10 +19,11 @@
<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>
@@ -234,8 +235,8 @@
var speedDom = document.getElementById("speed");
var timer = setInterval(function () {
if (percent < 100.00) {
- percent += 0.04;
- // percent += 1;
+ // percent += 0.04;
+ percent += 1;
speedDom.innerText = percent.toFixed(2);
} else {
speedDom.innerText = '100.00';
@@ -248,8 +249,7 @@
$(document).on('click','.btn-word', function () {
fullScreen();
- $("#mask").fadeOut(3000, function () { // 3000
- $('#sidebar-btn').show();
+ $("#mask").fadeOut(1, function () { // 3000
$("#menu").addClass("show");
setTimeout(function () {
$("#ship-type-ul").css("transform", "translateY(-40px)");
@@ -257,12 +257,13 @@
$("#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");
}, 5000);
- }, 1000); // 1000
+ }, 1); // 1000
});
$("#title-box, #logo").addClass("show");
$("#ship-info-btn").removeClass("show");
@@ -270,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>
--
Gitblit v1.9.1