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

update: 更新

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