西安二号线屏蔽门绘图调整
This commit is contained in:
parent
126d9f2309
commit
467e8671fd
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user