From cb3098b11e63171ea13865e9ea67e19fe15ef079 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Wed, 02 Mar 2022 12:11:24 +0800 Subject: [PATCH] Merge branch 'master' of ssh://dev.zhiheiot.com:29418/mob-components --- forms/switch/cSwitch.scss | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/forms/switch/cSwitch.scss b/forms/switch/cSwitch.scss index 17494cf..eb0f68a 100644 --- a/forms/switch/cSwitch.scss +++ b/forms/switch/cSwitch.scss @@ -31,4 +31,21 @@ color: #FF4949; } } + &.c-switch-radio { + position: relative; + .at-switch__title { + flex: 4; + } + .at-switch__container { + visibility: hidden; + } + .weui-cells_radiogroup { + @include position(absolute, 50% n n 0); + padding: 24px 32px 24px 0; + transform: translateY(-50%); + } + .weui-check:checked+.weui-icon-checked:before { + color: #2093df; + } + } } \ No newline at end of file -- Gitblit v1.9.1