From 17992a8ff38847414097c0899f86257a0e52f643 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Tue, 12 Apr 2022 18:00:20 +0800
Subject: [PATCH] 输入框,增加只读模式

---
 forms/select/cSelect.scss |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/forms/select/cSelect.scss b/forms/select/cSelect.scss
index 47c92ea..9dce48c 100644
--- a/forms/select/cSelect.scss
+++ b/forms/select/cSelect.scss
@@ -6,6 +6,10 @@
 @import "../../common/sassMixin";
 
 .c-select {
+    &.read-only {
+        pointer-events: none;
+        background-color: #fafafa;
+    }
     .at-input__input {
         .weui-input {
             pointer-events: none;
@@ -17,6 +21,7 @@
             display: none;
         }
         .at-icon-chevron-right {
+            padding: 0;
             font-size: 48px;
             color: #ccc;
         }

--
Gitblit v1.9.1