This commit is contained in:
2023-10-19 14:48:46 +08:00
parent f379d3eace
commit 840748aafe
6 changed files with 14 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

BIN
src/images/new/bg_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

View File

@@ -1,5 +1,5 @@
<template>
<div class="main-container box1">
<div class="main-container main-container_l">
<div class="con1">
<div class="tip">障碍物告警</div>
</div>
@@ -107,6 +107,9 @@ export default {
<style lang="stylus" scoped>
@import '~@style/mixin'
.main-container_l
width 100%
padding-left 53px
.bgred
background #fa6400
.bggreen
@@ -115,8 +118,6 @@ export default {
color #fa6400
.cgreen
color #54C0B3
.box1
background center / 100% 100% url(../../../images/new/bg-home.png) no-repeat
.con0
height 1rem
margin-top .26rem

View File

@@ -75,6 +75,8 @@ export default {
}
},
created () {
// document.getElementById('body-conatiner').style.backgroundImage = '../../../images/new/bg.png'
document.getElementById('body-conatiner').style.marginTop = '10px'
this.initData()
},
methods: {

View File

@@ -1,5 +1,5 @@
<template>
<div class="body-conatiner">
<div class="main-container main-container_l">
<div class="iframe_wrap">
<iframe class="iframe" src="./static/Magic4/HMI_JavaApp_FullScreen.html" frameborder="0" vspace="70"></iframe>
</div>
@@ -8,14 +8,16 @@
<style lang="stylus" scoped>
@import '~@style/mixin'
.main-container_l
width 100%
padding-left 53px
.iframe_wrap
position relative
_wh(100%, 100%)
overflow hidden
.iframe
position absolute
top -160px
top -70px
left 0
_wh(100%, 100%)
>>>.body-conatiner
padding-top 0
</style>

View File

@@ -33,10 +33,10 @@
<jxTime></jxTime>
</div>
</div>
<div class="body-conatiner">
<div class="body-conatiner" id="body-conatiner">
<div class="hud_left"></div>
<div class="hud_right"></div>
<div v-show="$route.path !== '/index/teach'" class="side-bar-container">
<div v-show="$route.path !== '/index/teach' && $route.path !== '/index/home'" class="side-bar-container">
<el-menu :default-active="$route.meta.guidePath" @select="handleSelectChild">
<el-menu-item :index="menu.index" v-for="menu in childmenus" :key="menu.index">{{menu.label}}</el-menu-item>
</el-menu>