Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
xinhot
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b32061f8
authored
Mar 11, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
0a071962
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
js/global.js
js/global.js
View file @
b32061f8
...
@@ -7,11 +7,11 @@
...
@@ -7,11 +7,11 @@
var
hrefUrl
=
window
.
location
.
pathname
;
var
hrefUrl
=
window
.
location
.
pathname
;
if
(
hrefUrl
.
indexOf
(
'contact'
)
>
1
)
{
if
(
hrefUrl
.
indexOf
(
'contact'
)
>
-
1
)
{
$
(
".pc-nav-wrap ul li"
).
eq
(
3
).
addClass
(
'curr'
).
siblings
(
'li'
).
removeClass
(
'curr'
);
$
(
".pc-nav-wrap ul li"
).
eq
(
3
).
addClass
(
'curr'
).
siblings
(
'li'
).
removeClass
(
'curr'
);
}
else
if
(
hrefUrl
.
indexOf
(
'product'
)
>
1
)
{
}
else
if
(
hrefUrl
.
indexOf
(
'product'
)
>
-
1
)
{
$
(
".pc-nav-wrap ul li"
).
eq
(
2
).
addClass
(
'curr'
).
siblings
(
'li'
).
removeClass
(
'curr'
);
$
(
".pc-nav-wrap ul li"
).
eq
(
2
).
addClass
(
'curr'
).
siblings
(
'li'
).
removeClass
(
'curr'
);
}
else
if
(
hrefUrl
.
indexOf
(
'about'
)
>
1
)
{
}
else
if
(
hrefUrl
.
indexOf
(
'about'
)
>
-
1
)
{
$
(
".pc-nav-wrap ul li"
).
eq
(
1
).
addClass
(
'curr'
).
siblings
(
'li'
).
removeClass
(
'curr'
);
$
(
".pc-nav-wrap ul li"
).
eq
(
1
).
addClass
(
'curr'
).
siblings
(
'li'
).
removeClass
(
'curr'
);
}
else
{
}
else
{
$
(
".pc-nav-wrap ul li"
).
eq
(
0
).
addClass
(
'curr'
).
siblings
(
'li'
).
removeClass
(
'curr'
);
$
(
".pc-nav-wrap ul li"
).
eq
(
0
).
addClass
(
'curr'
).
siblings
(
'li'
).
removeClass
(
'curr'
);
...
...
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