From b289f60aebd90c3d2cccec83d36d06017e04029e Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期五, 24 二月 2023 09:36:14 +0800 Subject: [PATCH] 2023/2/24 肖辉 修改文字颜色 --- src/views/systemSetting/baseSetting/user/components/header/index.vue | 46 +++++++++++++++++++++------------------------- 1 files changed, 21 insertions(+), 25 deletions(-) diff --git a/src/views/systemSetting/baseSetting/user/components/header/index.vue b/src/views/systemSetting/baseSetting/user/components/header/index.vue index 67dcb8d..ccde5e8 100644 --- a/src/views/systemSetting/baseSetting/user/components/header/index.vue +++ b/src/views/systemSetting/baseSetting/user/components/header/index.vue @@ -5,13 +5,14 @@ <span>绛涢�夋潯浠�:</span> <el-input placeholder="璇疯緭鍏ュ唴瀹�" v-model="search"></el-input> <div class="findBtn"> - <el-button type="primary" @click="setSearch">鏌ヨ</el-button> + <el-button class="find-Btn" type="primary" @click="setSearch">鏌ヨ</el-button> </div> </div> <div class="addUser"> <!-- :before-close="handleClose" --> - <el-button class="addBtn" type="primary" @click="dialogCreate = true">娣诲姞鐢ㄦ埛</el-button> - <el-dialog :visible.sync="dialogCreate" title="鏂板璐︽埛" width="45%" v-if="dialogCreate"> + <el-button class="addBtn button-addition" type="primary" @click="dialogCreate = true">娣诲姞鐢ㄦ埛</el-button> + <el-dialog :visible.sync="dialogCreate" title="鏂板璐︽埛" width="800px" v-if="dialogCreate" + :before-close="handleClose"> <createUser @sendDialog="sendDialog" /> </el-dialog> </div> @@ -37,7 +38,15 @@ sendDialog(flag) { console.log(flag); this.dialogCreate = flag.flag; - this.$emit('setDialog', { flag:true }) + this.$emit('setDialog', { flag: true }) + }, + handleClose(done) { + this.$confirm('纭鍏抽棴锛�') + .then(_ => { + this.dialogCreate = false; + done(); + }) + .catch(_ => { }); } }, props: ['setDialog', 'getSearch', 'flag'], @@ -45,57 +54,44 @@ </script> <style lang="scss" scoped> header { - background-color: #09152f; - border: 1pox solid #fff; - + // background-color: #09152f; + //border: 1px solid #fff; .headerContent { - padding: 0 40px; + padding: 0; display: flex; line-height: 100px; justify-content: space-between; align-items: center; - .search { display: flex; justify-content: flex-start; - span { flex: 1; } - .el-input { flex: 2; - color: #1d3f57; - + // color: #1d3f57; &::v-deep .el-input__inner { - background-color: #09152f; - border: 1px solid #17324c; + // background-color: #09152f; + // border: 1px solid #17324c; } } - } - .findBtn { line-height: 100px; margin-left: 15px; display: flex; align-items: center; margin-top: -2px; - .el-button { padding: 12px 25px; - border-radius: 20px; } } - .addBtn { - background-color: #eb5d01; + background-color: #409EFF; border: none; - border-radius: 20px; padding: 12px 30px; } - - } } -</style> \ No newline at end of file +</style> -- Gitblit v1.8.0