From f621e221e6ec7dd2c9a84ca9bea97bc973e349f6 Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期四, 17 七月 2025 16:26:42 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/console.html |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 4358a9f..5ec188b 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -595,7 +595,7 @@
                         // crns[i].bay = 15;
 
                         var offSet = 0;
-                        unit = 15;
+                        unit = 13;
                         offSet = 140;
 
 
@@ -664,25 +664,25 @@
         // console.log(crn1Position)
         switch (id) {
             case 1:
-                $("#crn-1").animate({left: leftVal + 'px'}, 1000);
+                $("#crn-1").animate({left: leftVal - 'px'}, 1000);
                 crn1Position = leftVal;
                 break;
             case 2:
-                $("#crn-2").animate({left: leftVal + 'px'}, 1000);
+                $("#crn-2").animate({left: leftVal - 'px'}, 1000);
                 crn2Position = leftVal;
                 break;
             case 3:
-                $("#crn-3").animate({left: leftVal + 'px'}, 1000);
+                $("#crn-3").animate({left: leftVal - 'px'}, 1000);
                 crn3Position = leftVal;
                 break;
             case 4:
-                $("#crn-4").animate({left: leftVal + 'px'}, 1000);
+                $("#crn-4").animate({left: leftVal - 'px'}, 1000);
                 crn4Position = leftVal;
                 break;
-            case 5:
-                $("#crn-5").animate({left: leftVal + 'px'}, 1000);
-                crn5Position = leftVal;
-                break;
+            // case 5:
+            //     $("#crn-5").animate({left: leftVal + 'px'}, 1000);
+            //     crn5Position = leftVal;
+            //     break;
             default:
                 break
         }

--
Gitblit v1.9.1