NEZ-934 style:样式调整
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="sub-box">
|
<div class="sub-box bottom-box">
|
||||||
<div class="resize-modal">
|
<div class="resize-modal">
|
||||||
<div class="sub-list-resize-copy">一</div>
|
<div class="sub-list-resize-copy">一</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -410,6 +410,11 @@ export default {
|
|||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
.bottom-box .sub-container{
|
||||||
|
height: calc(100% - 64px);
|
||||||
|
}
|
||||||
|
.bottom-box .sub-container .nz-table2{
|
||||||
|
height: calc(100% - 20px);
|
||||||
|
}
|
||||||
/* end--二级顶部工具栏*/
|
/* end--二级顶部工具栏*/
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -222,7 +222,4 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
/deep/ .sub-container {
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<!-- 顶部工具栏 -->
|
<!-- 顶部工具栏 -->
|
||||||
<div class="main-modal"></div>
|
<div class="main-modal"></div>
|
||||||
<div class="main-container">
|
<div class="main-container">
|
||||||
<div v-show="bottomBox.mainResizeShow" :style="from === fromRoute.project ? 'padding-right: 5px' : ''" class="top-tools">
|
<div v-show="bottomBox.mainResizeShow" class="top-tools">
|
||||||
<div class="top-tool-left" style="min-width: 300px">
|
<div class="top-tool-left" style="min-width: 300px">
|
||||||
<slot name="top-tool-left"></slot>
|
<slot name="top-tool-left"></slot>
|
||||||
</div>
|
</div>
|
||||||
@@ -25,10 +25,10 @@
|
|||||||
<div v-if="showLayout.indexOf('clickSearch') > -1" class="search-box">
|
<div v-if="showLayout.indexOf('clickSearch') > -1" class="search-box">
|
||||||
<slot name="search"></slot>
|
<slot name="search"></slot>
|
||||||
</div>
|
</div>
|
||||||
<div v-show="bottomBox.mainResizeShow" :style="from === fromRoute.project ? 'padding-right: 5px' : ''" class="nz-table2">
|
<div v-show="bottomBox.mainResizeShow" class="nz-table2">
|
||||||
<slot v-bind:mainResizeShow="bottomBox.mainResizeShow"></slot>
|
<slot v-bind:mainResizeShow="bottomBox.mainResizeShow"></slot>
|
||||||
</div>
|
</div>
|
||||||
<div v-show="bottomBox.mainResizeShow" v-if="showLayout.indexOf('pagination') > -1" :style="from === fromRoute.project ? 'width: calc(100% - 15px);bottom: 18px' : ''" class="pagination-bottom">
|
<div v-show="bottomBox.mainResizeShow" v-if="showLayout.indexOf('pagination') > -1" class="pagination-bottom">
|
||||||
<slot name="pagination"></slot>
|
<slot name="pagination"></slot>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -44,6 +44,7 @@
|
|||||||
@update="updateCustomTableTitle"
|
@update="updateCustomTableTitle"
|
||||||
></element-set>
|
></element-set>
|
||||||
</transition>
|
</transition>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<transition name="el-zoom-in-bottom">
|
<transition name="el-zoom-in-bottom">
|
||||||
<bottom-box v-if="bottomBox.showSubList"
|
<bottom-box v-if="bottomBox.showSubList"
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
:data="tableData"
|
:data="tableData"
|
||||||
:height="height"
|
:height="height"
|
||||||
style="width: calc(100% - 25px)"
|
|
||||||
border
|
border
|
||||||
@header-dragend="dragend"
|
@header-dragend="dragend"
|
||||||
@sort-change="tableDataSort"
|
@sort-change="tableDataSort"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
ref="dataTable"
|
ref="dataTable"
|
||||||
:data="currentTableData"
|
:data="currentTableData"
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
:height="'100%'"
|
:height="'calc(100% - 48px)'"
|
||||||
border
|
border
|
||||||
@header-dragend="dragend"
|
@header-dragend="dragend"
|
||||||
@selection-change="selectChange"
|
@selection-change="selectChange"
|
||||||
@@ -558,6 +558,7 @@ export default {
|
|||||||
.query-page-option{
|
.query-page-option{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
/deep/ .pagination{
|
/deep/ .pagination{
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ export default {
|
|||||||
background: #f6f6f6;
|
background: #f6f6f6;
|
||||||
.projectList{
|
.projectList{
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
.projectTopo{
|
.projectTopo{
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template v-slot:pagination>
|
<template v-slot:pagination>
|
||||||
<div class="project-page">
|
<div class="project-page">
|
||||||
<Pagination ref="Pagination" :page-obj="pageObj" :table-id="tableId" style="width: calc(100% - 15px);padding-bottom: 6px;" @pageNo='pageNo'
|
<Pagination ref="Pagination" :page-obj="pageObj" :table-id="tableId" @pageNo='pageNo'
|
||||||
@pageSize='pageSize'></Pagination>
|
@pageSize='pageSize'></Pagination>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -160,15 +160,19 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss" scoped>
|
||||||
.project-list{
|
.project-list{
|
||||||
.project-page{
|
.project-page{
|
||||||
margin: 0 0 0 20px;
|
margin: 0 0 0 20px;
|
||||||
border: 1px solid $--right-box-border-color;
|
border: 1px solid $--right-box-border-color;
|
||||||
border-top: none;
|
border-top: none;
|
||||||
/deep/ .pagination{
|
/deep/ .pagination{
|
||||||
padding-top: 0;
|
padding: 5px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/deep/ .pagination-bottom{
|
||||||
|
width: calc(100% - 30px);
|
||||||
|
bottom: 18px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user