zhanghua
2022-10-20 bb036407bcc0f26a9a0f246aca100d87db2f6e76
src/views/systemSetting/baseSetting/role/index.vue
@@ -32,10 +32,10 @@
                    </el-table-column> -->
                    <el-table-column prop="name" label="角色名称" min-width="10">
                    </el-table-column>
                    <el-table-column prop="sort" label="角色类型" min-width="10">
                    <el-table-column prop="typeText" label="角色类型" min-width="10">
                    </el-table-column>
                    <el-table-column prop="adminCount" label="默认角色" min-width="10">
                    </el-table-column>
                    <!-- <el-table-column prop="adminCount" label="默认角色" min-width="10">
                    </el-table-column> -->
                    <el-table-column prop="description" label="备注" min-width="10">
                    </el-table-column>
                    <el-table-column prop="status" label="启用" min-width="5">
@@ -516,34 +516,34 @@
                }
            }
        }
        &::v-deep .switchStyle .el-switch__label {
            position: absolute;
            display: none;
            color: #fff;
        }
        // &::v-deep .switchStyle .el-switch__label {
        //     position: absolute;
        //     display: none;
        //     color: #fff;
        // }
        &::v-deep .el-switch__core {
            background-color: rgba(166, 166, 166, 1);
        }
        // &::v-deep .el-switch__core {
        //     background-color: rgba(166, 166, 166, 1);
        // }
        &::v-deep .switchStyle .el-switch__label--left {
            z-index: 9;
            left: 20px;
        }
        // &::v-deep .switchStyle .el-switch__label--left {
        //     z-index: 9;
        //     left: 20px;
        // }
        &::v-deep .switchStyle .el-switch__label--right {
            z-index: 9;
            left: 4px;
        }
        // &::v-deep .switchStyle .el-switch__label--right {
        //     z-index: 9;
        //     left: 4px;
        // }
        &::v-deep .switchStyle .el-switch__label.is-active {
            display: block;
        }
        // &::v-deep .switchStyle .el-switch__label.is-active {
        //     display: block;
        // }
        &::v-deep .switchStyle.el-switch .el-switch__core,
        &::v-deep .el-switch .el-switch__label {
            width: 50px !important;
        }
        // &::v-deep .switchStyle.el-switch .el-switch__core,
        // &::v-deep .el-switch .el-switch__label {
        //     width: 50px !important;
        // }
    }
}
</style>