From 5b0b688ff9f1bdf08ef651718708aa42d1b2477b Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 18 二月 2025 17:31:12 +0800
Subject: [PATCH] 完成实验室能力档案搬迁
---
src/layout/components/Navbar.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index 5b45e3c..bb34f1b 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;
@@ -125,6 +130,8 @@
width: 118px;
height: 40px;
img {
+ width: 118px;
+ height: 40px;
margin-left: 20px;
cursor: pointer;
}
--
Gitblit v1.9.3