From d3bb7e6fbf42316ce5cfa19a63b9e63a0fbb2b0a Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Thu, 11 Mar 2021 17:57:17 +0800 Subject: [PATCH] 调整主机匹配计算次序 --- layout/h5Page/cNavBar.scss | 34 +++++++++++++++++++++++++++++++--- 1 files changed, 31 insertions(+), 3 deletions(-) diff --git a/layout/h5Page/cNavBar.scss b/layout/h5Page/cNavBar.scss index a589fc0..d1d8ebf 100644 --- a/layout/h5Page/cNavBar.scss +++ b/layout/h5Page/cNavBar.scss @@ -8,7 +8,7 @@ .c-nav-bar { position: relative; .at-nav-bar { - background-color: #1e8ad2; + background-color: #2093df; } .at-nav-bar__left-view, .at-nav-bar__right-view, @@ -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