From 29910166d197c9f475e817d1e9eb26e3a441c5f9 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Wed, 01 Dec 2021 17:45:04 +0800 Subject: [PATCH] 微调Taro弹窗组件样式 --- common/custom.scss | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 50 insertions(+), 7 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index 789ca85..af1a84f 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -34,6 +34,7 @@ } .at-input { .at-input__title { + width: 162px; font-size: 36px; } .at-input__input { @@ -108,6 +109,9 @@ .at-radio__option-wrap { padding-left: 32px; } + .at-radio__title { + font-size: 36px; + } .at-radio__icon { visibility: visible; &.at-radio__icon--checked { @@ -128,6 +132,11 @@ display: none; } } + .at-checkbox { + .at-checkbox__title { + font-size: 36px; + } + } .at-modal { .at-modal__header { font-size: 40px; @@ -135,6 +144,9 @@ .at-modal__container { max-width: 90%; font-size: 36px; + .at-modal__content { + font-size: 36px; + } } .at-modal__footer { .at-modal__action>taro-button-core, @@ -146,14 +158,39 @@ } } } -} - -page { - .at-tabs.at-tabs--horizontal { - .at-tabs__body { - .at-tabs-pane { - margin-right: 0; + .at-search-bar { + height: 94px; + .at-search-bar__input-cnt { + height: 70px; + border-radius: 35px; + .at-search-bar__placeholder-wrap { + height: 70px; } + .at-icon-search { + font-size: 36px; + } + .at-search-bar__placeholder { + font-size: 36px; + } + .at-search-bar__input { + height: 70px !important; + font-size: 36px !important; + line-height: 70px; + } + .at-search-bar__clear { + height: 70px; + width: 50px; + font-size: 36px; + } + } + .at-search-bar__action { + height: 70px; + margin-left: 20px; + padding: 0 20px; + font-size: 36px; + color: #FFF; + line-height: 70px; + border-radius: 8px; } } } @@ -163,6 +200,12 @@ word-break: break-word; } +.taro__toast { + >div>p:last-child { + font-size: 36px !important; + } +} + .weui-picker__overlay { .weui-picker { font-size: 32px; -- Gitblit v1.9.1