调整车站颜色,功能栏宽度判断
This commit is contained in:
parent
ac43981c7d
commit
6ca803d06d
@ -358,9 +358,9 @@ export default class Station extends Group {
|
||||
this.centerControl && this.centerControl.setColor(this.style.Station.StationControl.lamp.greenColor);
|
||||
this.centerControl && this.centerControl.setTextColor(this.style.Station.StationControl.lamp.greenColor); // 文字颜色
|
||||
if (this.style.Station.StationControl.disPlayNone) {
|
||||
this.stationText && this.stationText.setStyle('textFill', 'green');
|
||||
this.stationText && this.stationText.setStyle('textFill', '#1fdc1f');
|
||||
if (this.model.subheadDisplay) { // 副标题
|
||||
this.subheadText && this.subheadText.setStyle('textFill', 'green');
|
||||
this.subheadText && this.subheadText.setStyle('textFill', '#1fdc1f');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -220,7 +220,8 @@ export default {
|
||||
this.setMode();
|
||||
},
|
||||
'$store.state.app.windowSizeCount': function() {
|
||||
this.setWindowSize();
|
||||
this.setWindowSize();
|
||||
this.setPosition();
|
||||
},
|
||||
$route() {
|
||||
this.initLoadData();
|
||||
@ -506,8 +507,8 @@ export default {
|
||||
if (menuTool) {
|
||||
this.offset = (menuTool.offsetHeight || 0) + 15;
|
||||
}
|
||||
const buttonWidth = this.width - 1200;
|
||||
if (menuBottom && buttonWidth < 550) {
|
||||
const buttonWidth = this.width - 1200; // B box widht
|
||||
if (menuBottom && buttonWidth < 780) {
|
||||
this.offsetBottom = (menuBottom.offsetHeight || 0) + 15;
|
||||
}
|
||||
if (menuButtonsBox) {
|
||||
|
@ -210,7 +210,8 @@ export default {
|
||||
});
|
||||
},
|
||||
'$store.state.app.windowSizeCount': function() { // 窗口变化
|
||||
this.setWindowSize();
|
||||
this.setWindowSize();
|
||||
this.setPosition();
|
||||
},
|
||||
$route() {
|
||||
this.initLoadData();
|
||||
@ -262,7 +263,7 @@ export default {
|
||||
this.offset = (menuTool.offsetHeight || 0) + 15;
|
||||
}
|
||||
const buttonWidth = this.width - 1200;
|
||||
if (menuBottom && buttonWidth < 550) {
|
||||
if (menuBottom && buttonWidth < 780) {
|
||||
this.offsetBottom = (menuBottom.offsetHeight || 0) + 15;
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user