From f3d4db769ba9b51b799d981511a710fd443d0e08 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期一, 21 四月 2025 12:18:03 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/mob/components/topbar/normal-navbar/index.scss | 61 ++++++++++++++++++++++++++---- 1 files changed, 52 insertions(+), 9 deletions(-) diff --git a/src/mob/components/topbar/normal-navbar/index.scss b/src/mob/components/topbar/normal-navbar/index.scss index fe52c31..eb91cad 100644 --- a/src/mob/components/topbar/normal-navbar/index.scss +++ b/src/mob/components/topbar/normal-navbar/index.scss @@ -1,5 +1,5 @@ .normal-topbar-edit-box { - position: fixed; + position: absolute; top: 0px; left: 0px; width: 100%; @@ -8,17 +8,17 @@ background-position: center center; background-repeat: no-repeat; background-size: cover; - min-height: 30px; + height: 50px; z-index: 3; .anticon-tool { position: absolute; z-index: 2; font-size: 16px; - right: 1px; - top: 1px; + right: 0px; + top: 0px; cursor: pointer; - padding: 5px; + padding: 4px; background: rgba(255, 255, 255, 0.55); color: rgba(0, 0, 0, 0.65); } @@ -28,17 +28,60 @@ font-style: inherit; font-weight: inherit; .am-navbar-left { - flex: 1; + min-width: 10px; text-align: left; + color: #1890ff; + font-size: 20px; + line-height: 50px; + .anticon-left { + margin: 0 10px; + } + .img { + width: 30px; + height: 30px; + border-radius: 30px; + margin-top: 9px; + margin-right: 5px; + background-size: cover; + background-position: center center; + } } .am-navbar-title { text-align: center; - font-style: inherit; - font-weight: inherit; flex: 1; } - .am-navbar-right { + .am-navbar-search { flex: 1; + padding: 0 5px; + .search-bar { + height: 30px; + line-height: 30px; + padding: 0 10px; + color:rgba(0, 0, 0, 0.65); + border: 1px solid #E9EDF0; + background: #E9EDF0; + border-radius: 4px; + position: relative; + top: 50%; + transform: translateY(-50%); + cursor: pointer; + font-size: 18px; + } + } + .am-navbar-right { + text-align: right; + color: #1890ff; + min-width: 10px; + font-size: 20px; + line-height: 50px; + .anticon-search { + margin-right: 5px; + padding: 5px; + cursor: pointer; + } + >.anticon:not(.anticon-search) { + padding: 0px 5px; + } } } } -- Gitblit v1.8.0