html
<el-table class="table_el" ></el-table>
css
.table_el{ /deep/ .el-table__body-wrapper{ //滚动条整体 &::-webkit-scrollbar{ 6px; } //滚动条小方块 &::-webkit-scrollbar-thumb{ border-radius:10px; background:#0398af; } //滚动条轨道 &::-webkit-scrollbar-track{ border-radius:10px; height:100px; background:#064094; } }