From d5fcc4bd36619658f4d8d4906473ddb347c1c5df Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 22 Dec 2020 18:26:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=97=E4=BA=A4=E5=A4=A7=20=E5=AE=A2?= =?UTF-8?q?=E6=B5=81=E6=95=B0=E6=8D=AE=20=E4=BB=A3=E7=A0=81=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/shape/StationStand/safeStand/ESolidStand.js | 4 ++-- src/jmapNew/shape/Train/index.js | 2 +- src/views/newMap/displayNew/practiceDisplay.vue | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/jmapNew/shape/StationStand/safeStand/ESolidStand.js b/src/jmapNew/shape/StationStand/safeStand/ESolidStand.js index a01e571cd..3c9b45fdf 100644 --- a/src/jmapNew/shape/StationStand/safeStand/ESolidStand.js +++ b/src/jmapNew/shape/StationStand/safeStand/ESolidStand.js @@ -93,9 +93,9 @@ class ESolidStand extends Group { handlePassagerColor(num) { if (num && num > 0) { const passagerNum = parseInt(num); - if (passagerNum < 40) { + if (passagerNum < 400) { this.setColor('#29a909'); - } else if (passagerNum < 80 && passagerNum >= 40) { + } else if (passagerNum < 800 && passagerNum >= 400) { this.setColor('#ffa500'); } else { this.setColor('#F00'); diff --git a/src/jmapNew/shape/Train/index.js b/src/jmapNew/shape/Train/index.js index 38a0e9103..8d88abf12 100644 --- a/src/jmapNew/shape/Train/index.js +++ b/src/jmapNew/shape/Train/index.js @@ -388,7 +388,7 @@ export default class Train extends Group { this.trainB && this.trainB.setTrainColor('#29a909'); this.trainL && this.trainL.setColor('#29a909'); this.trainR && this.trainR.setColor('#29a909'); - } else if (passagerNum < 200 && passagerNum >= 100) { + } else if (passagerNum < 400 && passagerNum >= 100) { this.trainB && this.trainB.setTrainColor('#ffa500'); this.trainL && this.trainL.setColor('#ffa500'); this.trainR && this.trainR.setColor('#ffa500'); diff --git a/src/views/newMap/displayNew/practiceDisplay.vue b/src/views/newMap/displayNew/practiceDisplay.vue index 634577149..3d0d3f023 100644 --- a/src/views/newMap/displayNew/practiceDisplay.vue +++ b/src/views/newMap/displayNew/practiceDisplay.vue @@ -49,7 +49,7 @@