提交 56e71961 编写于 作者: RedPig97's avatar RedPig97

update: 更新

上级 1bf03e3f
......@@ -31,21 +31,33 @@ const showHeader = computed(()=> props.showHeader && (props.viewCaption || slot
</div>
<slot name="header-bottom" />
</div>
<slot />
<slot name="footer" />
<div class="ibiz-view-layout__body">
<slot />
</div>
<div class="ibiz-view-footer">
<slot name="footer" />
</div>
</div>
</template>
<style lang="scss" scoped>
<style lang="scss">
.ibiz-view-layout {
height: 100%;
width: 100%;
}
.ibiz-view-layout__header-content{
display: flex;
justify-content: space-between;
.ibiz-view-layout__caption{
font-weight: 600;
flex-direction: column;
padding: 0 24px 24px;
.ibiz-view-layout__header {
flex: none;
.ibiz-view-layout__header-content {
display: flex;
justify-content: space-between;
padding: 16px 0;
}
}
.ibiz-view-layout__body {
flex: auto;
}
.ibiz-view-layout__footer {
flex: none;
}
}
......
......@@ -153,7 +153,7 @@ const handleChange = (pagination: IParam, filters: IParam, sorter: IParam, data:
</template>
<style lang="scss">
.ibiz-grid {
margin: 20px;
height: 100%;
.table-striped {
background-color: #fafafa;
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册