From f7bcd87b19bf265d0fa157f110632d6b661ec22d Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期一, 25 九月 2023 15:25:03 +0800
Subject: [PATCH] #
---
src/main/webapp/views/console-old.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/views/console-old.html b/src/main/webapp/views/console-old.html
index e6f6ac4..4ec664f 100644
--- a/src/main/webapp/views/console-old.html
+++ b/src/main/webapp/views/console-old.html
@@ -1016,7 +1016,7 @@
} else {
siteEl.html(sites[i].siteId);
}
- if (i + 1 === 8) {
+ if (sites[i].siteId<100) {
carAnimate(i + 1, Number(sites[i].nearbySta));
}
}
@@ -1199,7 +1199,7 @@
// 灏忚溅鍋忕Щ鍔ㄧ敾
function carAnimate(id, target) {
var targetTop = 122;
- if (id === 8) {
+ if (id < 100) {
switch (target) {
case 1:
targetTop += 160;
--
Gitblit v1.9.1