首页
This commit is contained in:
@@ -16,7 +16,8 @@ module.exports = {
|
|||||||
status: 'Task Status',
|
status: 'Task Status',
|
||||||
tasknum: 'Number Of Tasks',
|
tasknum: 'Number Of Tasks',
|
||||||
speed: 'Current Speed',
|
speed: 'Current Speed',
|
||||||
error: 'AGV Fault'
|
error: 'AGV Fault',
|
||||||
|
index: 'Index'
|
||||||
},
|
},
|
||||||
carrypoint: {
|
carrypoint: {
|
||||||
topinfo: 'Carry Point',
|
topinfo: 'Carry Point',
|
||||||
|
|||||||
@@ -16,7 +16,8 @@ module.exports = {
|
|||||||
status: '任 务 状 态',
|
status: '任 务 状 态',
|
||||||
tasknum: '任 务 数 量',
|
tasknum: '任 务 数 量',
|
||||||
speed: '当 前 速 度',
|
speed: '当 前 速 度',
|
||||||
error: 'AGV 故 障'
|
error: 'AGV 故 障',
|
||||||
|
index: '首页'
|
||||||
},
|
},
|
||||||
carrypoint: {
|
carrypoint: {
|
||||||
topinfo: '搬运起点',
|
topinfo: '搬运起点',
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<div class="nav_item" v-for="(e, i) in nav" :key="i" :class="'nav_item_' + (i + 1)" @click="toPage(e)">
|
<div class="nav_item" v-for="(e, i) in nav" :key="i" :class="'nav_item_' + (i + 1)" @click="toPage(e)">
|
||||||
<div class="relative nav_item_i">
|
<div class="relative nav_item_i">
|
||||||
<div class="nav_icon"></div>
|
<div class="nav_icon"></div>
|
||||||
<p>{{ e.title }}</p>
|
<p>{{ e[$langPre.computedProp('title')] }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,27 +1,14 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="main-container">
|
<div class="iframe_wrap">
|
||||||
<div class="right_side">
|
<iframe class="iframe" src="./static/Magic20241213/HMI_JavaApp_Slam.html" frameborder="0"></iframe>
|
||||||
<div class="content_wrap">
|
|
||||||
<div class="title_wrap">
|
|
||||||
<h2>恢复定位</h2>
|
|
||||||
</div>
|
|
||||||
<div class="page_container">
|
|
||||||
<iframe class="iframe" src="./static/Magic20241213/HMI_JavaApp_Slam.html" frameborder="0"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
data () {
|
|
||||||
return {}
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="stylus" scoped>
|
<style lang="stylus" scoped>
|
||||||
|
@import '~@style/mixin'
|
||||||
|
.iframe_wrap
|
||||||
|
_wh(100%, 100%)
|
||||||
|
overflow hidden
|
||||||
|
.iframe
|
||||||
|
_wh(100%, 100%)
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="index-container" :class="{'enClass': selectType === 'en-us'}">
|
<div class="index-container" :class="{'enClass': selectType === 'en-us'}">
|
||||||
<div class="header-container">
|
<div class="header-container">
|
||||||
<button class="home_button" @click="$router.push('/mini/home')"><p>首页</p></button>
|
<button class="home_button" @click="$router.push('/mini/home')"><p>{{ $t('homeinfo.index') }}</p></button>
|
||||||
<div class="logo_wraper"></div>
|
<div class="logo_wraper"></div>
|
||||||
<div class="lang_change_wraper">
|
<div class="lang_change_wraper">
|
||||||
<el-select v-model="selectType" :placeholder="$t('common.pleaseselect')" popper-class="lang_dropdown" @change="selectChanged">
|
<el-select v-model="selectType" :placeholder="$t('common.pleaseselect')" popper-class="lang_dropdown" @change="selectChanged">
|
||||||
@@ -164,6 +164,7 @@ export default {
|
|||||||
} else if (this.$i18n.locale === 'en-us') {
|
} else if (this.$i18n.locale === 'en-us') {
|
||||||
this.selectType = 'en-us'
|
this.selectType = 'en-us'
|
||||||
}
|
}
|
||||||
|
this.getChildmenus(this.$route.path)
|
||||||
},
|
},
|
||||||
beforeDestroy () {
|
beforeDestroy () {
|
||||||
clearTimeout(this.timer)
|
clearTimeout(this.timer)
|
||||||
@@ -550,4 +551,6 @@ export default {
|
|||||||
width 205px
|
width 205px
|
||||||
.form_item__content_pass
|
.form_item__content_pass
|
||||||
width calc(100% - 205px)
|
width calc(100% - 205px)
|
||||||
|
.home_button p
|
||||||
|
letter-spacing 2px
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -68,12 +68,12 @@
|
|||||||
padding-top 211px
|
padding-top 211px
|
||||||
.content-container
|
.content-container
|
||||||
_wh(100%, 100%)
|
_wh(100%, 100%)
|
||||||
padding-left 264px
|
padding-left 250px
|
||||||
padding-right 64px
|
padding-right 64px
|
||||||
.mini-content-container
|
.mini-content-container
|
||||||
width 100%
|
width 100%
|
||||||
padding-left 69px
|
padding-left 64px
|
||||||
padding-right 69px
|
padding-right 64px
|
||||||
.teach-content-container
|
.teach-content-container
|
||||||
padding 0
|
padding 0
|
||||||
.main-container
|
.main-container
|
||||||
|
|||||||
Reference in New Issue
Block a user