From d942877495ceea1575e64fb6d4e2972f6da10cac Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期三, 11 一月 2023 10:09:24 +0800
Subject: [PATCH] 2023/1/11 肖辉 修改UI样式

---
 src/views/systemSetting/baseSetting/user/components/header/index.vue |   36 ++++++++++++++++++++++--------------
 1 files changed, 22 insertions(+), 14 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..3626fd5 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="60%" 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,8 +54,8 @@
 </script>
 <style lang="scss" scoped>
 header {
-    background-color: #09152f;
-    border: 1pox solid #fff;
+    // background-color: #09152f;
+    border: 1px solid #fff;
 
     .headerContent {
         padding: 0 40px;
@@ -65,11 +74,11 @@
 
             .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;
                 }
             }
 
@@ -84,18 +93,17 @@
 
             .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