From 5cc4a82be41d3f727a9c232a1bf4de0032879f5e Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Wed, 17 Nov 2021 16:27:39 +0800 Subject: [PATCH] 调大弹窗正文字体大小 --- common/custom.scss | 63 +++++++++++++++++++++++++++---- 1 files changed, 54 insertions(+), 9 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index dc045c5..3efd1cd 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -7,7 +7,7 @@ .taro_page, page { - font-size: 30px; + font-size: 36px; color: #333; textarea { font-size: inherit; @@ -15,6 +15,10 @@ } .at-button { display: inline-block; + font-size: 36px; + &.at-button--small { + line-height: 56px; + } &.at-button--full { display: flex; } @@ -28,11 +32,21 @@ } } } + .at-input { + .at-input__title { + font-size: 36px; + } + .at-input__input { + .weui-input { + font-size: 36px; + } + } + } .at-input-number { .weui-input { height: 100%; border: none; - font-size: 30px; + font-size: 36px; } } .at-float-layout { @@ -45,12 +59,15 @@ width: 100%; height: 84px; box-sizing: border-box; + .layout-header__title { + font-size: 38px; + } } .layout-body { width: 100%; height: calc(100% - 84px); max-height: 100%; - font-size: 30px; + font-size: 36px; box-sizing: border-box; &:first-child { height: 100%; @@ -64,12 +81,6 @@ } .at-list { position: unset; - } - .weui-picker { - font-size: 30px; - .weui-picker__hd { - font-size: 30px; - } } .at-tabs.at-tabs--horizontal { height: 100%; @@ -113,6 +124,23 @@ display: none; } } + .at-modal { + .at-modal__header { + font-size: 40px; + } + .at-modal__container { + font-size: 36px; + } + .at-modal__footer { + .at-modal__action>taro-button-core, + .at-modal__action button { + font-size: 36px; + &:last-child { + color: #2093df; + } + } + } + } } page { @@ -123,4 +151,21 @@ } } } +} + +.taro__toast, +.taro__modal { + word-break: break-word; +} + +.weui-picker__overlay { + .weui-picker { + font-size: 32px; + .weui-picker__hd { + font-size: 36px; + .weui-picker__action:last-child { + color: #2093df; + } + } + } } \ No newline at end of file -- Gitblit v1.9.1