From 37b4d052d345be1d3b5671dbd965fa26f06b808f Mon Sep 17 00:00:00 2001
From: gaoluyang <gaoluyang@rengu.cc>
Date: 星期二, 11 二月 2025 14:32:17 +0800
Subject: [PATCH] 首页页面迁移、首页样式修改
---
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