From 6a9046adbdac502e3df63bbd8e196f4b1a7a585f Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Thu, 02 Dec 2021 10:14:52 +0800 Subject: [PATCH] 增加按钮可用颜色 --- common/custom.scss | 81 ++++++++++++++++++++++++++++++++++++---- 1 files changed, 72 insertions(+), 9 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index e0b9e8e..0c3e9a0 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -26,6 +26,18 @@ color: #FFF; border: 1PX solid #2093df; background: #2093df; + &.btn-success { + border: 1PX solid #22c322; + background: #22c322; + } + &.btn-info { + border: 1PX solid #05b7c7; + background: #05b7c7; + } + &.btn-warning { + border: 1PX solid #db9d00; + background: #db9d00; + } &.btn-danger { border: 1PX solid #FF5722; background: #FF5722; @@ -34,9 +46,11 @@ } .at-input { .at-input__title { + width: 162px; font-size: 36px; } .at-input__input { + font-size: 36px; .weui-input { font-size: 36px; } @@ -85,15 +99,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 +120,9 @@ } .at-radio__option-wrap { padding-left: 32px; + } + .at-radio__title { + font-size: 36px; } .at-radio__icon { visibility: visible; @@ -124,9 +144,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 +170,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 +212,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