This commit is contained in:
2025-01-06 15:29:50 +08:00
parent 8a7117baef
commit 0cd6dd3f4d
6 changed files with 20 additions and 28 deletions

View File

@@ -16,7 +16,8 @@ module.exports = {
status: 'Task Status',
tasknum: 'Number Of Tasks',
speed: 'Current Speed',
error: 'AGV Fault'
error: 'AGV Fault',
index: 'Index'
},
carrypoint: {
topinfo: 'Carry Point',

View File

@@ -16,7 +16,8 @@ module.exports = {
status: '任 务 状 态',
tasknum: '任 务 数 量',
speed: '当 前 速 度',
error: 'AGV 故 障'
error: 'AGV 故 障',
index: '首页'
},
carrypoint: {
topinfo: '搬运起点',

View File

@@ -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="relative nav_item_i">
<div class="nav_icon"></div>
<p>{{ e.title }}</p>
<p>{{ e[$langPre.computedProp('title')] }}</p>
</div>
</div>
</div>

View File

@@ -1,27 +1,14 @@
<template>
<div class="main-container">
<div class="right_side">
<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 class="iframe_wrap">
<iframe class="iframe" src="./static/Magic20241213/HMI_JavaApp_Slam.html" frameborder="0"></iframe>
</div>
</template>
<script>
export default {
data () {
return {}
},
methods: {
}
}
</script>
<style lang="stylus" scoped>
@import '~@style/mixin'
.iframe_wrap
_wh(100%, 100%)
overflow hidden
.iframe
_wh(100%, 100%)
</style>

View File

@@ -1,7 +1,7 @@
<template>
<div class="index-container" :class="{'enClass': selectType === 'en-us'}">
<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="lang_change_wraper">
<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') {
this.selectType = 'en-us'
}
this.getChildmenus(this.$route.path)
},
beforeDestroy () {
clearTimeout(this.timer)
@@ -550,4 +551,6 @@ export default {
width 205px
.form_item__content_pass
width calc(100% - 205px)
.home_button p
letter-spacing 2px
</style>

View File

@@ -68,12 +68,12 @@
padding-top 211px
.content-container
_wh(100%, 100%)
padding-left 264px
padding-left 250px
padding-right 64px
.mini-content-container
width 100%
padding-left 69px
padding-right 69px
padding-left 64px
padding-right 64px
.teach-content-container
padding 0
.main-container