diff --git a/src/jmapNew/config/skinCode/chengdu_03.js b/src/jmapNew/config/skinCode/chengdu_03.js index 97d86d895..301fbb1e0 100644 --- a/src/jmapNew/config/skinCode/chengdu_03.js +++ b/src/jmapNew/config/skinCode/chengdu_03.js @@ -346,14 +346,15 @@ class SkinCode extends defaultStyle { this[deviceType.StationTurnBack] = { // 站后折返 lamp: { - fill: '#f1f1f1', // 填充色 - radiusR: 7 // 控制灯大小 + fill: '#ccc', // 填充色 + radiusR: 6, + otherFill: '#0F0' // 控制灯大小 }, text: { titleTextShow: false, fontWeight: 580, fontSize: 10, - distance: 10 + distance: 5 }, rect: { fill: 'rgba(0,0,0,0)', diff --git a/src/jmapNew/shape/graph/StationTurnBack/index.js b/src/jmapNew/shape/graph/StationTurnBack/index.js index 7c3fd90ca..10d053a5b 100644 --- a/src/jmapNew/shape/graph/StationTurnBack/index.js +++ b/src/jmapNew/shape/graph/StationTurnBack/index.js @@ -166,6 +166,11 @@ export default class StationTurnBack extends Group { this.control && this.control.highlightType3(this.style.ReturnModeGroup.highlightColor); } } + if (this.style.StationTurnBack.lamp.otherFill) { + if (name == '自动折返' || name == '固定折返轨1' || name == '固定折返轨1') { + this.control && this.control.setStyle({fill: this.style.StationTurnBack.lamp.otherFill}); + } + } } setAshShow() {