refactor:layout

This commit is contained in:
Pan 2017-11-16 18:50:59 +08:00
parent 372c4489f0
commit 1286324214
5 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
<el-menu class="navbar" mode="horizontal"> <el-menu class="navbar" mode="horizontal">
<hamburger class="hamburger-container" :toggleClick="toggleSideBar" :isActive="sidebar.opened"></hamburger> <hamburger class="hamburger-container" :toggleClick="toggleSideBar" :isActive="sidebar.opened"></hamburger>
<levelbar class="levelbar-container"></levelbar> <breadcrumb class="breadcrumb-container"></breadcrumb>
<div class="right-menu"> <div class="right-menu">
@ -53,7 +53,7 @@
<script> <script>
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import Levelbar from './Levelbar' import Breadcrumb from '@/components/Breadcrumb'
import Hamburger from '@/components/Hamburger' import Hamburger from '@/components/Hamburger'
import ThemePicker from '@/components/ThemePicker' import ThemePicker from '@/components/ThemePicker'
import Screenfull from '@/components/Screenfull' import Screenfull from '@/components/Screenfull'
@ -62,7 +62,7 @@ import errLogStore from 'store/errLog'
export default { export default {
components: { components: {
Levelbar, Breadcrumb,
Hamburger, Hamburger,
ThemePicker, ThemePicker,
ErrorLog, ErrorLog,
@ -113,7 +113,7 @@ export default {
float: left; float: left;
padding: 0 10px; padding: 0 10px;
} }
.levelbar-container{ .breadcrumb-container{
float: left; float: left;
} }
.errLog-container { .errLog-container {

View File

@ -1,4 +1,4 @@
export { default as Navbar } from './Navbar' export { default as Navbar } from './Navbar'
export { default as Sidebar } from './Sidebar' export { default as Sidebar } from './Sidebar/index.vue'
export { default as TabsView } from './TabsView' export { default as TabsView } from './TabsView'
export { default as AppMain } from './AppMain' export { default as AppMain } from './AppMain'