From bd7206cfaf7c709686396945b5e9c3b0d278b521 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Tue, 09 Nov 2021 09:03:48 +0800 Subject: [PATCH] Taro公共样式微调 --- common/custom.scss | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 53 insertions(+), 7 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index bbde51b..9043603 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -5,22 +5,27 @@ @import "./sassMixin"; -.taro-tabbar__container { +.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: 42px; - } - } .at-button { display: inline-block; &.at-button--full { display: flex; + } + &.at-button--primary { + color: #FFF; + border: 1PX solid #2093df; + background: #2093df; + &.btn-danger { + border: 1PX solid #FF5722; + background: #FF5722; + } } } .at-input-number { @@ -77,9 +82,50 @@ font-size: 0; .at-tabs-pane { height: 100%; - margin-right: 2%; 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; + } + } + } +} + +.taro__toast, +.taro__modal { + word-break: break-word; } \ No newline at end of file -- Gitblit v1.9.1