You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
712 B
30 lines
712 B
<template> |
|
<div id="app"> |
|
<!-- <button @click="changeLanguage()" >{{$t('language.name')}}</button> --> |
|
<Topbar v-show="this.$route.path != '/login'"></Topbar> |
|
<router-view></router-view> |
|
<Bottom v-show="this.$route.path != '/login'"></Bottom> |
|
</div> |
|
</template> |
|
<script> |
|
import Topbar from "@/components/Topbar.vue"; |
|
import Bottom from "@/components/Bottom.vue"; |
|
export default { |
|
components: { |
|
Topbar,//顶部组件 |
|
Bottom,//底部组件 |
|
}, |
|
methods: { |
|
|
|
}, |
|
}; |
|
</script> |
|
<style lang="less"> |
|
#app { |
|
font-family: Avenir, Helvetica, Arial, sans-serif; |
|
-webkit-font-smoothing: antialiased; |
|
-moz-osx-font-smoothing: grayscale; |
|
text-align: center; |
|
color: #2c3e50; |
|
} |
|
</style>
|
|
|