From 8129775195f3a70e94019e70aabf61353e33c110 Mon Sep 17 00:00:00 2001 From: maochaoying <925670706@qq.com> Date: Fri, 8 Sep 2023 15:36:09 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86btn=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Test.vue | 61 ++++++++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 29 deletions(-) diff --git a/src/components/Test.vue b/src/components/Test.vue index 3242c03..2518500 100644 --- a/src/components/Test.vue +++ b/src/components/Test.vue @@ -18,8 +18,8 @@
@@ -35,13 +35,10 @@ > 反转
-
- 关闭 -
+ +
+
打开
+
关闭
@@ -62,8 +59,8 @@
@@ -79,13 +76,10 @@ > 反转
-
- 关闭 -
+
+
+
打开
+
关闭
@@ -101,7 +95,7 @@
@@ -122,13 +116,15 @@

{{ testStore?.airBlowerObj?.currentVal }} A

打开
关闭 @@ -140,7 +136,9 @@

{{ testStore?.heatingStripObj?.currentVal }} A

打开 @@ -534,11 +532,16 @@ const changeDraughtStatus = flag => { .btn_wrap { display: flex; align-items: center; + background: #ddd; + padding: 6px; + border-radius: 30px; + .mg { + margin-right: 6px; + } .open { - margin-right: 10px; - width: 87px; - height: 45px; - border-radius: 23px; + width: 67px; + height: 35px; + border-radius: 18px; background: #06518b; display: flex; align-items: center; @@ -553,9 +556,9 @@ const changeDraughtStatus = flag => { background: #1ad66e; } .close { - width: 87px; - height: 45px; - border-radius: 23px; + width: 67px; + height: 35px; + border-radius: 18px; background: #ffffff; display: flex; align-items: center;