forked from floraachy/xiuos_IoT
lowcode page move to home page
This commit is contained in:
parent
dde26f904c
commit
96aacbd62b
|
@ -75,6 +75,26 @@ export const constantRoutes = [
|
|||
component: () => import('@/views/solution/qianjiang'),
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/configuration/development',
|
||||
component: () => import('@/views/configuration/development'),
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/configuration/transferStation',
|
||||
component: () => import('@/views/configuration/transferStation'),
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/configuration/AiCity',
|
||||
component: () => import('@/views/configuration/AiCity'),
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/configuration/bridgeMachine',
|
||||
component: () => import('@/views/configuration/bridgeMachine'),
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: '/login',
|
||||
component: () => import('@/views/login/index'),
|
||||
|
@ -176,37 +196,43 @@ export const constantRoutes = [
|
|||
}
|
||||
]
|
||||
},
|
||||
// {
|
||||
// path: '/configuration',
|
||||
// component: Layout,
|
||||
// name: 'Configuration',
|
||||
// meta: { title: '组态管理', icon: 'configuration' },
|
||||
// children: [
|
||||
// {
|
||||
// path: 'development',
|
||||
// name: 'Development',
|
||||
// component: () => import('@/views/configuration/development'),
|
||||
// meta: { title: '组态开发' }
|
||||
// },
|
||||
// {
|
||||
// path: 'transferStation',
|
||||
// name: 'TransferStation',
|
||||
// component: () => import('@/views/configuration/transferStation'),
|
||||
// meta: { title: '变电站' }
|
||||
// },
|
||||
// {
|
||||
// path: 'aicity',
|
||||
// name: 'AiCity',
|
||||
// component: () => import('@/views/configuration/AiCity'),
|
||||
// meta: { title: '智慧城市' }
|
||||
// },
|
||||
// {
|
||||
// path: 'bridgeMachine',
|
||||
// name: 'BridgeMachine',
|
||||
// component: () => import('@/views/configuration/bridgeMachine'),
|
||||
// meta: { title: '大方架桥机' }
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
{
|
||||
path: '/configuration',
|
||||
path: '/configureApp',
|
||||
component: Layout,
|
||||
name: 'Configuration',
|
||||
meta: { title: '组态管理', icon: 'configuration' },
|
||||
children: [
|
||||
{
|
||||
path: 'development',
|
||||
name: 'Development',
|
||||
component: () => import('@/views/configuration/development'),
|
||||
meta: { title: '组态开发' }
|
||||
},
|
||||
{
|
||||
path: 'transferStation',
|
||||
name: 'TransferStation',
|
||||
component: () => import('@/views/configuration/transferStation'),
|
||||
meta: { title: '变电站' }
|
||||
},
|
||||
{
|
||||
path: 'aicity',
|
||||
name: 'AiCity',
|
||||
component: () => import('@/views/configuration/AiCity'),
|
||||
meta: { title: '智慧城市' }
|
||||
},
|
||||
{
|
||||
path: 'bridgeMachine',
|
||||
name: 'BridgeMachine',
|
||||
component: () => import('@/views/configuration/bridgeMachine'),
|
||||
meta: { title: '大方架桥机' }
|
||||
}
|
||||
]
|
||||
name: 'configureApp',
|
||||
meta: { title: '组态应用', icon: 'configuration', disabled: true }
|
||||
},
|
||||
{
|
||||
path: '/log',
|
||||
|
|
|
@ -48,6 +48,28 @@
|
|||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
<div
|
||||
class="menu"
|
||||
:class="{ active: current === 4 }"
|
||||
style="padding: 0 20px"
|
||||
>
|
||||
<el-dropdown @command="tpPage">
|
||||
<span class="menu"> 组态开发 </span>
|
||||
<el-dropdown-menu slot="dropdown">
|
||||
<el-dropdown-item
|
||||
command="/configuration/development"
|
||||
>流程规划</el-dropdown-item>
|
||||
<el-dropdown-item
|
||||
command="/configuration/transferStation"
|
||||
>变电站</el-dropdown-item>
|
||||
<el-dropdown-item
|
||||
command="/configuration/AiCity"
|
||||
>智慧城市</el-dropdown-item>
|
||||
<el-dropdown-item
|
||||
command="/configuration/bridgeMachine"
|
||||
>大方架桥机</el-dropdown-item>
|
||||
</el-dropdown-menu></el-dropdown>
|
||||
</div>
|
||||
<div
|
||||
class="menu"
|
||||
:class="{ active: current === 3 }"
|
||||
|
@ -169,7 +191,6 @@ export default {
|
|||
}
|
||||
},
|
||||
tpPage(router) {
|
||||
console.log('toPage', router)
|
||||
this.$router.push({ path: router })
|
||||
}
|
||||
}
|
||||
|
@ -201,8 +222,7 @@ export default {
|
|||
right: 120px;
|
||||
top: 3px;
|
||||
background-color: rgba(95, 155, 241, 0.39);
|
||||
|
||||
width: 600px;
|
||||
width: 700px;
|
||||
.menu {
|
||||
height: 70px;
|
||||
line-height: 70px;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<iframe id="ifm" style="margin-top:-130px;height: 90vh;border: medium none" src="https://t.le5le.com/?id=6128887203582f00012b8a14" width="100%" :height="iframeHeight" />
|
||||
<iframe id="ifm" style="margin-top:-75px;border: medium none" src="https://t.le5le.com/?id=6128887203582f00012b8a14" width="100%" :height="iframeHeight" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
export default {
|
||||
computed: {
|
||||
iframeHeight() {
|
||||
return window.innerHeight - 185
|
||||
return window.innerHeight + 30
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<iframe id="ifm" style="margin-top:-130px;height: 90vh;border: medium none" src="https://t.le5le.com/?id=61c98f99311360740ed7a18e" width="100%" :height="iframeHeight" />
|
||||
<iframe id="ifm" style="margin-top:-75px;border: medium none" src="https://t.le5le.com/?id=61c98f99311360740ed7a18e" width="100%" :height="iframeHeight" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -8,7 +8,8 @@
|
|||
export default {
|
||||
computed: {
|
||||
iframeHeight() {
|
||||
return window.innerHeight - 185
|
||||
console.log('height', window.innerHeight)
|
||||
return window.innerHeight + 30
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -156,7 +156,7 @@ export default {
|
|||
</script>
|
||||
<style lang="scss">
|
||||
.home {
|
||||
height: calc(100vh - 50px);
|
||||
height: 100vh;
|
||||
}
|
||||
.avater{
|
||||
display: none;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<iframe id="ifm" style="margin-top:-130px;height: 90vh;border: medium none" src="https://t.le5le.com/?id=6318527c288d77e4cee1a1bd" width="100%" :height="iframeHeight" />
|
||||
<iframe id="ifm" style="margin-top:-75px;border: medium none" src="https://t.le5le.com/?id=6318527c288d77e4cee1a1bd" width="100%" :height="iframeHeight" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
export default {
|
||||
computed: {
|
||||
iframeHeight() {
|
||||
return window.innerHeight - 185
|
||||
return window.innerHeight + 30
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
|
Loading…
Reference in New Issue