From ecca580d6a85289a7063c9857d2d688bed33e86c Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Fri, 03 Dec 2021 09:58:16 +0800 Subject: [PATCH] 全局颜色提取为sass变量 --- layout/h5Page/cNavBar.scss | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/layout/h5Page/cNavBar.scss b/layout/h5Page/cNavBar.scss index 8347a62..c8b947c 100644 --- a/layout/h5Page/cNavBar.scss +++ b/layout/h5Page/cNavBar.scss @@ -76,28 +76,28 @@ @include position(absolute, n n 0 0, 10); .inner { @include position(absolute, 0 n n 0); - padding: 0.3rem; + padding: 14px; .arrow { - @include position(absolute, 0.15rem n n 0.65rem); + @include position(absolute, 7px n n 30px); width: 0; height: 0; - border-top: 0.6rem solid #f2f4f7; - border-right: 0.6rem solid transparent; + border-top: 28px solid #f2f4f7; + border-right: 28px solid transparent; transform: rotate(45deg); } .box { position: relative; z-index: 2; - width: 4rem; - padding: 0.2rem 0; + width: 187px; + padding: 9px 0; background-color: #f7f8fa; - border-radius: 0.1rem; + border-radius: 5px; box-shadow: rgba(#000, 0.1) 0 1PX 1PX 1PX; .item { - padding: 0 0.45rem; + padding: 0 21px; text-align: center; - line-height: 1.6rem; - font-size: 0.65rem; + line-height: 75px; + font-size: 30px; @include ellipsis(100%); box-sizing: border-box; border-bottom: #edf0f8 1PX solid; -- Gitblit v1.9.1