-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1、增加标签页功能 2、增加动态路由(addRoutes) 3、拆分store,使用vuex的module 4、修改permiss.js逻辑 5、修复request.js表单格式多文件传输问题 6、增加重定向页面(主要用于标签页启动缓存时的刷新) 7、优化目录结构和代码
- Loading branch information
Showing
33 changed files
with
721 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<template> | ||
<div id="app"> | ||
<app-view /> | ||
<app-pageView /> | ||
<vue-progress-bar /> | ||
</div> | ||
</template> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<template> | ||
<div id="navBar"> | ||
<div class="navBar-left"> | ||
<!-- 侧边栏伸缩按钮 --> | ||
<Cola class="left-item ishover" /> | ||
<!-- 面包屑 --> | ||
<breadcrumb class="left-item" /> | ||
</div> | ||
<div class="navBar-right"> | ||
<!-- 错误日志 --> | ||
<error-log class="right-item ishover" /> | ||
<!-- 全屏 --> | ||
<screenfull class="right-item ishover" /> | ||
<!-- 切换语言 --> | ||
<language-select class="right-item ishover" /> | ||
<!-- 切换主题 --> | ||
<theme-picker class="right-item ishover" /> | ||
<!-- 用户选项 --> | ||
<user-select class="right-item ishover" /> | ||
</div> | ||
</div> | ||
</template> | ||
<script> | ||
import Cola from '@/components/Cola' | ||
import Breadcrumb from '@/components/Breadcrumb' | ||
import UserSelect from '@/components/UserSelect' | ||
import ErrorLog from '@/components/ErrorLog' | ||
import LanguageSelect from '@/components/LanguageSelect' | ||
import ThemePicker from '@/components/ThemePicker' | ||
import Screenfull from '@/components/Screenfull' | ||
export default { | ||
components: { | ||
Cola, | ||
Breadcrumb, | ||
UserSelect, | ||
ErrorLog, | ||
LanguageSelect, | ||
ThemePicker, | ||
Screenfull | ||
} | ||
} | ||
</script> | ||
<style lang='stylus' scoped> | ||
#navBar { | ||
position: relative; | ||
width: 100%; | ||
height: 50px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
box-shadow: 0 1px 2px rgba(0, 21, 41, 0.08); | ||
.navBar-left { | ||
display: flex; | ||
align-items: center; | ||
height: 100%; | ||
} | ||
.navBar-right { | ||
display: flex; | ||
align-items: center; | ||
height: 100%; | ||
margin-right: 30px; | ||
} | ||
.left-item, .right-item { | ||
flex-center(); | ||
height: 100%; | ||
font-size: 18px; | ||
padding: 0 10px; | ||
cursor: pointer; | ||
>>> .item-container { | ||
flex-center(); | ||
height: 100%; | ||
} | ||
} | ||
} | ||
</style> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.