From c97815a8be3982ea32f6eff79542a9dcedba7fbb Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Mon, 22 Nov 2021 12:04:01 +0800
Subject: [PATCH] 优化单行描述显示

---
 layout/h5Page/cNavBar.scss |   41 +++++++++++++++++++++++++++++++++++++++--
 1 files changed, 39 insertions(+), 2 deletions(-)

diff --git a/layout/h5Page/cNavBar.scss b/layout/h5Page/cNavBar.scss
index 236a287..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,
@@ -20,6 +30,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 +46,31 @@
         }
         .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 9Px;
+        @include flexbox(inline, center center);
+        &::before {
+            display: block;
+            width: 0;
+            white-space: nowrap;
+            overflow: hidden;
+            font-size: 55px;
+            font-family: iconfont;
+            font-style: normal;
+            font-weight: 400;
+            font-variant: normal;
+            line-height: 1;
+            text-transform: none;
+            text-rendering: auto;
+            content: "";
+        }
     }
     .c-nav-bar-drop {
         @include position(absolute, n n 0 0, 10);
@@ -57,9 +94,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