fix: 实体列表 左侧筛选条件弹框,头部展示数据和样式调整

This commit is contained in:
@changcode
2022-06-16 16:51:47 +08:00
parent e845af787e
commit 336ad36049
3 changed files with 2 additions and 7 deletions

View File

@@ -1,6 +1,3 @@
.pop-title{
margin-top: 7px;
}
.pop-custom {
padding: 0 12px 12px 12px;
border: 1px solid #EBEEF5;

View File

@@ -83,7 +83,6 @@
.chart__loading {
height: calc(100% - 65px);
}
margin-top: 12px;
.top-table-percent{
display:grid;
grid-template-columns: 50% auto;

View File

@@ -3,14 +3,13 @@
<div class="pop-title">
<div>
<i :class="itemData.icon"></i>
<span>{{itemData.label}}</span>
<span>{{itemData.value}}{{$t('overall.operator')}} {{itemData.label}}</span>
</div>
</div>
<!-- <button @click="esc" class="el-dialog__headerbtn" type="button"><i class="el-dialog__close el-icon el-icon-close"></i></button>-->
<div class="filter-top-box">
<div class="filter-top-body">
<loading :loading="loading"></loading>
<div class="filter-top-type">{{itemData.value}}{{$t('overall.operator')}}{{itemData.label}}</div>
<el-table
:data="popoverData"
:header-cell-style="tableHeaderCellStyle"
@@ -83,7 +82,7 @@ export default {
},
tableHeaderCellStyle ({ row, column, rowIndex, columnIndex }) {
if (rowIndex === 0) {
return 'padding-bottom:5px;padding-top:14px;'
return 'padding-bottom:5px;padding-top:7px;'
}
},
tableHeaderRowStyle ({ row, rowIndex }) {