From 215b98eb8cc24bee55737bb0b07c6428e1bac18a Mon Sep 17 00:00:00 2001
From: dubin <dubin>
Date: 星期三, 20 八月 2025 13:47:08 +0800
Subject: [PATCH] 联调

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

diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 4358a9f..45f8220 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -47,11 +47,11 @@
                 <span>鍫嗗灈鏈� 1</span>
                 <span class="state-ss machine-put-flag	">鍏ュ簱</span>
             </div>
-            <div class="state">
-                <span>鍫嗗灈鏈� 2</span>
-                <span class="state-ss machine-auto-flag	">鑷姩</span>
+<!--            <div class="state">-->
+<!--                <span>鍫嗗灈鏈� 2</span>-->
+<!--                <span class="state-ss machine-auto-flag	">鑷姩</span>-->
 
-            </div>
+<!--            </div>-->
             <div class="button"><span>鎵�鏈夌姸鎬�</span></div>
             <div class="button item-group">
                 <span class="machine-put-flag">鍏ュ簱</span>
@@ -595,12 +595,12 @@
                         // crns[i].bay = 15;
 
                         var offSet = 0;
-                        unit = 15;
-                        offSet = 140;
+                        unit = 9;
+                        offSet = 1250;
 
 
                         if(crns[i].bay === 1){
-                            crnEl.animate({left: offSet + 'px'}, 1000);
+                            crnEl.animate({left: offSet - 'px'}, 1000);
                         } else {
                             crnEl.animate({left: (offSet - unit + (crns[i].bay * unit)) + 'px'}, 1000);
                         }
@@ -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