staff.scss 4.55 KB
.box {
    margin: 20rpx;
    background: #FFFFFF;
    box-shadow: 0 2rpx 20rpx 0 #b4bacc52;
    border-radius: 20rpx;
    padding: 32rpx 40rpx;

    .box-title {
        font-weight: 600;
        font-size: 32rpx;
        color: #1B233D;
        line-height: 48rpx;
        display: flex;
        justify-content: space-between;

        .select-up {
            font-weight: 400;
            font-size: 24rpx;
            color: #666666;
            position: relative;

            text-align: center;

            .staff-type {
                width: 160rpx;

                text {
                    display: inline-block;
                    width: 120rpx;
                    text-align: right;
                }

                .up-icon {
                    width: 32rpx;
                    height: 32rpx;
                    vertical-align: middle;
                }
            }

            .up-box {
                position: absolute;
                width: 128rpx;
                left: 20rpx;
                background: #FFFFFF;
                box-shadow: 0 0 18rpx 0 #3a596a1c;
                border-radius: 8rpx;
                z-index: 10;

                .up-item {
                    flex: auto;
                    font-weight: 400;
                    font-size: 22rpx;
                    color: #666666;
                    line-height: 53rpx;

                    &.checked {
                        color: #708CFF;
                    }
                }
            }
        }
    }

    .staff-input {
        // width: 638rpx;
        // height: 64rpx;
        // background: #ffffff7d;
        // border: 2rpx solid #EEEEEE;
        // border-radius: 12rpx;
        // margin: 40rpx auto 20rpx;
        // display: flex;
        // justify-content: space-between;
        // align-items: center;
        // padding: 0rpx 20rpx;
        box-sizing: border-box;
        // width: 686rpx;
        width: 100%;
        height: 64rpx;
        // margin-top: 28rpx;
        // background: #ffffff7d;
        // border-radius: 12rpx;
        background: #F8F9FC;
        border: 2rpx solid #EEEEEE;
        border-radius: 32rpx;
        margin: 28rpx auto 24rpx;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0rpx 24rpx 0rpx 24rpx;

        input {
            // height: 64rpx;
            // line-height: 64rpx;
            // color: #999999;
            // flex: 1;
            flex: 1;
            height: 64rpx;
            line-height: 64rpx;
            margin-left: 15rpx;
            &::placeholder {
                color: red;
            }
        }
    }
}

.table {
    display: flex;
}

.table_left_column {
    min-width: 190rpx;
    height: auto;
    display: flex;
    flex-direction: column;
}

.left_col_item {
    height: 72rpx;
    font-size: 20rpx;
    display: flex;
    align-items: center;
    color: #1B233D;
    // background: #F9F9F9;
    background: #F5F9FE;
    padding-left: 18rpx;

    &:first-child {
        font-weight: 600;
        font-size: 24rpx;
        color: #1B233D;
    }

    &:not(:first-child) {
        //   border-right:  2rpx solid #F3F3F3;
    }

    &:nth-child(2n) {
        background: #ffffff;
    }

    .left_item_avatar {
        flex: 1;
        margin-left: 20rpx;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        color: #666666;

        image {
            width: 36rpx;
            height: 36rpx;
            border-radius: 36rpx;
            margin-right: 10rpx;
        }
    }
}

.table_right_scroll_box {
    display: flex;
    white-space: nowrap;
    overflow-x: scroll;
}

.flex_direction_column_item {
    min-width: 150rpx;
    display: inline-block;
    /* border: 1px solid #000; */
}

.item_name {
    min-width: 120rpx;
    height: 72rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20rpx;
    color: #1B233D;
    // background: #F9F9F9;
    background: #F5F9FE;
    white-space: normal;

    image {
        width: 36rpx;
        height: 36rpx;
        border-radius: 36rpx;
        margin-right: 10rpx;
    }

    &:first-child {
        font-weight: 600;
        font-size: 24rpx;
        color: #1B233D;
    }

    &:nth-child(2n) {
        background: #ffffff;
    }
}

.empty {
    margin: 20rpx auto 0;
    text-align: center;

    .empty-icon {
        width: 400rpx;
        height: 400rpx;
        display: inline-block;
    }

    .empty-text {
        font-weight: 400;
        font-size: 28rpx;
        color: #7A8299;
        text-align: center;
        margin: 32rpx 106rpx;
    }
}