From ae2d855c89ca722ac7309fdf1aa6ceed370e3b95 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期一, 11 十月 2021 20:22:30 +0800
Subject: [PATCH] 监控ui

---
 src/pages/settings/views/generalSettings.vue |   70 ++++++++++++++++++-----------------
 1 files changed, 36 insertions(+), 34 deletions(-)

diff --git a/src/pages/settings/views/generalSettings.vue b/src/pages/settings/views/generalSettings.vue
index fa4e6d4..b2cd669 100644
--- a/src/pages/settings/views/generalSettings.vue
+++ b/src/pages/settings/views/generalSettings.vue
@@ -139,7 +139,7 @@
           </div>
           <div class="bar-group">
             <div
-              class="bar"
+              class="general-bar"
               v-for="(item, i) in soundList"
               :key="i"
               @click="clickSound(item, i)"
@@ -148,7 +148,7 @@
               <div class="left-part">
                 <span class="name">{{ item.name }}</span>
               </div>
-              <div class="btns">
+              <div class="sound-btns">
                 <span @click="togglePlay(item, i)">
                   <span
                     class="iconfont"
@@ -573,6 +573,9 @@
   flex: 1;
   flex-basis: auto;
   box-sizing: border-box;
+  .el-input__inner {
+ height: 24px !important;
+}
   .general-center {
     height: 100%;
     width: 300px;
@@ -665,29 +668,28 @@
       }
       .bar-group {
         overflow: auto;
-        height: 400px;
-      }
-      .bar {
-        height: 48px;
-        background-color: #f8f8f8;
-        border-radius: 10px;
-        line-height: 48px;
-        box-sizing: border-box;
-        padding: 0 20px 0 20px;
-        font-weight: 700;
-        display: flex;
-        justify-content: space-between;
-        margin-bottom: 2px;
-        border: 2px solid #fff;
-        .name {
-          font-size: 14px;
-        }
-        .btns {
-          width: 52px;
+        height: calc(100% - 132px);
+        .general-bar {
+          height: 48px;
+          background-color: #f8f8f8;
+          border-radius: 10px;
+          line-height: 48px;
+          box-sizing: border-box;
+          padding: 0 20px 0 20px;
+          font-weight: 700;
           display: flex;
           justify-content: space-between;
-          color: rgba(191, 191, 191, 1);
-          /*  .el-icon-video-pause {
+          margin-bottom: 2px;
+          border: 2px solid #fff;
+          .name {
+            font-size: 14px;
+          }
+          .sound-btns {
+            width: 52px;
+            display: flex;
+            justify-content: space-between;
+            color: rgba(191, 191, 191, 1);
+            /*  .el-icon-video-pause {
             cursor: pointer;
             font-size: 23px;
             vertical-align: middle;
@@ -699,18 +701,20 @@
             vertical-align: middle;
             color: #409eff;
           } */
-          span {
-            color: #333;
+            span {
+              color: #333;
+            }
+            .del:hover {
+              color: #fc4958;
+            }
           }
-          .del:hover {
-            color: #fc4958;
+          .desc {
+            font-size: 14px;
+            color: rgba(134, 134, 134, 1);
           }
-        }
-        .desc {
-          font-size: 14px;
-          color: rgba(134, 134, 134, 1);
         }
       }
+
       /* .bar:hover {
         border: 2px solid #4E94FF !important;
       } */
@@ -1144,9 +1148,7 @@
  color: #4E94FF;
 }
 
-.el-input__inner {
- height: 24px !important;
-}
+
 
 
 /* .el-tooltip__popper {

--
Gitblit v1.8.0