Commit bce94443 by 前端

commit

1 parent 530357b3
......@@ -6,7 +6,16 @@ const pages = [
keepAlive: true,
backgroundColor: '#F7F7F7'
},
children: []
children: [
]
},
{
name: 'map',
meta: {
keepAlive: true,
backgroundColor: '#F7F7F7'
}
}
]
const keepAlives = []
......@@ -33,7 +42,7 @@ const getPages = _ => {
path: '/',
name: 'home',
redirect: '/home',
component: resolve => require([`views/home.vue`], resolve),
component: resolve => require([`views/home.vue`], resolve)
}
router.children = pages.map(e => {
let name = `${e.name}`
......@@ -50,4 +59,4 @@ const getPages = _ => {
return [router]
}
export const keeps = keepAlives
export default getPages()
\ No newline at end of file
export default getPages()
<<template>
<div class="map flex">
地图组件22222222222222222
</div>
</template>
<script>
export default {
name: 'map',
data() {
return {}
},
mounted() {},
methods: {}
}
</script>
<style lang="scss" scoped>
.map{
height: 100vh;
}
</style>
<template>
<div>
<div class="overview flex">
<div class="overview-store">
</div>
</div>
</template>
......@@ -9,18 +11,19 @@ import datas from '../../utils/data'
export default {
name: 'oversize',
data() {
return {
}
return {}
},
mounted() {},
methods: {
}
methods: {}
}
</script>
<style lang="scss" scoped>
.overview {
margin: 10px 16px 16px 16px;
&-store {
width: 23.89vw;
height:30.73vh;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!