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 | 69 ++++++++++++++++++++++++++++++---- 1 files changed, 60 insertions(+), 9 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index e0b9e8e..af1a84f 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -34,9 +34,11 @@ } .at-input { .at-input__title { + width: 162px; font-size: 36px; } .at-input__input { + font-size: 36px; .weui-input { font-size: 36px; } @@ -85,15 +87,18 @@ .at-tabs.at-tabs--horizontal { height: 100%; .at-tabs__header { - height: 90px; + height: 96px; line-height: 52px; + .at-tabs__item { + font-size: 36px; + } } .at-tabs__body { height: calc(100% - 90px); font-size: 0; .at-tabs-pane { height: 100%; - font-size: 30px; + font-size: 36px; } } } @@ -103,6 +108,9 @@ } .at-radio__option-wrap { padding-left: 32px; + } + .at-radio__title { + font-size: 36px; } .at-radio__icon { visibility: visible; @@ -124,9 +132,21 @@ display: none; } } + .at-checkbox { + .at-checkbox__title { + font-size: 36px; + } + } .at-modal { .at-modal__header { font-size: 40px; + } + .at-modal__container { + max-width: 90%; + font-size: 36px; + .at-modal__content { + font-size: 36px; + } } .at-modal__footer { .at-modal__action>taro-button-core, @@ -138,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; } } } @@ -155,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