From 4abc8bbf94b952b8934f31c33b4342c1d1586fbf Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Thu, 23 Mar 2023 10:31:35 +0800
Subject: [PATCH] 二维码增加保存功能

---
 forms/switch/cSwitch.scss |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/forms/switch/cSwitch.scss b/forms/switch/cSwitch.scss
index dfe9673..0224cd5 100644
--- a/forms/switch/cSwitch.scss
+++ b/forms/switch/cSwitch.scss
@@ -6,6 +6,16 @@
 @import "../../common/sassMixin";
 
 .c-switch {
+    &.read-only {
+        pointer-events: none;
+        background-color: #fafafa;
+        .at-switch {
+            background-color: transparent;
+        }
+        .at-switch__container {
+            background-color: transparent;
+        }
+    }
     .at-switch__title {
         font-size: 36px;
     }

--
Gitblit v1.9.1