From b66e7630b73c2d6fea94adceed55d737c4adc57b Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Thu, 26 Aug 2021 19:11:20 +0800 Subject: [PATCH] 加大顶部显示 --- layout/h5Page/cNavBar.scss | 15 ++++++++++++--- common/custom.scss | 5 ----- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index 51c22ac..9fbb0f2 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -13,11 +13,6 @@ font-size: inherit; font-family: -apple-system-font, Helvetica Neue, sans-serif; } - .at-nav-bar { - .at-nav-bar__title { - font-size: 42px; - } - } .at-button { display: inline-block; &.at-button--full { diff --git a/layout/h5Page/cNavBar.scss b/layout/h5Page/cNavBar.scss index d1d8ebf..8347a62 100644 --- a/layout/h5Page/cNavBar.scss +++ b/layout/h5Page/cNavBar.scss @@ -9,6 +9,16 @@ position: relative; .at-nav-bar { background-color: #2093df; + .at-nav-bar__left-view { + padding: 9PX 0; + .at-icon { + padding-left: 9PX; + font-size: 55px; + } + } + .at-nav-bar__title { + font-size: 42px; + } } .at-nav-bar__left-view, .at-nav-bar__right-view, @@ -44,20 +54,19 @@ } .c-nav-bar-right { @include position(absolute, 0 n n 0, 10); - padding: 9Px 5Px; + padding: 9Px 9Px; @include flexbox(inline, center center); &::before { display: block; width: 0; white-space: nowrap; overflow: hidden; - font-size: 1.024rem; + font-size: 55px; 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: ""; -- Gitblit v1.9.1