修改样式

This commit is contained in:
GGJ
2024-12-05 18:14:43 +08:00
parent 6010cbf20a
commit b1c9375873
10 changed files with 171 additions and 135 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="table-container table-main">
<el-table :data="tableData" stripe border :header-cell-style="{ textAlign: 'center' } " :cell-style="{ textAlign: 'center' }" height="310px" style="width: 100%" >
<el-table :data="tableData" stripe border :header-cell-style="{ textAlign: 'center' } " :cell-style="{ textAlign: 'center' }" height="335px" style="width: 100%" >
<el-table-column prop="id" label="序号" width="70" />
<el-table-column prop="updateTime" label="数据时间" />
<el-table-column prop="L1" label="L1V" />
@@ -170,7 +170,7 @@ const tableData = ref([
<style scoped>
.table-container {
max-height: 320px; /* 根据需要调整高度 */
overflow-y: auto; /* 允许垂直滚动 */
overflow-x: hidden; /* 隐藏水平滚动条 */
}