From 8e8e161971d8876e159f94e7e0f9e0d52d548e8a Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Mon, 07 Mar 2022 17:23:34 +0800 Subject: [PATCH] 实现同级显示的单选、多选框组件 --- forms/select/cSelect.scss | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/forms/select/cSelect.scss b/forms/select/cSelect.scss index 2bfd699..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; } @@ -37,7 +42,7 @@ } .c-select-slot { position: relative; - height: 90px; + height: 98px; @include flexbox(flex, center center); &::after { position: absolute; -- Gitblit v1.9.1