This commit is contained in:
蔡玲
2024-12-13 16:51:04 +08:00
parent a402de6dd6
commit e39e55c977
4 changed files with 30 additions and 31 deletions

View File

@@ -44,7 +44,7 @@
<jxTime></jxTime>
</div>
</div>
<div class="body-conatiner" :class="{'body-conatiner_1': $route.path !== '/index/home'}">
<div class="body-conatiner" :class="{'body-conatiner_1': $route.path !== '/index/home', 'body-conatiner_2': $route.path === '/index/teach'}">
<div class="hud_left"></div>
<div class="hud_right"></div>
<div class="bottom_bg"></div>
@@ -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 () {

View File

@@ -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