qlxxCommon.scss 3.04 KB
.djxxTable {
    width: 100%;
    height: 100%;
    background: #fff;
    overflow-y: scroll;
    color: #333;
    
    .tableBox {
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;

        .title {
            width: 100%;
            font-weight: 700;
            font-size: 16px;
            text-align: center;
            background: #e9e9e9;
            height: 62px;
            line-height: 62px;
            position: relative;
            margin: 1px 0;

            .checkbox {
                position: absolute;
                right: 20px;
                bottom: -16px;
                height: 62px;
            }
        }

        .xxTableBox {
            overflow-x: scroll;
            width: 100%;
        }

        .xxTable > tr:first-child th {
            width: 140px;
        }
        // tr td {
        //     border: 1px solid #ccc;
        // }

        .xxTable {
            // border-spacing: 0;
            border-spacing: 1px;
            width: 100%;

            tr > th {
                border: 1px solid #ccc;
                background: #F2F2F2;
                color: #333333;
                font-size: 16px;
                height: 40px;
            }

            th.linshi,
            th.xianshi {
                background: #464c5b;
            }

            th.lishi {
                background: rgba(70, 76, 91, 0.8);
            }

            .one th {
                height: 25px;
                font-size: 14px;
            }

            th.linshi {
                color: #fe9400;
            }

            .two th {
                height: 45px;

                p:nth-child(2) {
                    font-size: 14px;
                }
            }

            .linshiIcon {
                position: relative;
            }

            .linshiIcon::after {
                content: "";
                display: block;
                width: 0;
                height: 0;
                border-width: 0px 0px 55px 55px;
                border-style: none solid solid;
                border-color: transparent transparent #fe9400;
                position: absolute;
                top: 0;
                right: 0;
                transform: rotate(-90deg);
            }

            .icon {
                position: absolute;
                top: 13px;
                right: -4px;
                transform: rotate(45deg);
                color: #fff;
                font-size: 12px;
                z-index: 10;
            }

            tr td {
                border: 1px solid #ccc;
                text-align: center;
                height: 40px;
                padding: 4px;
                font-size: 13px;
                width: 140px;
            }          
            > tr:nth-child(odd) td {
                background: #f2f2f2;
            }

            > tr:nth-child(even) td {
                background: #f9f9f9;
            }

            td.linshi {
                color: #fe9400;
            }

            tr > td.lishi {
                color: #7f7f7f;
            }
        }
    }
}