perf: 调整列表页表格的高度,减小底部六百

This commit is contained in:
陈劲松
2020-03-04 20:11:50 +08:00
parent 37503b55bd
commit 06bb5423d9
10 changed files with 10 additions and 8 deletions

View File

@@ -23,6 +23,7 @@
padding: 20px 8px 3px;
margin-bottom: 10px;
.table-title {
margin: -3px 0 3px 10px;
font-weight: bold;
font-size: 18px;
line-height: 26px;

View File

@@ -53,6 +53,7 @@
font-size: 18px;
line-height: 26px;
color: #333;
margin: -3px 0 3px 10px;
}
.line-area {
box-sizing: border-box;

View File

@@ -34,7 +34,7 @@
:data="tableData"
border
tooltip-effect="light"
height="calc(100% - 160px)"
height="calc(100% - 138px)"
v-scrollBar:el-table
style="width: 100%;">
<el-table-column

View File

@@ -26,7 +26,7 @@
:data="tableData"
border
tooltip-effect="light"
height="calc(100% - 160px)"
height="calc(100% - 138px)"
v-scrollBar:el-table
style="width: 100%;">
<el-table-column

View File

@@ -50,7 +50,7 @@
<el-table
class="nz-table"
height="calc(100% - 160px)"
height="calc(100% - 138px)"
style="width: 100%;"
:data="tableData"
v-scrollBar:el-table

View File

@@ -34,7 +34,7 @@
class="nz-table"
:data="tableData"
border
height="calc(100% - 160px)"
height="calc(100% - 138px)"
v-scrollBar:el-table
style="width: 100%;">
<el-table-column

View File

@@ -161,7 +161,7 @@
:data="cabinetDatas"
border
v-scrollBar:el-table
height="calc(100% - 160px)"
height="calc(100% - 138px)"
style="width: 100%;">
<el-table-column
:resizable="false"

View File

@@ -30,7 +30,7 @@
</div>
</div>
</div>
<el-table :data="tableData" border height="calc(100% - 160px)" style="width: 100%;" class="nz-table" v-scrollBar:el-table>
<el-table :data="tableData" border height="calc(100% - 138px)" style="width: 100%;" class="nz-table" v-scrollBar:el-table>
<el-table-column :resizable="false" v-for="(item, index) in tablelable" v-if="item.show" :width="item.width"
:key="`col-${index}`" :label="item.label">
<template slot-scope="scope" :column="item">

View File

@@ -675,7 +675,7 @@
.table-list {
margin-top: 6px;
overflow-y: auto;
height: calc(100% - 150px);
height: calc(100% - 120px);
}
.box-content {

View File

@@ -119,7 +119,7 @@
:data="endpointTableData"
border
class="nz-table"
height="calc(100% - 160px)"
height="calc(100% - 138px)"
v-scrollBar:el-table
style="width: 100%;">
<el-table-column