From 623cbd2143520f8edc53e08710822f6415927c7c Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 22 Dec 2020 18:42:27 +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=20=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/shape/Train/index.js | 4 ++-- src/jmapNew/theme/fuzhou_01/planConvert.js | 2 +- src/views/newMap/displayNew/practiceDisplay.vue | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/jmapNew/shape/Train/index.js b/src/jmapNew/shape/Train/index.js index 8d88abf12..5d611ef31 100644 --- a/src/jmapNew/shape/Train/index.js +++ b/src/jmapNew/shape/Train/index.js @@ -384,11 +384,11 @@ export default class Train extends Group { if (num) { // && num > 0 const passagerNum = parseInt(num); - if (passagerNum < 100) { + if (passagerNum < 400) { this.trainB && this.trainB.setTrainColor('#29a909'); this.trainL && this.trainL.setColor('#29a909'); this.trainR && this.trainR.setColor('#29a909'); - } else if (passagerNum < 400 && passagerNum >= 100) { + } else if (passagerNum < 1000 && passagerNum >= 400) { this.trainB && this.trainB.setTrainColor('#ffa500'); this.trainL && this.trainL.setColor('#ffa500'); this.trainR && this.trainR.setColor('#ffa500'); diff --git a/src/jmapNew/theme/fuzhou_01/planConvert.js b/src/jmapNew/theme/fuzhou_01/planConvert.js index 52d32ed76..54a820896 100644 --- a/src/jmapNew/theme/fuzhou_01/planConvert.js +++ b/src/jmapNew/theme/fuzhou_01/planConvert.js @@ -5,7 +5,7 @@ export default { EdgeHeight: 180, /** 间隔高度*/ - CoordMultiple: 900, + CoordMultiple: 2000, /** 偏移时间*/ TranslationTime: 60 * 60 * 2, diff --git a/src/views/newMap/displayNew/practiceDisplay.vue b/src/views/newMap/displayNew/practiceDisplay.vue index 3d0d3f023..17900eaa3 100644 --- a/src/views/newMap/displayNew/practiceDisplay.vue +++ b/src/views/newMap/displayNew/practiceDisplay.vue @@ -41,15 +41,15 @@
列车 颜色图例
- 0 ~ 100 + 0 ~ 400
- 100 ~ 400 + 400 ~ 1000
- 400及以上 + 1000及以上