From 0d7d6fc9a5c40ccc90190b0f24039ec1362f120f Mon Sep 17 00:00:00 2001
From: “dzb” <2632970487@qq.com>
Date: 星期一, 17 十月 2022 11:33:10 +0800
Subject: [PATCH] 新增设备管理、完善消息新增,修改bug

---
 src/views/systemSetting/baseSetting/user/components/main/index.vue |   60 +++++++++++++++++++++++++++++++-----------------------------
 1 files changed, 31 insertions(+), 29 deletions(-)

diff --git a/src/views/systemSetting/baseSetting/user/components/main/index.vue b/src/views/systemSetting/baseSetting/user/components/main/index.vue
index 1ecd2f8..0b3024f 100644
--- a/src/views/systemSetting/baseSetting/user/components/main/index.vue
+++ b/src/views/systemSetting/baseSetting/user/components/main/index.vue
@@ -33,8 +33,9 @@
                 </el-table-column>
                 <el-table-column prop="status" label="鍚敤" min-width="5">
                     <template slot-scope="scope">
-                        <el-switch class="switchStyle" v-model="scope.row.status" active-text="寮�" inactive-text="鍏�"
-                            active-color="#3fef9a" inactive-color="#000212" @change="handleChangeStatus(scope.row)">
+                        <!-- @change="handleChangeStatus(scope.row)" -->
+                        <el-switch class="switchStyle" v-model="scope.row.status"
+                            active-color="#3fef9a" inactive-color="#000212" disabled>
                         </el-switch>
                     </template>
                 </el-table-column>
@@ -65,10 +66,10 @@
             <!-- tools -->
             <div class="tools">
                 <div class="funs">
-                    <div class="funsItem">
+                    <div class="funsItem funs-sp">
                         <el-checkbox v-model="all" @change="selectAll()">鍏ㄩ��</el-checkbox>
                     </div>
-                    <div class="funsItem">
+                    <div class="funsItem funs-sp">
                         <el-checkbox v-model="unsame" @change="disSame(tableData)">鍙嶉��</el-checkbox>
                     </div>
                     <div class="funsItem">
@@ -399,12 +400,13 @@
 
         .funs {
             display: flex;
-
+            .funs-sp{
+                border: 1px solid #17324c;
+            }
             .funsItem {
                 line-height: 28px;
                 display: flex;
                 align-items: center;
-                border: 1px solid #17324c;
                 border-radius: 4px;
                 font-size: 12px;
                 margin-left: 10px;
@@ -472,33 +474,33 @@
             }
         }
     }
-    &::v-deep .switchStyle .el-switch__label {
-        position: absolute;
-        display: none;
-        color: #fff;
-    }
+    // &::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 .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--left {
+    //     z-index: 9;
+    //     left: 20px;
+    // }
 
-    &::v-deep .switchStyle .el-switch__label--right {
-        z-index: 9;
-        left: 4px;
-    }
+    // &::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__label.is-active {
+    //     display: block;
+    // }
 
-    &::v-deep .switchStyle.el-switch .el-switch__core,
-    &::v-deep .el-switch .el-switch__label {
-        width: 56px !important;
-    }
+    // &::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

--
Gitblit v1.8.0