导航bug
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
<div class="hud_left"></div>
|
||||
<div class="hud_right"></div>
|
||||
<div class="bottom_bg"></div>
|
||||
<div v-show="$route.path !== '/index/home' && $route.path !== '/index/errorinfo' && $route.path !== '/index/teach'" class="side-bar-container">
|
||||
<div v-show="$route.path !== '/index/home' && $route.path !== '/index/errorinfo' && $route.path !== '/index/teach' && $route.path !== '/index/debug'" 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" :class="{'el-menu-item-long': menu.title.length === 5 }">{{selectType === 'en-us' ? menu.en_title : menu.zh_title}}</el-menu-item>
|
||||
</el-menu>
|
||||
@@ -167,7 +167,7 @@ export default {
|
||||
},
|
||||
created () {
|
||||
this._sysMenuBuild()
|
||||
// this._queryHead()
|
||||
this._queryHead()
|
||||
// this.timer = setInterval(() => {
|
||||
// this._queryHead()
|
||||
// }, this.itime)
|
||||
@@ -195,11 +195,12 @@ export default {
|
||||
handleSelect (key) {
|
||||
this.dropdown = false
|
||||
this.menus.map(el => {
|
||||
if (el.router === '' && el.index === key) {
|
||||
this.$router.push({ path: el.children[0].router })
|
||||
}
|
||||
if (key === '5' || key === '7') {
|
||||
this.$router.push({ path: el.router })
|
||||
if (el.index === key) {
|
||||
if (el.index === '5' || el.index === '7') {
|
||||
this.$router.push({ path: el.router })
|
||||
} else {
|
||||
this.$router.push({ path: el.children[0].router })
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@@ -98,6 +98,9 @@
|
||||
padding: 0 30px;
|
||||
background: transparent;
|
||||
overflow: hidden;
|
||||
}
|
||||
#topIframe {
|
||||
background-color: transparent;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript" src="jquery-2.1.0.min.js"></script>
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<link rel="stylesheet" href="css/bootstrap.min.css"/>
|
||||
|
||||
<script src="jquery-2.1.0.min.js"></script>
|
||||
<script src="jquery.cookie.js"></script>
|
||||
<script type="text/javascript" src="Lu_Math_Driver.js"></script>
|
||||
@@ -1281,23 +1279,34 @@
|
||||
<title>Title</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="top">
|
||||
<img id="ButtonImage_Vertical_FollowCar" src="Led_Display/Button_Vertical_Off.bmp"/>
|
||||
<input type=button class="btn" id="Button_CanvasInit" data-i18n-value="map.canvasInit" value="初始化" style="width:10%;height:50px;background:#FD4F00FF"></input>
|
||||
<input type=button class="btn" id="Button_FindCar" data-i18n-value="map.findCar" value="车辆位置" style="width:10%;height:50px;background:#FD4F00FF"></input>
|
||||
<input type=button class="btn" id="Button_ZoomIn" data-i18n-value="map.zoomIn" value="缩小" style="width:10%;height:50px;background:#FD4F00FF"></input>
|
||||
<input type=button class="btn" id="Button_ZoomOut" data-i18n-value="map.zoomOut" value="放大" style="width:10%;height:50px;background:#FD4F00FF"></input>
|
||||
</div>
|
||||
<div id="output"></div>
|
||||
<canvas id="myCanvas" style="border:5px solid rgb(153, 153, 153);background:white;width:1550px;height:730px;" width="1550px" height="730px"></canvas>
|
||||
<div class="title_wrap"><h2>地图</h2></div>
|
||||
<div class="page_container">
|
||||
<div class="top">
|
||||
<img id="ButtonImage_Vertical_FollowCar" src="Led_Display/Button_Vertical_Off.bmp"/>
|
||||
<input type=button class="btn" id="Button_CanvasInit" data-i18n-value="map.canvasInit" value="初始化" style="width:10%;height:50px;background:#FD4F00FF"></input>
|
||||
<input type=button class="btn" id="Button_FindCar" data-i18n-value="map.findCar" value="车辆位置" style="width:10%;height:50px;background:#FD4F00FF"></input>
|
||||
<input type=button class="btn" id="Button_ZoomIn" data-i18n-value="map.zoomIn" value="缩小" style="width:10%;height:50px;background:#FD4F00FF"></input>
|
||||
<input type=button class="btn" id="Button_ZoomOut" data-i18n-value="map.zoomOut" value="放大" style="width:10%;height:50px;background:#FD4F00FF"></input>
|
||||
</div>
|
||||
<div id="output"></div>
|
||||
<canvas id="myCanvas" style="background:white;" width="1503px" height="616px"></canvas>
|
||||
</div>
|
||||
</body>
|
||||
<script type="text/javascript" src="js/i18n/TimeI18n.js"></script>
|
||||
<script type="text/javascript">
|
||||
loadText();
|
||||
</script>
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: "YouSheBiaoTiHei";
|
||||
src: url('font/YouSheBiaoTiHei.ttf') format('truetype');
|
||||
}
|
||||
body {
|
||||
height: 100vh;
|
||||
background-color: transparent;
|
||||
}
|
||||
.top{
|
||||
margin-bottom: 10px;
|
||||
margin: 0 55px 31px 55px;
|
||||
}
|
||||
.top img{
|
||||
vertical-align: middle;
|
||||
@@ -1308,5 +1317,25 @@
|
||||
margin: 0px 5px;
|
||||
color: white;
|
||||
}
|
||||
.title_wrap{
|
||||
width: 100%;
|
||||
height: 102px;
|
||||
padding: 52px 39px 0 39px;
|
||||
background: center / 100% 100% url(./images/bg-task-r1.png) no-repeat;
|
||||
}
|
||||
.title_wrap h2 {
|
||||
font-size: 36px;
|
||||
line-height: 36px;
|
||||
color: #F6F9FE;
|
||||
font-family: 'YouSheBiaoTiHei';
|
||||
background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(49,190,255,0.9) 0%, rgba(239,252,254,1) 40%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
.page_container {
|
||||
height: calc(100% - 102px);
|
||||
background: center / 100% 100% url(./images/bg-task-r2.png) no-repeat;
|
||||
padding: 31px 31px 31px 45px;
|
||||
}
|
||||
</style>
|
||||
</html>
|
||||
BIN
static/Magic4/images/bg-task-r1.png
Normal file
BIN
static/Magic4/images/bg-task-r1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
BIN
static/Magic4/images/bg-task-r2.png
Normal file
BIN
static/Magic4/images/bg-task-r2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 204 KiB |
Reference in New Issue
Block a user