From cbb9d1dce2698b02e4e5fdffd342ed72cfc50939 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Mon, 15 Mar 2021 16:36:25 +0800 Subject: [PATCH] 实现 h5 开发中 rem 转换 px --- common/custom.scss | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index 81fb587..943576b 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -3,7 +3,7 @@ * @author Tevin */ -@import "../components/common/sassMixin"; +@import "./sassMixin"; .taro-tabbar__container { font-size: 0.65rem; @@ -74,9 +74,11 @@ } .at-tabs__body { height: calc(100% - 1.9rem); + font-size: 0; .at-tabs-pane { height: 100%; - margin-right: 1%; + margin-right: 2%; + font-size: 0.65rem; } } } -- Gitblit v1.9.1