From 81e0736124e8ece41e8f2d8a7dff57c6b6e9288f Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期五, 18 三月 2022 13:09:40 +0800
Subject: [PATCH] #

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

diff --git a/views/index.html b/views/index.html
index 2eef0de..f0f7009 100644
--- a/views/index.html
+++ b/views/index.html
@@ -234,8 +234,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,7 +248,7 @@
 
     $(document).on('click','.btn-word', function () {
         fullScreen();
-        $("#mask").fadeOut(3000, function () {  // 3000
+        $("#mask").fadeOut(1, function () {  // 3000
             $("#menu").addClass("show");
             setTimeout(function () {
                 $("#ship-type-ul").css("transform", "translateY(-40px)");
@@ -262,7 +262,7 @@
                 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 +270,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