From da01bc263dc79e1726adaa1748708cc9555c97db Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期四, 12 一月 2023 16:23:09 +0800
Subject: [PATCH] 2023/1/12 肖辉 修改userList高度

---
 src/views/systemSetting/baseSetting/user/components/main/index.vue |  171 ++++++++++++++++++++++-----------------------------------
 1 files changed, 66 insertions(+), 105 deletions(-)

diff --git a/src/views/systemSetting/baseSetting/user/components/main/index.vue b/src/views/systemSetting/baseSetting/user/components/main/index.vue
index 5428bf0..e94c147 100644
--- a/src/views/systemSetting/baseSetting/user/components/main/index.vue
+++ b/src/views/systemSetting/baseSetting/user/components/main/index.vue
@@ -3,11 +3,12 @@
     <div class="mainContent">
       <!-- 鏁版嵁灞曠ず -->
       <el-table
+          border
+          stripe
         ref="multipleTable"
         :header-cell-style="{
-          background: '#06122c',
-          'font-size': '12px',
-          color: '#4b9bb7',
+          'background':'#F5F5F5',
+          'font-size': '14px',
           'font-weight': '650',
           'line-height': '45px',
         }"
@@ -44,7 +45,7 @@
           </template>
         </el-table-column>
         <el-table-column prop="status" label="鍚敤" min-width="5">
-          <template slot-scope="scope" >
+          <template slot-scope="scope">
             <!-- @change="handleChangeStatus(scope.row)" -->
             <el-switch
               class="switchStyle"
@@ -73,8 +74,9 @@
                 >淇敼閮ㄩ棬</span
               >
               <span class="line">|</span>
-              <span @click="handleChangeStatus(scope.row)">{{scope.row.status === true ?'鍋滅敤':'鍚敤' }}</span>
-                               
+              <span @click="handleChangeStatus(scope.row)">{{
+                scope.row.status === true ? "鍋滅敤" : "鍚敤"
+              }}</span>
             </div>
           </template>
         </el-table-column>
@@ -116,45 +118,46 @@
       </el-dialog>
       <!-- tools -->
       <div class="tools">
-        <div class="funs">
-          <div class="funsItem funs-sp">
-            <el-checkbox v-model="all" @change="selectAll()">鍏ㄩ��</el-checkbox>
-          </div>
-          <div class="funsItem funs-sp">
-            <el-checkbox v-model="unsame" @change="disSame(tableData)"
-              >鍙嶉��</el-checkbox
-            >
-          </div>
-          <div class="funsItem">
-            <el-select
-              v-model="myIdx"
-              placeholder="鎵归噺鎿嶄綔"
-              @change="selectChange"
-            >
-              <el-option
-                v-for="item in options"
-                :key="item.value"
-                :label="item.label"
-                :value="item.value"
-                :disabled="item.disabled"
-              >
-              </el-option>
-            </el-select>
-          </div>
-        </div>
-        <div class="pagination">
-          <el-pagination
-            background
-            :current-page="currentPage"
-            layout="prev, pager, next"
-            :total="totalNum"
-            :page-size="pageSize"
-            @current-change="changeCurrentPage"
-            @prev-click="handlePrev"
-            @next-click="handleNext"
-          >
-          </el-pagination>
-        </div>
+         <div class="funs">
+           <div class="funsItem funs-sp">
+             <el-checkbox v-model="all" @change="selectAll()">鍏ㄩ��</el-checkbox>
+           </div>
+           <div class="funsItem funs-sp">
+             <el-checkbox v-model="unsame" @change="disSame(tableData)"
+             >鍙嶉��</el-checkbox
+             >
+           </div>
+           <div class="funsItem">
+             <el-select
+                 v-model="myIdx"
+                 placeholder="鎵归噺鎿嶄綔"
+                 @change="selectChange"
+             >
+               <el-option
+                   popper-class="funs-select"
+                   v-for="item in options"
+                   :key="item.value"
+                   :label="item.label"
+                   :value="item.value"
+                   :disabled="item.disabled"
+               >
+               </el-option>
+             </el-select>
+           </div>
+         </div>
+         <div class="pagination">
+           <el-pagination
+               background
+               :current-page="currentPage"
+               layout="prev, pager, next"
+               :total="totalNum"
+               :page-size="pageSize"
+               @current-change="changeCurrentPage"
+               @prev-click="handlePrev"
+               @next-click="handleNext"
+           >
+           </el-pagination>
+         </div>
       </div>
     </div>
   </main>
@@ -480,72 +483,60 @@
 </script>
 <style lang="scss" scoped>
 main {
-  background-color: #09152f;
+  // background-color: #09152f;
   margin-top: 20px;
   padding-bottom: 50px;
-  border: 1pox solid #fff;
-
+  //border: 1px solid #fff;
   .mainTitle {
     line-height: 60px;
   }
-
   .tools {
     display: flex;
     justify-content: space-between;
     align-items: center;
-    padding: 0 20px;
-
+    padding: 0;
     .funs {
       display: flex;
       .funs-sp {
-        border: 1px solid #17324c;
+         border: 1px solid #DCDFE6;
       }
       .funsItem {
+        background-color: transparent;
         line-height: 28px;
         display: flex;
         align-items: center;
         border-radius: 4px;
         font-size: 12px;
         margin-left: 10px;
-
         .el-checkbox {
           width: 80px;
           padding: 0 10px;
         }
-
         .el-select {
           width: 120px;
-        }
-
-        &::v-deep .el-input__inner {
-          border: none;
-          background-color: #09152f;
-        }
-
-        &:hover {
-          border: 1px solid #4b9bb7;
-        }
-
-        &:hover .el-checkbox {
-          color: #4b9bb7;
+          &::v-deep.el-input{
+            .el-input__inner{
+              background-color: transparent!important;
+            }
+          }
+          .funs-select{
+            background-color: transparent;
+          }
         }
       }
     }
-
     .pagination {
       margin-top: 50px;
       display: flex;
       line-height: 50px;
       justify-content: center;
-
       .el-pagination {
         &::v-deep li,
         &::v-deep .btn-prev,
         &::v-deep .btn-next {
-          background-color: #071f39;
-          color: #4b9bb7;
+          // background-color: #071f39;
+          // color: #4b9bb7;
         }
-
         &::v-deep .active {
           background-color: #409eff;
           color: #fff;
@@ -553,49 +544,19 @@
       }
     }
   }
-
   .el-table {
-    color: #4b9bb7;
-    font-size: 10px;
+    // color: #4b9bb7;
+    // font-size: 10px;
     .operation {
       display: flex;
       font-size: 10px;
       .line {
         padding: 0 1px;
       }
-
       span:hover {
         cursor: pointer;
       }
     }
   }
-  // &::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 .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.is-active {
-  //     display: block;
-  // }
-
-  // &::v-deep .switchStyle.el-switch .el-switch__core,
-  // &::v-deep .el-switch .el-switch__label {
-  //     width: 56px !important;
-  // }
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.8.0