From 46a9892fea7c1c9cdc8f3e81856ff8694fca0e2f Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Tue, 27 Apr 2021 15:03:32 +0800 Subject: [PATCH] 优化接口提示,修复小程序模式下接口通用提示异常的问题 --- common/custom.scss | 37 +++++++++++++++++++++++++------------ 1 files changed, 25 insertions(+), 12 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index 81fb587..e96fcb2 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -3,10 +3,11 @@ * @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; @@ -14,7 +15,7 @@ } .at-nav-bar { .at-nav-bar__title { - font-size: 0.9rem; + font-size: 42px; } } .at-button { @@ -27,7 +28,7 @@ .weui-input { height: 100%; border: none; - font-size: 0.65rem; + font-size: 30px; } } .at-float-layout { @@ -45,7 +46,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 +62,34 @@ 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%; + margin-right: 2%; + font-size: 30px; + } + } + } +} + +page { + .at-tabs.at-tabs--horizontal { + .at-tabs__body { + .at-tabs-pane { + margin-right: 0; } } } -- Gitblit v1.9.1