diff --git a/src/views/iscs/iscsSystem/stationNav.vue b/src/views/iscs/iscsSystem/stationNav.vue
index 237add721..3f7d08188 100644
--- a/src/views/iscs/iscsSystem/stationNav.vue
+++ b/src/views/iscs/iscsSystem/stationNav.vue
@@ -8,7 +8,7 @@
{{ item.name }}
@@ -16,13 +16,27 @@
@@ -65,7 +79,7 @@ export default {
name:'StationNav',
data() {
return {
- selectStation: 'controlCenter',
+ selectStation: 'mainHouseOne',
stationList:[],
group:'',
lineCode:'',
@@ -256,6 +270,9 @@ export default {
}
}
});
+ if (this.$route.query.stationId) {
+ this.selectStation = this.$route.query.stationId;
+ }
},
async subscribe() {
this.clearSubscribe();
@@ -281,8 +298,8 @@ export default {
button.active = false;
this.selectChildren(child.id, false);
},
- changeStation(item, index) {
- this.selectStation = item.id;
+ changeStation(item) {
+ this.selectStation = item;
this.selectChildren(this.$route.params.mode, false);
},
selectChildren(type, isReplace = false) { // 选择菜单
@@ -355,7 +372,7 @@ export default {
top: -10%;
border-radius: 130%;
}
-.station-list-box.active{
+.station-list-box.active,.station-list-button.active{
background:#cdcd37;
}
.station-name{
@@ -517,4 +534,78 @@ background:rgba(231,237,253,0.9);
width: 17vw;
height: 100%;
}
+.rightButtonGroupL{
+ width: 10vw;
+ height: 100%;
+ display: inline-block;
+ float: left;
+ position: relative;
+ border-left: 1px #000 solid;
+ border-right: 1px #000 solid;
+}
+.rightButtonGroupR{
+ width: 7vw;
+ height: 100%;
+ display: inline-block;
+ position: relative;
+}
+.controlCenter,.stationDepot,.parkingLot{
+ display: inline-block;
+ position: relative;
+ width: 31%;
+ height: 100%;
+ vertical-align: top;
+ float: left;
+}
+.controlCenterName{
+ font-size: 12px;
+ position: absolute;
+ top: 5px;
+ left: 0.3vw;
+}
+.stationDepotName{
+ font-size: 12px;
+ position: absolute;
+ top: 45px;
+ left: 38%;
+}
+.parkingLotName{
+ font-size: 12px;
+ position: absolute;
+ top: 5px;
+ right: 11%;
+}
+.station-list-button{
+ width: 1vw;
+ height: 1vw;
+ border-radius: 1vw;
+ background: #ccc;
+ position: absolute;
+ border-left: 1px #fdfdfd solid;
+ border-right: 1px #262626 solid;
+ left: 50%;
+ top: 21px;
+ transform: translateX(-47%);
+ cursor: pointer;
+}
+.mainHouseOne,.mainHouseTwo{
+ display: inline-block;
+ position: relative;
+ width: 49%;
+ height: 100%;
+ vertical-align: top;
+ float: left;
+}
+.mainHouseOneName{
+ font-size: 12px;
+ position: absolute;
+ top: 5px;
+ left: 0.3vw;
+}
+.mainHouseTwoName{
+ font-size: 12px;
+ position: absolute;
+ top: 45px;
+ right: 8%;
+}