From a44eddf956e7042b64428044f057c76ddf2ac791 Mon Sep 17 00:00:00 2001 From: ‘chensiAb’ <‘chenchenco03@163.com’> Date: Tue, 15 Apr 2025 13:39:20 +0800 Subject: [PATCH] style:自定义导航-返回键样式 --- layout/navCustomBar/cNavCustomBar.scss | 28 +++++++++++++++++++++++----- 1 files changed, 23 insertions(+), 5 deletions(-) diff --git a/layout/navCustomBar/cNavCustomBar.scss b/layout/navCustomBar/cNavCustomBar.scss index 85104d1..59a72fa 100644 --- a/layout/navCustomBar/cNavCustomBar.scss +++ b/layout/navCustomBar/cNavCustomBar.scss @@ -9,22 +9,40 @@ width: 100%; display: flex; justify-content: center; - position: relative; + position: fixed; + top: 0; + left: 0; + background-color: #fff; .c-nav-icon { position: absolute; left: 0px; height: 100%; - display: flex; - justify-content: center; - align-items: center; + width: 120px; .c-nav-menu-icon { - margin-left: 14px; + display: flex; + align-items: center; + width: 100%; + height: 100%; + padding-left: 16px; + box-sizing: border-box; } .c-nav-back-icon { display: flex; align-items: center; + width: 100%; + height: 100%; + padding-left: 4px; + box-sizing: border-box; } } + .c-nav-title-back { + font-size: 34px; + color: #000; + font-weight: 500; + display: flex; + align-items: center; + justify-content: center; + } .c-nav-title { display: flex; align-items: center; -- Gitblit v1.9.1