diff --git a/src/jmapNew/config/skinCode/chengdu_01.js b/src/jmapNew/config/skinCode/chengdu_01.js index f6d7a6d0b..0c7368295 100644 --- a/src/jmapNew/config/skinCode/chengdu_01.js +++ b/src/jmapNew/config/skinCode/chengdu_01.js @@ -234,6 +234,7 @@ class SkinCode extends defaultStyle { // 站台紧急关闭 emergentRhombus:{ z:1, + flicker: true, // 闪烁 mergentR: 4, // 站台紧急关闭半径 mergentN: 4, // 站台紧急关闭边数 insideOffset: { x: 0, y: 25 }, // 内站台紧急关闭偏移量 diff --git a/src/jmapNew/config/skinCode/chengdu_03.js b/src/jmapNew/config/skinCode/chengdu_03.js index 620d40196..5cc88ccfd 100644 --- a/src/jmapNew/config/skinCode/chengdu_03.js +++ b/src/jmapNew/config/skinCode/chengdu_03.js @@ -264,8 +264,8 @@ class SkinCode extends defaultStyle { flicker: true, // 闪烁 mergentR: 5, // 站台紧急关闭半径 mergentN: 4, // 站台紧急关闭边数 - insideOffset: { x: 0, y: 30 }, // 内站台紧急关闭偏移量 - outsideOffset: { x: 0, y: -30}, // 外站台紧急关闭偏移量 + insideOffset: { x: 0, y: -30 }, // 内站台紧急关闭偏移量 + outsideOffset: { x: 0, y: 30}, // 外站台紧急关闭偏移量 closeColor: '#F61107' // 站台紧急关闭颜色 }, // 扣车元素 普通扣车 diff --git a/src/jmapNew/shape/StationStand/emergent/EEmergentRhombus.js b/src/jmapNew/shape/StationStand/emergent/EEmergentRhombus.js index d3934e729..536dd3d4e 100644 --- a/src/jmapNew/shape/StationStand/emergent/EEmergentRhombus.js +++ b/src/jmapNew/shape/StationStand/emergent/EEmergentRhombus.js @@ -57,10 +57,9 @@ class EEmergentRhombus extends Group { this.create(); this.emergent.show(); if (this.model.style.StationStand.emergentRhombus.flicker) { - this.emergent.getElement().animateStyle(true) - .when(0, { fill: this.style.backgroundColor }) - .when(1000, { fill: this.style.StationStand.emergentRhombus.closeColor }) - .when(2000, { fill: this.style.backgroundColor }) + this.emergent.animateStyle(true) + .when(0, { fill: this.model.style.backgroundColor }) + .when(1000, { fill: this.model.style.StationStand.emergentRhombus.closeColor }) .start(); } }