From ef819706ab4ac1bf5928adc1c920052df7b13458 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Thu, 26 Aug 2021 11:03:18 +0800 Subject: [PATCH] 微调单项框样式 --- layout/h5Page/cNavBar.scss | 32 ++++++++++++++++++++++++++++++-- 1 files changed, 30 insertions(+), 2 deletions(-) diff --git a/layout/h5Page/cNavBar.scss b/layout/h5Page/cNavBar.scss index 236a287..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%; @@ -30,10 +36,32 @@ } .at-icon-bullet-list { margin-right: 6PX; + pointer-events: none; } } .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); @@ -57,9 +85,9 @@ border-radius: 0.1rem; box-shadow: rgba(#000, 0.1) 0 1PX 1PX 1PX; .item { - padding: 0 0.4rem; + padding: 0 0.45rem; text-align: center; - line-height: 1.45rem; + line-height: 1.6rem; font-size: 0.65rem; @include ellipsis(100%); box-sizing: border-box; -- Gitblit v1.9.1