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