zhanghua
2023-01-30 5173f8e31d106abd003e123c8679cf53c7940b33
src/views/systemSetting/device/grid/components/header/index.vue
@@ -10,7 +10,7 @@
            </div>
            <div class="addUser">
                <!-- :before-close="handleClose" -->
                <el-button class="addBtn" type="primary" @click="dialogCreate = true">添加用户</el-button>
                <el-button class="addBtn button-addition" type="primary" @click="dialogCreate = true">添加用户</el-button>
                <el-dialog :visible.sync="dialogCreate" title="新增网格员" width="60%" v-if="dialogCreate"
                    :before-close="handleClose">
                    <createUser @sendDialog="sendDialog" />
@@ -36,7 +36,6 @@
            this.$emit('getSearch', { text: this.search })
        },
        sendDialog(flag) {
            console.log(flag);
            this.dialogCreate = flag.flag;
            this.$emit('setDialog', { flag: true })
        },
@@ -54,8 +53,7 @@
</script>
<style lang="scss" scoped>
header {
    background-color: #09152f;
    border: 1pox solid #fff;
    // background-color: #09152f;
    .headerContent {
        padding: 0 40px;
@@ -74,12 +72,12 @@
            .el-input {
                flex: 2;
                color: #1d3f57;
                // color: #1d3f57;
                &::v-deep .el-input__inner {
                    background-color: #09152f;
                    border: 1px solid #17324c;
                }
                // &::v-deep .el-input__inner {
                //     background-color: #09152f;
                //     border: 1px solid #17324c;
                // }
            }
        }