From 32a212b99dfd1591cc0ace0f53e6cb0be81cea85 Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期四, 12 一月 2023 15:33:41 +0800
Subject: [PATCH] 2023/1/12 肖辉 userlist样式调整

---
 src/views/systemSetting/baseSetting/user/components/header/index.vue |   38 +++++++++++++++++++++++---------------
 1 files changed, 23 insertions(+), 15 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..f4608d8 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,11 +54,11 @@
 </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;
@@ -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