From 7ac13d34f5c0eeaa2f5ee1351bee4ccd7d0098da Mon Sep 17 00:00:00 2001 From: gaoluyang <gaoluyang@rengu.cc> Date: 星期二, 11 二月 2025 14:32:48 +0800 Subject: [PATCH] 全局JSON.parse(JSON.stringify(val))配置 --- src/layout/components/Navbar.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 5b45e3c..375102a 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -114,9 +114,14 @@ .navbar { height: 50px; overflow: hidden; - position: relative; + //position: relative; background: #fff; box-shadow: 0 1px 4px rgba(0,21,41,.08); + position: fixed; /* 灏嗗ご閮ㄥ浐瀹� */ + top: 0; /* 鍦ㄩ《閮ㄥ浐瀹� */ + width: 100%; /* 瀹藉害100%锛岃鐩栨暣涓鍙� */ + //background-color: #f8f9fa; /* 璁剧疆鑳屾櫙棰滆壊锛屼互渚挎洿鏄庢樉鍦扮湅鍒版晥鏋� */ + z-index: 1000; /* 纭繚澶撮儴鍦ㄥ叾浠栧唴瀹逛箣涓� */ display: flex; align-items: center; justify-content: space-between; -- Gitblit v1.9.3