From bfc97f036688f34e7c1451d68e3f6fc242f99929 Mon Sep 17 00:00:00 2001
From: whycq <913841844@qq.com>
Date: 星期五, 12 五月 2023 16:07:46 +0800
Subject: [PATCH] #
---
src/main/webapp/views/console.html | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index d69319f..8d69b6c 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -344,7 +344,6 @@
url: baseUrl + '/console/barcode/output/site',
method: 'GET',
success: function (res) {
- console.log(res)
if (res.code === 200) {
tData = eval(res.data);
if (tData.length <= 5) {
@@ -604,15 +603,16 @@
// crns[i].bay = 15;
var offSet = 0;
- unit = 60;
- offSet = 350;
+ unit = -28.5;
+ offSet = 1710; //145
- if(crns[i].bay === 1){
- crnEl.animate({left: offSet + 'px'}, 1000);
- } else {
- crnEl.animate({left: (offSet - unit + (crns[i].bay * unit)) + 'px'}, 1000);
- }
+ crnEl.animate({left: offSet + 'px'}, 1000);
+ // if(crns[i].bay === 1){
+ // crnEl.animate({left: offSet + 'px'}, 1000);
+ // } else {
+ // crnEl.animate({left: (offSet - unit + (crns[i].bay * unit)) + 'px'}, 1000);
+ // }
}
} else if (res.code === 403) {
--
Gitblit v1.9.1