From f2b2132ded0de6e3e8e2ff65bfbd98d46caa148e Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期四, 13 十一月 2025 13:46:37 +0800
Subject: [PATCH] #1

---
 src/main/webapp/static/js/console.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/webapp/static/js/console.js b/src/main/webapp/static/js/console.js
index 7523ae8..65cf70f 100644
--- a/src/main/webapp/static/js/console.js
+++ b/src/main/webapp/static/js/console.js
@@ -32,7 +32,7 @@
         let bLen
         let interval // 闂撮殧鏁�
 
-        if (maxBayNo<35) {
+        if (maxBayNo<40) {
             interval = 1
             bLen = maxBayNo / interval // 搴撲綅涓暟
         } else {
@@ -66,7 +66,7 @@
         }
         bayWidth = rackss[i].width / bLen
         // hpPosition 0 琛ㄧず璐ф灦搴忓彿 宸�->鍙� 1 琛ㄧず璐ф灦搴忓彿 宸�<-鍙�
-        if (mapInfo.hpPosition == 1) {
+        if (mapInfo.hpPosition == 0) {
             bNum = maxBayNo
             for (let j = bLen; j > 0; j--) {
                 bay = "<button class='item' style='width: "+ bayWidth +"px'>" + bNum + "</button>"
@@ -129,7 +129,7 @@
         let floor = areas[i].text
         let barcodes = areas[i].barcode
         floorId = areas[i].id
-        var position = (i+1)*100
+        var position = (i+1)*50 + 400
         floorBtn =
             "<button class='floorBtn btn-16' onclick='changFloor("+i+")' style='top: "+position+"px;'>" + floor +"</button>"
         if (mapInfo.areas[0].floors.length == 1) {

--
Gitblit v1.9.1