From b41c19acf43394849510a12f05b6a326a430961f Mon Sep 17 00:00:00 2001 From: LSH Date: 星期一, 26 六月 2023 09:47:08 +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