update no-data-background
This commit is contained in:
@@ -11,10 +11,9 @@
|
||||
:formConfigs="[{ label: '设备近24小时生产记录', type: 'title' }]"
|
||||
ref="search-bar" />
|
||||
<el-skeleton v-if="initing" :rows="6" animated />
|
||||
<div v-else>
|
||||
<div v-if="noData" class="no-data">没有数据</div>
|
||||
<div v-else :class="{ 'no-data-bg': !list || list.length == 0 }">
|
||||
<base-table
|
||||
v-else
|
||||
v-if="list && list.length > 0"
|
||||
:span-method="mergeColumnHandler"
|
||||
:table-props="tableProps"
|
||||
:table-data="list"
|
||||
@@ -187,16 +186,4 @@ pre {
|
||||
code {
|
||||
font-family: 'IntelOne Mono', 'Ubuntu', 'Courier New', Courier, monospace;
|
||||
}
|
||||
|
||||
.no-data {
|
||||
display: grid;
|
||||
place-content: center;
|
||||
padding-top: 180px;
|
||||
color: #ccc;
|
||||
font-size: 14px;
|
||||
letter-spacing: 2px;
|
||||
height: 30vh;
|
||||
background: url(../../../assets/images/no-data-bg.png) 50% 50% / contain
|
||||
no-repeat;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user