优化page布局;

新增工作台Workplace;
更新vue-antd-ui版本:1.0.1;
This commit is contained in:
iczer
2018-07-31 16:08:13 +08:00
parent 31faa8ccb8
commit 25e297fe86
10 changed files with 334 additions and 38 deletions

View File

@@ -9,6 +9,7 @@
<div class="detail">
<h1 v-if="title" class="title">{{title}}</h1>
<div class="content"><slot name="content"></slot></div>
<div class="extra"><slot name="extra"></slot></div>
</div>
</div>
</template>
@@ -41,13 +42,24 @@ export default {
.breadcrumb{
margin-bottom: 16px;
}
.title{
font-size: 20px;
font-weight: 500;
color: rgba(0,0,0,.85);
}
.content{
margin-bottom: 16px;
.detail{
display: flex;
.title{
font-size: 20px;
font-weight: 500;
color: rgba(0,0,0,.85);
}
.content{
margin-bottom: 16px;
flex: auto;
}
.extra
{
flex: 0 1 auto;
margin-left: 88px;
min-width: 450px;
float: right;
}
}
}
</style>