提交 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>
<div class="ibiz-view-layout__body">
<slot /> <slot />
</div>
<div class="ibiz-view-footer">
<slot name="footer" /> <slot name="footer" />
</div> </div>
</div>
</template> </template>
<style lang="scss" scoped> <style lang="scss">
.ibiz-view-layout { .ibiz-view-layout {
height: 100%; display: flex;
width: 100%; flex-direction: column;
} padding: 0 24px 24px;
.ibiz-view-layout__header-content{ .ibiz-view-layout__header {
flex: none;
.ibiz-view-layout__header-content {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.ibiz-view-layout__caption{ padding: 16px 0;
font-weight: 600; }
}
.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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册