优化控制面板,页面样式展示
This commit is contained in:
@ -222,7 +222,7 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.amap-container {
|
.amap-container {
|
||||||
height: calc(100vh - 22vh);
|
height: calc(100vh - 25vh);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@ -82,7 +82,7 @@
|
|||||||
</transition>
|
</transition>
|
||||||
<el-card class="Maplist">
|
<el-card class="Maplist">
|
||||||
<div v-if="isListView" key="list">
|
<div v-if="isListView" key="list">
|
||||||
<el-table v-loading="loading" border :data="deviceList" @selection-change="handleSelectionChange">
|
<el-table v-loading="loading" border :data="deviceList" @selection-change="handleSelectionChange" height="calc(100vh - 310px)">
|
||||||
<el-table-column type="selection" width="50" align="center" :selectable="isSelectable" />
|
<el-table-column type="selection" width="50" align="center" :selectable="isSelectable" />
|
||||||
<el-table-column label="设备名称" align="center" prop="deviceName" />
|
<el-table-column label="设备名称" align="center" prop="deviceName" />
|
||||||
<el-table-column label="设备图片" align="center" prop="devicePic">
|
<el-table-column label="设备图片" align="center" prop="devicePic">
|
||||||
@ -575,7 +575,7 @@ const forceAlarm = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.Maplist {
|
.Maplist {
|
||||||
height: calc(100vh - 24vh);
|
//height: calc(100vh - 24vh);
|
||||||
overflow: auto;
|
//overflow: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -58,7 +58,7 @@
|
|||||||
</transition>
|
</transition>
|
||||||
<el-card class="Maplist">
|
<el-card class="Maplist">
|
||||||
<div>
|
<div>
|
||||||
<el-table v-loading="loading" border :data="deviceList" @selection-change="handleSelectionChange">
|
<el-table v-loading="loading" border :data="deviceList" @selection-change="handleSelectionChange" height="calc(100vh - 400px)">
|
||||||
<el-table-column type="selection" width="50" align="center" />
|
<el-table-column type="selection" width="50" align="center" />
|
||||||
<el-table-column label="设备名称" align="center" prop="deviceName" />
|
<el-table-column label="设备名称" align="center" prop="deviceName" />
|
||||||
<el-table-column label="设备型号" align="center" prop="deviceType" />
|
<el-table-column label="设备型号" align="center" prop="deviceType" />
|
||||||
@ -300,6 +300,6 @@ height: calc(100vh - 8vh);
|
|||||||
|
|
||||||
.Maplist {
|
.Maplist {
|
||||||
height: calc(100vh - 24vh);
|
height: calc(100vh - 24vh);
|
||||||
overflow: auto;
|
// overflow: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -58,7 +58,7 @@
|
|||||||
</transition>
|
</transition>
|
||||||
<el-card class="Maplist">
|
<el-card class="Maplist">
|
||||||
<div>
|
<div>
|
||||||
<el-table v-loading="loading" border :data="deviceList" @selection-change="handleSelectionChange">
|
<el-table v-loading="loading" border :data="deviceList" @selection-change="handleSelectionChange" height="calc(100vh - 400px)">
|
||||||
<el-table-column type="selection" width="50" align="center" />
|
<el-table-column type="selection" width="50" align="center" />
|
||||||
<el-table-column label="设备名称" align="center" prop="deviceName" />
|
<el-table-column label="设备名称" align="center" prop="deviceName" />
|
||||||
<el-table-column label="设备型号" align="center" prop="deviceType" />
|
<el-table-column label="设备型号" align="center" prop="deviceType" />
|
||||||
@ -308,6 +308,6 @@ height: calc(100vh - 8vh);
|
|||||||
|
|
||||||
.Maplist {
|
.Maplist {
|
||||||
height: calc(100vh - 24vh);
|
height: calc(100vh - 24vh);
|
||||||
overflow: auto;
|
// overflow: auto;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user