From b66e7630b73c2d6fea94adceed55d737c4adc57b Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Thu, 26 Aug 2021 19:11:20 +0800 Subject: [PATCH] 加大顶部显示 --- common/custom.scss | 66 +++++++++++++++++++++++++-------- 1 files changed, 50 insertions(+), 16 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index 81fb587..9fbb0f2 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -3,19 +3,15 @@ * @author Tevin */ -@import "../components/common/sassMixin"; +@import "./sassMixin"; -.taro-tabbar__container { - font-size: 0.65rem; +.taro_page, +page { + font-size: 30px; color: #333; textarea { font-size: inherit; font-family: -apple-system-font, Helvetica Neue, sans-serif; - } - .at-nav-bar { - .at-nav-bar__title { - font-size: 0.9rem; - } } .at-button { display: inline-block; @@ -27,7 +23,7 @@ .weui-input { height: 100%; border: none; - font-size: 0.65rem; + font-size: 30px; } } .at-float-layout { @@ -45,7 +41,7 @@ width: 100%; height: calc(100% - 84px); max-height: 100%; - font-size: 0.65rem; + font-size: 30px; box-sizing: border-box; &:first-child { height: 100%; @@ -61,22 +57,60 @@ position: unset; } .weui-picker { - font-size: 0.65rem; + font-size: 30px; .weui-picker__hd { - font-size: 0.65rem; + font-size: 30px; } } .at-tabs.at-tabs--horizontal { height: 100%; .at-tabs__header { - height: 1.9rem; - line-height: 1.15rem; + height: 90px; + line-height: 52px; } .at-tabs__body { - height: calc(100% - 1.9rem); + height: calc(100% - 90px); + font-size: 0; .at-tabs-pane { height: 100%; - margin-right: 1%; + font-size: 30px; + } + } + } + .at-radio { + .at-radio__option { + padding-left: 0; + } + .at-radio__option-wrap { + padding-left: 32px; + } + .at-radio__icon { + visibility: visible; + &.at-radio__icon--checked { + .at-icon { + background: #2093df; + border-color: #2093df; + } + } + .at-icon { + color: #fff; + border: #bbb 1px solid; + border-radius: 50%; + padding: 5px; + } + } + &::before, + &::after { + display: none; + } + } +} + +page { + .at-tabs.at-tabs--horizontal { + .at-tabs__body { + .at-tabs-pane { + margin-right: 0; } } } -- Gitblit v1.9.1