西安二号线屏蔽门绘图调整

This commit is contained in:
joylink_cuiweidong 2020-04-17 13:30:18 +08:00
parent 126d9f2309
commit 467e8671fd
2 changed files with 6 additions and 7 deletions

View File

@ -56,12 +56,12 @@ class ESafeDoor extends Group {
z: model.z,
shape: {
x1:model.x - model.width / 2,
y1:model.y + (1 + offesetY ) / 2 * (2 + (model.height - 2) / 2),
y1:model.y + (1 + offesetY ) / 2 * (2 + (model.height)),
x2:model.x + model.width / 2,
y2:model.y + (1 + offesetY ) / 2 * (2 + (model.height - 2) / 2)
y2:model.y + (1 + offesetY ) / 2 * (2 + (model.height))
},
style: {
lineWidth: (model.height - 2) / 2,
lineWidth: (model.height),
lineDash:[(model.width) * 0.6 / 4, (model.width) * 0.4 / 3],
lineDashOffset:0,
stroke: style.StationStand.safetyDoor.defaultColor
@ -72,12 +72,12 @@ class ESafeDoor extends Group {
z: model.z,
shape: {
x1:model.x - model.width / 2,
y1:model.y + (1 - offesetY) / 2 * ((model.height - 2) / 2 + 2),
y1:model.y + (1 - offesetY) / 2 * ((model.height) + 2),
x2:model.x + model.width / 2,
y2:model.y + (1 - offesetY) / 2 * ((model.height - 2) / 2 + 2)
y2:model.y + (1 - offesetY) / 2 * ((model.height) + 2)
},
style: {
lineWidth: (model.height - 2) / 2,
lineWidth: (model.height),
lineDash:[(model.width) * 0.45 / 3, (model.width) * 0.55 / 4],
lineDashOffset:(model.width) * 0.45 / 3,
stroke: style.StationStand.safetyDoor.defaultColor

View File

@ -191,7 +191,6 @@ export default {
getConcertrateStation() {
//
const beConcentrateStation = {};
this.zcList = this.$store.getters['map/zcList'];
this.zcList.forEach(data=>{
data.concentrateStationList.forEach(concentrate=>{
beConcentrateStation[concentrate] = data.code;