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
0c20f431
Commit
0c20f431
authored
Nov 06, 2020
by
luo ying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
引导页修改
parent
0b396786
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
index.vue
pages/welcome/index.vue
+5
-2
No files found.
pages/welcome/index.vue
View file @
0c20f431
<
template
>
<
template
>
<div
class=
"router-main flex fc-m fa-m"
>
<div
class=
"router-main flex fc-m fa-m"
>
<div
class=
"bdImg pr"
@
click=
"
menu = false
"
>
<div
class=
"bdImg pr"
@
click=
"
pageClick
"
>
<div
<div
class=
"one pa cursor"
class=
"one pa cursor"
:class=
"
{ oneHover: oneShow
&&
isIndex == index }"
:class=
"
{ oneHover: oneShow
&&
isIndex == index }"
...
@@ -219,7 +219,6 @@ export default {
...
@@ -219,7 +219,6 @@ export default {
},
},
methods
:
{
methods
:
{
load
()
{
load
()
{
console
.
log
(
this
.
$api
,
this
.
$http
);
this
.
$api
.
get
(
`
${
systemUrl
}
/menu/getusermenu?id=mes_roter`
).
then
((
r
)
=>
{
this
.
$api
.
get
(
`
${
systemUrl
}
/menu/getusermenu?id=mes_roter`
).
then
((
r
)
=>
{
if
(
r
.
result
)
{
if
(
r
.
result
)
{
let
arr
=
r
.
result
[
0
].
children
.
map
((
l
)
=>
{
let
arr
=
r
.
result
[
0
].
children
.
map
((
l
)
=>
{
...
@@ -236,6 +235,10 @@ export default {
...
@@ -236,6 +235,10 @@ export default {
}
}
});
});
},
},
pageClick
()
{
this
.
menu
=
false
;
this
.
oneShow
=
false
;
},
clickLi
(
v
)
{
clickLi
(
v
)
{
if
(
v
)
{
if
(
v
)
{
this
.
$router
.
push
(
v
.
url
);
this
.
$router
.
push
(
v
.
url
);
...
...
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