no message

Former-commit-id: ebcacc4c35b51fabdedb9bf24451a8b9ed0538a7 [formerly ebcacc4c35b51fabdedb9bf24451a8b9ed0538a7 [formerly ebcacc4c35b51fabdedb9bf24451a8b9ed0538a7 [formerly ebcacc4c35b51fabdedb9bf24451a8b9ed0538a7 [formerly 216cfba8dd9241eb118f912410a8ed9b47f73a4e [formerly bcfedd921c9bad92c44dedcd129515f4eee88ccc]]]]]
Former-commit-id: 56791dd292b6cbafb8b2718fef86d7cde15912fa
Former-commit-id: 9c010dd00d8c289f7b5cf9fb09e2c2382cea8709
Former-commit-id: a0b82a29f70845922f5a4df52bb7483615035037 [formerly 3f32892d7e2dd6cca6ac6548b16347f64b91e813]
Former-commit-id: 0479a1aa8814cf6b6c98fcba6e7ad23c6b3cbf24
Former-commit-id: b233429360f4644df597cbe2dd8742e7c12b58cc
Former-commit-id: f945650ec6a6c981401631d4e4233ac78699c6d5
Former-commit-id: 8d06fe548bae568d816fb936acdf35be400aa565
Former-commit-id: 08a50554c42e95f694c557a1b70c4070ceb27894
This commit is contained in:
liyang
2018-06-30 09:30:21 +08:00
parent 66e60c5382
commit a2e6effff7
5 changed files with 29 additions and 12 deletions

3
TODO Normal file
View File

@@ -0,0 +1,3 @@
Todo:
☐ Item

View File

@@ -29,26 +29,26 @@ $theme-header-item-color: #FF929A;
$theme-header-item-background-color: transparent; $theme-header-item-background-color: transparent;
// 顶栏上的项目在 hover 时 // 顶栏上的项目在 hover 时
$theme-header-item-color-hover: #FFEBA4; $theme-header-item-color-hover: #FFEBA4;
$theme-header-item-background-color-hover: #00162D; $theme-header-item-background-color-hover: rgba(#FFF, .05);
// 顶栏上的项目在 focus 时 // 顶栏上的项目在 focus 时
$theme-header-item-color-focus: #FFB870; $theme-header-item-color-focus: #FFB870;
$theme-header-item-background-color-focus: #00162D; $theme-header-item-background-color-focus: rgba(#FFF, .05);
// 顶栏上的项目在 active 时 // 顶栏上的项目在 active 时
$theme-header-item-color-active: #FFB870; $theme-header-item-color-active: #FFB870;
$theme-header-item-background-color-active: #00162D; $theme-header-item-background-color-active: rgba(#FFF, .05);
// 侧边栏上的文字颜色 // 侧边栏上的文字颜色
$theme-aside-item-color: #FF929A; $theme-aside-item-color: #FF929A;
$theme-aside-item-background-color: transparent; $theme-aside-item-background-color: transparent;
// 侧边栏上的项目在 hover 时 // 侧边栏上的项目在 hover 时
$theme-aside-item-color-hover: #FFEBA4; $theme-aside-item-color-hover: #FFEBA4;
$theme-aside-item-background-color-hover: #00162D; $theme-aside-item-background-color-hover: rgba(#FFF, .05);
// 侧边栏上的项目在 focus 时 // 侧边栏上的项目在 focus 时
$theme-aside-item-color-focus: #FFB870; $theme-aside-item-color-focus: #FFB870;
$theme-aside-item-background-color-focus: #00162D; $theme-aside-item-background-color-focus: rgba(#FFF, .05);
// 侧边栏上的项目在 active 时 // 侧边栏上的项目在 active 时
$theme-aside-item-color-active: #FFB870; $theme-aside-item-color-active: #FFB870;
$theme-aside-item-background-color-active: #00162D; $theme-aside-item-background-color-active: rgba(#FFF, .05);
// 侧边栏菜单为空的时候显示的元素 // 侧边栏菜单为空的时候显示的元素
$theme-aside-menu-empty-icon-color: #FFB870; $theme-aside-menu-empty-icon-color: #FFB870;

View File

@@ -5,20 +5,27 @@
type="card" type="card"
@tab-click="handleClick"> @tab-click="handleClick">
<el-tab-pane <el-tab-pane
v-for="n in 20" v-for="(page, index) in pageList"
:key="n" :key="index"
:label="`页面 ${n}`" :label="page.title"
:name="`page${n}`"> :name="page.name">
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</template> </template>
<script> <script>
import { mapState, mapMutations } from 'vuex'
export default { export default {
data () { data () {
return { return {
activeName: 'first' activeName: 'first'
} }
}, },
computed: {
...mapState({
pageList: state => state.d2admin.pageList
})
},
methods: { methods: {
handleClick (tab, event) { handleClick (tab, event) {
// console.log(tab, event) // console.log(tab, event)

View File

@@ -1 +1 @@
606766b63bfb19d2bc7fc5a4885a8428c20971a0 b6ab24082bf827aca85248d9163c9ecb8b23de1d

View File

@@ -10,7 +10,14 @@ export default {
isGrayMode: false, isGrayMode: false,
// 主题 // 主题
themeList, themeList,
themeActive: themeList[1] themeActive: themeList[1],
// 多页
pageList: [
{
name: 'index',
title: '首页'
}
]
}, },
mutations: { mutations: {
/** /**