“固定首行行高”
This commit is contained in:
parent
9a54792beb
commit
425e9a81b9
|
@ -7,7 +7,7 @@
|
|||
<el-card class="channel-card" shadow="hover">
|
||||
<div class="section-title">通道</div>
|
||||
<div class="scroll-container">
|
||||
<el-table :data="cameras" style="width: 100%;" height="250">
|
||||
<el-table :data="cameras" height="250">
|
||||
<el-table-column prop="id" label="ID" width="100"></el-table-column>
|
||||
<el-table-column prop="name" label="名称"></el-table-column>
|
||||
</el-table>
|
||||
|
@ -207,7 +207,7 @@ onMounted(() => {
|
|||
}
|
||||
|
||||
.scroll-container {
|
||||
height: 180px;
|
||||
height: 170px;
|
||||
/* overflow-y: scroll; */
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
@ -219,7 +219,7 @@ onMounted(() => {
|
|||
.status-summary-chart,
|
||||
.camera-count-chart {
|
||||
width: 100%;
|
||||
height: 180px;
|
||||
height: 170px;
|
||||
}
|
||||
|
||||
.el-table {
|
||||
|
@ -234,5 +234,9 @@ onMounted(() => {
|
|||
font-weight: bold;
|
||||
text-align: center; /* 居中对齐 */
|
||||
}
|
||||
|
||||
::v-deep .el-card__body{
|
||||
padding: 15px;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue