@@ -171,13 +171,6 @@ export default {
// this.timer = setInterval(() => {
// this._queryHead()
// }, this.itime)
- if (this.menus.length) {
- this.menus.map(el => {
- if (el.router === this.$route.path) {
- this.childmenus = el.children
- }
- })
- }
if (this.$i18n.locale === 'zh-cn') {
this.selectType = 'zh-cn'
} else if (this.$i18n.locale === 'en-us') {
@@ -269,11 +262,6 @@ export default {
async _sysMenuBuild () {
let res = await sysMenuBuild()
this.menus = [...res]
- res.map(el => {
- if (el.router === this.$route.path) {
- this.childmenus = el.children
- }
- })
this.$store.dispatch('getMenus', [...res])
},
async _authLogout () {
diff --git a/src/style/common.styl b/src/style/common.styl
index ffb4fe1..8b0e9c2 100644
--- a/src/style/common.styl
+++ b/src/style/common.styl
@@ -54,11 +54,12 @@
position relative
_fj()
_wh(100%, 100%)
- padding-top 124px
- padding-bottom 54px
+ padding 107px 0 54px 0
background center / 100% 100% url(../images/new/bg.png) no-repeat
.body-conatiner_1
background center / 100% 100% url(../images/new/bg_1.png) no-repeat
+.body-conatiner_2
+ padding 0
.side-bar-container
_wh(228px, 100%)
padding-top 101px
@@ -69,7 +70,7 @@
_wh(2.72rem, 100%)
.right_side
_wh(100%, 100%)
- padding 0 30px 0 30px
+ padding 0 26.5px
.content_wrap
_wh(100%, 100%)
.title_wrap
diff --git a/static/Magic4/HMI_JavaApp_Map.html b/static/Magic4/HMI_JavaApp_Map.html
index e348b4f..f066d88 100644
--- a/static/Magic4/HMI_JavaApp_Map.html
+++ b/static/Magic4/HMI_JavaApp_Map.html
@@ -25,7 +25,7 @@
height: 100%;
}
.sidebar .nav:not(.sub-menu) {
- margin-top: 101px;
+ margin-top: 211px;
}
.sidebar .nav .nav-item {
height: 120px;
@@ -91,11 +91,11 @@
}
.main-panel {
width: calc(100% - 228px);
- padding-right: 53px;
+ padding: 107px 53px 54px 0;
}
.content-wrapper {
height: 100%;
- padding: 0 30px;
+ padding: 0 26.5px;
background: transparent;
overflow: hidden;
}
diff --git a/static/Magic4/HMI_Map2.html b/static/Magic4/HMI_Map2.html
index 3799a1c..e6ca5af 100644
--- a/static/Magic4/HMI_Map2.html
+++ b/static/Magic4/HMI_Map2.html
@@ -1282,14 +1282,14 @@
地图