From 1cd7ec38a7c023bfd36871b0e18759d8127e9dad Mon Sep 17 00:00:00 2001 From: lty <876263681@qq.com> Date: 星期五, 04 七月 2025 16:57:03 +0800 Subject: [PATCH] #初始化一楼地图 --- src/main/webapp/static/js/console.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/static/js/console.js b/src/main/webapp/static/js/console.js index e4b968c..fad0039 100644 --- a/src/main/webapp/static/js/console.js +++ b/src/main/webapp/static/js/console.js @@ -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