From f0ff93bd4b1636ed99f637b86cd4f0b8af63414d Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Tue, 03 Jun 2025 18:34:32 +0800
Subject: [PATCH] style
---
src/components/layout/headerMenuItem.vue | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/src/components/layout/headerMenuItem.vue b/src/components/layout/headerMenuItem.vue
index 8d6a9bd..acd6fa8 100644
--- a/src/components/layout/headerMenuItem.vue
+++ b/src/components/layout/headerMenuItem.vue
@@ -50,7 +50,7 @@
<div class="dropdown-content" v-if="menuList.length">
<div
class="dropdown-item dropdown-right-item pl-20"
- style="line-height: 40px; color: #000000"
+ style="line-height: 40px; color: #fff"
v-if="title == 'zhanghu' && store.existToken"
>
{{ store.userInfo.username }}
@@ -180,12 +180,12 @@
.dropdown-content {
display: none;
position: absolute;
- background-color: #fff;
+ background-color: #11263a;
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
z-index: 100;
- padding: 12px 0;
+ /* padding: 12px 0; */
border-radius: 12px;
- width: 290px;
+ /* width: 290px; */
box-sizing: border-box;
}
@@ -215,13 +215,14 @@
left: 0;
top: 0;
border-radius: 0;
- background-color: #fff;
+ background-color: #11263a;
position: relative;
}
-.dropdown-item:hover {
- background-color: #f4f4f4;
- opacity: 0.9;
+.dropdown-item-title:hover {
+ /* background-color: #f4f4f4; */
+ /* opacity: 0.9; */
+ color: #f7b328 !important;
}
.dropdown-right-item,
@@ -252,7 +253,7 @@
position: absolute;
left: 58px;
top: 18%;
- color: #000;
+ color: #fff;
font-size: 14px;
line-height: 17px;
font-weight: 600;
--
Gitblit v1.9.3