/* 表格 表头 列间距控制 */ .el-table th.el-table__cell>.cell, .plTableBox .el-table th>.cell { text-align: center; /* 表格 表头 对齐方式,默认 left */ padding-right: 2px; /* 表格 表头 列间距控制,默认 10px */ padding-left: 2px; /* 表格 表头 列间距控制,默认 10px */ } /* 表格 表体 首列左间距控制 */ .el-table--border .el-table__cell:first-child .cell { padding-left: 2px; /* 表格 表体 首列左间距控制,默认 10px */ } /* 表格 行列间距控制 ,默认 10 px*/ .el-table--small .el-table__cell { padding: 0; /* 原始 默认值 8px 0 */ } .el-table .el-table__cell { padding: 2px 0; /* 原始 默认 12px 0 */ } .el-table__cell { padding: 2px 2px 2px 2px; /* 上,右,下,左 */ } .el-table .cell, .plTableBox .el-table .cell { padding: 0px 2px; /* 原始 默认 0px 10px; */ line-height: 23px; /* 表格size="small"时 默认值 23px*/ } /* 表格单元格 .el-table .cell ,默认 10 px*/ .cell { padding-left: 2px; padding-right: 2px; line-height: 20px; /*表格size="small"时 默认值 23px*/ } /* 设置表头样式 */ .el-table__header th { /* font-size: px; */ background-color: #fff; /* 设置表头背景颜色 */ color: #232748; /* 设置表头文字颜色 */ font-size: 14px; font-weight: 700; font-family: "NotoSansSC-Bold"; } /* 设置表体样式 */ .el-table td.el-table__cell, .plTableBox .el-table td.is-center, .plTableBox .el-table td { padding: 0; color: #52555F; /* 设置表体文字颜色 */ font-size: 14px; font-weight: 400; font-family: "NotoSansSC-Regular"; } /* 表格列排序 */ .el-table .caret-wrapper, .plTableBox .el-table .caret-wrapper { width: 16px; /* 默认值 24px */ }