修改路由

This commit is contained in:
2020-09-25 16:27:33 +08:00
parent 011fa5337c
commit 10a0917cdc
4 changed files with 59 additions and 2 deletions

40
src/layout/mine.vue Normal file
View File

@@ -0,0 +1,40 @@
<template>
<div class="mine">
<NavTop style="flex-shrink:0"></NavTop>
<div class="body">
<Menu style="flex-shrink:0"></Menu>
<div class="container">
</div>
</div>
</div>
</template>
<style lang="scss" scoped>
.mine{
display: flex;
flex-direction: column;
.body{
display: flex;
.container{
width: 100%;
background-color: #F5F5F5;
padding: 23rpx;
}
}
}
</style>
<script lang="ts">
import { defineComponent } from 'vue';
import Menu from "@/components/Menu.vue";
import NavTop from "@/components/NavTop.vue"
export default defineComponent({
components:{
Menu,
NavTop
},
setup(){
console.log(1)
}
})
</script>