Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
DC-TOM
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘照晖
DC-TOM
Commits
af761158
Commit
af761158
authored
Jul 03, 2025
by
田争光
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(*):菜单样式修改
parent
6e727fa0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
11 deletions
+26
-11
menuCom.vue
src/layout/menuCom.vue
+9
-9
style.css
src/style.css
+17
-2
No files found.
src/layout/menuCom.vue
View file @
af761158
...
@@ -143,7 +143,7 @@ const getMenuTitle = (item) => {
...
@@ -143,7 +143,7 @@ const getMenuTitle = (item) => {
}
}
.submenu-box
{
.submenu-box
{
background
:
linear-gradient
(
225deg
,
rgba
(
128
,
255
,
178
,
.2
)
,
rgba
(
58
,
120
,
255
,
.1
)
100%
,
#0049fa
0
)
;
background
:
#181d21
;
color
:
#fff
!
important
;
color
:
#fff
!
important
;
span
,
a
,
i
{
span
,
a
,
i
{
color
:
#fff
!
important
;
color
:
#fff
!
important
;
...
@@ -158,7 +158,8 @@ const getMenuTitle = (item) => {
...
@@ -158,7 +158,8 @@ const getMenuTitle = (item) => {
.is-active
{
.is-active
{
color
:
#fff
!
important
;
color
:
#fff
!
important
;
background
:
#03a1b3
!
important
;
// background: #03a1b3 !important;
background
:
linear-gradient
(
225deg
,
rgba
(
128
,
255
,
178
,
.4
)
,
rgba
(
58
,
120
,
255
,
.1
)
100%
,
#0049fa
0
);
span
{
span
{
color
:
#fff
!
important
;
color
:
#fff
!
important
;
}
}
...
@@ -168,7 +169,7 @@ const getMenuTitle = (item) => {
...
@@ -168,7 +169,7 @@ const getMenuTitle = (item) => {
.is-active
{
.is-active
{
.el-submenu__title
{
.el-submenu__title
{
color
:
#FFFFFF
FF
!
important
;
color
:
#FFFFFF
FF
!
important
;
background
:
#03A1B3
FF
!
important
;
//
background: #03A1B3FF !important;
.el-icon-arrow-down
{
.el-icon-arrow-down
{
color
:
#FFFFFF
FF
;
color
:
#FFFFFF
FF
;
...
@@ -198,19 +199,18 @@ const getMenuTitle = (item) => {
...
@@ -198,19 +199,18 @@ const getMenuTitle = (item) => {
.el-menu-item
:hover
,
.el-sub-menu__title
:hover
{
.el-menu-item
:hover
,
.el-sub-menu__title
:hover
{
color
:
#fff
!
important
;
color
:
#fff
!
important
;
background
:
#03a1b3
!
important
;
background
:
linear-gradient
(
225deg
,
rgba
(
128
,
255
,
178
,
.6
)
,
rgba
(
58
,
120
,
255
,
.1
)
100%
,
#0049fa
0
)
!
important
;
span
{
span
{
color
:
#fff
!
important
;
color
:
#fff
!
important
;
}
}
}
}
// menu hover
// menu hover
.submenu-title-noDropdown
,
.submenu-title-noDropdown
,
.el-submenu__title
{
.el-submenu__title
{
background
:
linear-gradient
(
225deg
,
rgba
(
128
,
255
,
178
,
.2
)
,
rgba
(
58
,
120
,
255
,
.1
)
100%
,
#0049fa
0
)
!
important
;
//
background: linear-gradient(225deg, rgba(128, 255, 178, .2), rgba(58, 120, 255, .1) 100%, #0049fa 0) !important;
color
:
#FFFFFF
!
important
;
color
:
#FFFFFF
!
important
;
&
:hover
{
&
:hover
{
background
-color
:
#03a1b3
!
important
;
background
:
linear-gradient
(
225deg
,
rgba
(
128
,
255
,
178
,
.6
)
,
rgba
(
58
,
120
,
255
,
.1
)
100%
,
#0049fa
0
)
!
important
;
}
}
}
}
...
@@ -219,9 +219,9 @@ const getMenuTitle = (item) => {
...
@@ -219,9 +219,9 @@ const getMenuTitle = (item) => {
}
}
.submenu-box
.is-active
{
.submenu-box
.is-active
{
background-color
:
#fff
!
important
;
//
background-color: #fff !important;
span
{
span
{
color
:
#055f7c
!
important
;
//
color: #055f7c !important;
}
}
}
}
...
...
src/style.css
View file @
af761158
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
.page-container
{
.page-container
{
width
:
100%
;
width
:
100%
;
background
:
#
ffffff
;
background
:
#
181d21
;
border-radius
:
6px
;
border-radius
:
6px
;
box-shadow
:
0px
3px
6px
0px
rgba
(
13
,
15
,
18
,
0.1
);
box-shadow
:
0px
3px
6px
0px
rgba
(
13
,
15
,
18
,
0.1
);
padding
:
1rem
;
padding
:
1rem
;
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
.page-container
{
.page-container
{
width
:
100%
;
width
:
100%
;
background
:
#
ffffff
;
background
:
#
181d21
;
border-radius
:
6px
;
border-radius
:
6px
;
box-shadow
:
0px
3px
6px
0px
rgba
(
13
,
15
,
18
,
0.10
);
box-shadow
:
0px
3px
6px
0px
rgba
(
13
,
15
,
18
,
0.10
);
padding
:
1rem
;
padding
:
1rem
;
...
@@ -84,4 +84,19 @@ select:-webkit-autofill {
...
@@ -84,4 +84,19 @@ select:-webkit-autofill {
background-color
:
transparent
;
background-color
:
transparent
;
background-image
:
none
;
background-image
:
none
;
transition
:
background-color
50000s
ease-in-out
0s
;
transition
:
background-color
50000s
ease-in-out
0s
;
}
.el-menu
{
border-right
:
unset
!important
;
}
.el-menu-item
:hover
{
background
:
transparent
!important
;
}
.el-menu-item
.is-active
{
background
:
transparent
!important
;
}
.el-breadcrumb__item
:last-child
.el-breadcrumb__inner
{
color
:
#ccc
!important
;
padding-left
:
16px
;
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment