From 7a7760afd043a00e2bb4bca1a3130c8fd4056e40 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 28 Feb 2023 11:25:49 +0800
Subject: [PATCH] 模型切换

---
 src/styles/dc/index.scss |   37 +++++++++++++++++++++++++++++--------
 1 files changed, 29 insertions(+), 8 deletions(-)

diff --git a/src/styles/dc/index.scss b/src/styles/dc/index.scss
index fd7b2b3..2730f53 100644
--- a/src/styles/dc/index.scss
+++ b/src/styles/dc/index.scss
@@ -137,16 +137,29 @@
 
 .image-switch-img-btn {
     display: flex;
-    align-items: center;
-    justify-content: center;
+    flex-direction: column;
     position: absolute;
     font-size: 20px;
+    font-weight: normal;
     color: #fff;
-    background: #fff;
+    background: $bg-color;
     border-radius: 5px;
     z-index: 97;
     // background-color: $table-header-bg-color !important;
     cursor: pointer;
+    transform: translate(0, -50%);
+
+
+    .layer-change-box {
+        display: flex;
+        flex-direction: column;
+
+        .title {}
+
+        .content {
+            display: flex;
+        }
+    }
 
     .img,
     .elec {
@@ -155,17 +168,17 @@
         background-size: 100% 100%;
         width: 80px;
         height: 60px;
-        border: 2px solid $table-header-bg-color;
 
         span {
             position: absolute;
-            right: 2px;
-            bottom: 2px;
-            padding: 0 2px;
+            left: 0;
+            bottom: 0;
+            background: rgba(0, 0, 0, 0.5);
+
         }
 
         &>.on {
-            background-color: $table-header-bg-color;
+            color: #337fe5;
         }
     }
 
@@ -178,4 +191,12 @@
     .elec {
         background-image: url(/img/elec.png);
     }
+
+    .light {
+        background-image: url(/img/mx.png);
+    }
+
+    .high {
+        background-image: url(/img/mx.png);
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3