From 1ea6ea6de241d3d33b77a6c5dae892dffcf58a26 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Wed, 25 Aug 2021 16:43:52 +0800 Subject: [PATCH] 调整TaroUI单选框样式 --- common/custom.scss | 28 +++++++++++++++++++++++++++- 1 files changed, 27 insertions(+), 1 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index e96fcb2..45b5792 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -78,11 +78,37 @@ font-size: 0; .at-tabs-pane { height: 100%; - margin-right: 2%; font-size: 30px; } } } + .at-radio { + .at-radio__option { + padding-left: 0; + } + .at-radio__option-wrap { + padding-left: 32px; + } + .at-radio__icon { + visibility: visible; + &.at-radio__icon--checked { + .at-icon { + background: #2093df; + border-color: #2093df; + } + } + .at-icon { + color: #fff; + border: #ccc 1px solid; + border-radius: 50%; + padding: 5px; + } + } + &::before, + &::after { + display: none; + } + } } page { -- Gitblit v1.9.1