fix : 不同浏览器匹配样式修改

This commit is contained in:
2024-03-04 15:18:07 +08:00
parent 4fd53e8875
commit 89161ea797
6 changed files with 27 additions and 10 deletions

View File

@@ -85,7 +85,7 @@
</div>
</el-dialog>
</div>
<div class="digital-tunnel">
<div class="digital-tunnel" >
<el-dialog :close-on-click-modal="false" v-model="isVisited" title="报警信息"
width="2175px"
:modal="false">
@@ -134,7 +134,7 @@
</template>
</el-table-column>
</el-table>
<div class="pagination">
<div class="pagination" :style="{bottom: roleKey==='administrator'?'50px':''}">
<el-pagination background v-model:current-page="pageInfo.pageNum" v-model:page-size="pageInfo.pageSize"
:total="total" prev-text="上一页" next-text="下一页" layout="prev, pager, next"
@current-change="handleCurrentChange" :hide-on-single-page="true"/>
@@ -183,6 +183,7 @@ const isDetailVisited = ref(false);
const showFan = ref(false);
const drawerLeft = ref(true);
const showTunnelTitle = ref(true);
// const loading = ref(false);
const initialIndex = ref(0)
const showFanLoading = ref(0)
const showWindLoading = ref(0)
@@ -325,12 +326,14 @@ const handleChangeState = (row) => {
});
}
const getAlarmList = () => {
// loading.value = true
getAlarmInfo({
tunnelId: tunnelId.value,
lookupStatus: queryParams.lookupStatus,
...pageInfo
}).then(res => {
if (res.code === 1000) {
// loading.value = false
alarmList.value = res.data.rows
total.value = res.data.total
}
@@ -616,7 +619,7 @@ const initWebSocket = () => {
}
.el-drawer__body {
padding: 180px 68px 0 68px;
padding: 160px 68px 0 68px;
overflow: hidden;
}
@@ -685,6 +688,20 @@ const initWebSocket = () => {
margin: 820px auto 0 auto;
}
}
:deep(.el-table__body-wrapper){
height: 90px;
}
:deep(.el-loading-mask) {
background-color: transparent;
.el-loading-spinner{
height: 60px;
}
}
:deep(.el-table__empty-block) {
font-size: 40px;
background-color: transparent;
}
.digital-tunnel {
.detail {