From a69aee6376d5564b68439a5e51c3177f1d6f88af Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Sat, 19 Jun 2021 17:08:51 +0800 Subject: [PATCH] 修复升级后 Tools 在 h5 模式下 rem 转 px 函数报错的问题 --- layout/h5Page/cNavBar.scss | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/layout/h5Page/cNavBar.scss b/layout/h5Page/cNavBar.scss index ab18e99..d1d8ebf 100644 --- a/layout/h5Page/cNavBar.scss +++ b/layout/h5Page/cNavBar.scss @@ -20,6 +20,12 @@ background-color: rgba(#F0F0F0, 0.5); transition: background-color 0s; } + .at-icon { + display: block; + } + .at-nav-bar__text { + display: none; + } } .at-nav-bar__container { width: 100%; @@ -36,6 +42,27 @@ .at-nav-bar__container--hide { display: none; } + .c-nav-bar-right { + @include position(absolute, 0 n n 0, 10); + padding: 9Px 5Px; + @include flexbox(inline, center center); + &::before { + display: block; + width: 0; + white-space: nowrap; + overflow: hidden; + font-size: 1.024rem; + font-family: iconfont; + font-style: normal; + font-weight: 400; + font-variant: normal; + line-height: 1; + vertical-align: middle; + text-transform: none; + text-rendering: auto; + content: ""; + } + } .c-nav-bar-drop { @include position(absolute, n n 0 0, 10); .inner { -- Gitblit v1.9.1