From 8168cec440323b13056f6c3eb4b176e8dc3367ca Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Thu, 09 Mar 2023 14:48:44 +0800
Subject: [PATCH] 行政区划改名

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

diff --git a/forms/switch/cSwitch.scss b/forms/switch/cSwitch.scss
index a36b56f..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;
     }
@@ -76,7 +86,7 @@
     }
     &.c-switch-radio-left {
         .c-switch-radio-group {
-            width: 538px;
+            width: calc(100% - 214px);
             padding-right: 0;
             .c-switch-radio-item {
                 padding-left: 0;

--
Gitblit v1.9.1