Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
b745bce3
Commit
b745bce3
authored
Aug 17, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
菜单样式
parent
17205f95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
product.vue
layouts/basic-layout/product.vue
+13
-2
No files found.
layouts/basic-layout/product.vue
View file @
b745bce3
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<div
class=
"top_menu_box"
>
<div
class=
"top_menu_box"
>
<table
class=
"t_table_box"
>
<table
class=
"t_table_box"
>
<tr>
<tr>
<td
class=
"t_title"
>
<td
class=
"t_title"
:class=
"
{addclass:isStatic}"
>
<div
class=
"title"
>
<div
class=
"title"
>
<Icon
type=
"ios-home"
/>
<Icon
type=
"ios-home"
/>
<b>
首页
</b>
<b>
首页
</b>
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</td>
</td>
</tr>
</tr>
<tr
v-for=
"(item,i) in filterSider"
:key=
"i"
>
<tr
v-for=
"(item,i) in filterSider"
:key=
"i"
>
<td
class=
"t_title"
>
<td
class=
"t_title"
:class=
"isClass == item.id ? 'addclass' : '' "
>
<div
class=
"title"
>
<div
class=
"title"
>
<Icon
:type=
"item.icon"
/>
<Icon
:type=
"item.icon"
/>
<b>
{{
item
.
title
}}
</b>
<b>
{{
item
.
title
}}
</b>
...
@@ -149,6 +149,8 @@ export default {
...
@@ -149,6 +149,8 @@ export default {
homeMenu
:
""
,
homeMenu
:
""
,
homeMenuItem
:
""
,
homeMenuItem
:
""
,
parthto
:
""
,
parthto
:
""
,
isClass
:
null
,
isStatic
:
false
,
};
};
},
},
computed
:
{
computed
:
{
...
@@ -343,6 +345,8 @@ export default {
...
@@ -343,6 +345,8 @@ export default {
});
});
},
},
goPage
(
u
,
li
)
{
goPage
(
u
,
li
)
{
this
.
isStatic
=
false
;
this
.
isClass
=
u
.
id
;
if
(
li
.
target
==
1
)
{
if
(
li
.
target
==
1
)
{
window
.
open
(
li
.
path
,
"_blank"
);
window
.
open
(
li
.
path
,
"_blank"
);
}
else
{
}
else
{
...
@@ -358,12 +362,16 @@ export default {
...
@@ -358,12 +362,16 @@ export default {
this
.
homeMenu
=
""
;
this
.
homeMenu
=
""
;
this
.
homeMenuItem
=
""
;
this
.
homeMenuItem
=
""
;
this
.
isActive
=
0
;
this
.
isActive
=
0
;
this
.
isClass
=
null
;
this
.
isStatic
=
true
;
},
},
goIndexTwo
()
{
goIndexTwo
()
{
this
.
$router
.
push
(
"/home"
);
this
.
$router
.
push
(
"/home"
);
this
.
homeMenu
=
""
;
this
.
homeMenu
=
""
;
this
.
homeMenuItem
=
""
;
this
.
homeMenuItem
=
""
;
this
.
isActive
=
0
;
this
.
isActive
=
0
;
this
.
isClass
=
null
;
this
.
isStatic
=
true
;
},
},
shoucang
()
{
shoucang
()
{
if
(
this
.
showStar
)
{
if
(
this
.
showStar
)
{
...
@@ -538,6 +546,9 @@ export default {
...
@@ -538,6 +546,9 @@ export default {
margin-top: -12px;
margin-top: -12px;
}
}
}
}
.addclass {
background-color: #282e3b;
}
}
}
}
}
}
}
...
...
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