
.fixed-table-body {
    overflow-x: hidden;
    overflow:scroll;
}

/* 首列固定/最后一列固定*/
th:first-child,
th:last-child,
td:first-child,
td:last-child {
    position: sticky;
    left: 0;
    background: #F4F4F5;
    text-align: center;
    right: 0px;
    border-left: 1px solid #DDDDDD ;
    width: 100px;
}

/* 表头首列和最后一列强制最顶层 */
th:last-child,
th:first-child {
    z-index: 3;
    /*左上角单元格z-index，切记要设置，不然表格纵向横向滚动时会被该单元格右方或者下方的单元格遮挡*/
    background: #F4F4F5;
}