整体table"无数据改"样式修改
This commit is contained in:
parent
2a101a5c33
commit
d554ee5af6
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
|
|
@ -236,3 +236,32 @@ aside {
|
|||
overflow: auto;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
/* el-table 空态:覆盖 Element UI 默认样式 */
|
||||
.el-table__empty-block {
|
||||
min-height: 200px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.el-table__empty-text {
|
||||
width: auto; /* 覆盖 50% */
|
||||
line-height: 1.2 !important; /* 🔥 干掉 60px 行高 */
|
||||
font-size: 14px;
|
||||
color: #999;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* 空态图片 */
|
||||
.el-table__empty-text::before {
|
||||
content: '';
|
||||
width: 208px;
|
||||
height: 208px;
|
||||
//margin-bottom: 16px;
|
||||
background: url('~@/assets/icons/noData.png') no-repeat center;
|
||||
background-size: contain;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue