优化GloablHeader、新增表单模块、新增PageHeader、根据router自动生成breadcrumb功能

This commit is contained in:
chenghx
2018-07-23 18:10:02 +08:00
parent 417f7d5f7b
commit 670b97e616
6 changed files with 224 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
<template>
<a-layout-header style="background: #fff; padding: 0 12px 0 0;box-shadow: 0 1px 4px rgba(0,21,41,.08);">
<a-layout-header class="gloabl-header">
<a-icon class="trigger" :type="collapsed ? 'menu-unfold' : 'menu-fold'" @click="toggleCollapse"/>
<div style="float: right">
<header-search class="header-item"/>
@@ -73,4 +73,11 @@ export default {
font-size: 16px;
color: rgba(0,0,0,.65);
}
.gloabl-header{
background: #fff;
padding: 0 12px 0 0;
-webkit-box-shadow: 0 1px 4px rgba(0,21,41,.08);
box-shadow: 0 1px 4px rgba(0,21,41,.08);
position: relative;
}
</style>