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
0a071962
authored
Mar 11, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
e594e0a9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
3 deletions
css/style.min.css
css/style.min.css.map
css/style.scss
js/global.js
css/style.min.css
View file @
0a071962
...
...
@@ -75,8 +75,8 @@ body { overflow-x: hidden; }
.pc-index-nav
.pc-nav-wrap
.parent
li
dl
dd
{
height
:
35px
;
line-height
:
35px
;
text-align
:
center
;
transition
:
all
0.4s
ease
;
border
:
solid
1px
transparent
;
}
.pc-index-nav
.pc-nav-wrap
.parent
li
dl
dd
a
{
color
:
#ffffff
;
font-size
:
18px
;
display
:
block
;
}
.pc-index-nav
.pc-nav-wrap
.parent
li
dl
dd
:hover
{
border
:
solid
1px
#18ffcb
;
}
.pc-index-nav
.pc-nav-wrap
.parent
li
:hover
{
background-color
:
#c81e1d
;
}
.pc-index-nav
.pc-nav-wrap
.parent
li
:hover
dl
{
display
:
block
;
}
.pc-index-nav
.pc-nav-wrap
.parent
li
:hover
,
.pc-index-nav
.pc-nav-wrap
.parent
li
.curr
{
background-color
:
#c81e1d
;
}
.pc-index-nav
.pc-nav-wrap
.parent
li
:hover
dl
,
.pc-index-nav
.pc-nav-wrap
.parent
li
.curr
dl
{
display
:
block
;
}
.index-banner
{
position
:
relative
;
width
:
100%
;
height
:
660px
;
overflow
:
hidden
;
}
.index-banner
.banner-wrap
{
position
:
relative
;
width
:
100%
;
height
:
100%
;
}
...
...
css/style.min.css.map
View file @
0a071962
This diff is collapsed.
Click to expand it.
css/style.scss
View file @
0a071962
...
...
@@ -95,7 +95,7 @@
}
}
}
&
:hover
{
&
:hover
,
&
.curr
{
background-color
:
#c81e1d
;
dl
{
display
:
block
;
...
...
js/global.js
View file @
0a071962
...
...
@@ -4,6 +4,19 @@
this
.
handleBind
(
this
);
},
handleBind
:
function
(
opt
)
{
var
hrefUrl
=
window
.
location
.
pathname
;
if
(
hrefUrl
.
indexOf
(
'contact'
)
>
1
)
{
$
(
".pc-nav-wrap ul li"
).
eq
(
3
).
addClass
(
'curr'
).
siblings
(
'li'
).
removeClass
(
'curr'
);
}
else
if
(
hrefUrl
.
indexOf
(
'product'
)
>
1
)
{
$
(
".pc-nav-wrap ul li"
).
eq
(
2
).
addClass
(
'curr'
).
siblings
(
'li'
).
removeClass
(
'curr'
);
}
else
if
(
hrefUrl
.
indexOf
(
'about'
)
>
1
)
{
$
(
".pc-nav-wrap ul li"
).
eq
(
1
).
addClass
(
'curr'
).
siblings
(
'li'
).
removeClass
(
'curr'
);
}
else
{
$
(
".pc-nav-wrap ul li"
).
eq
(
0
).
addClass
(
'curr'
).
siblings
(
'li'
).
removeClass
(
'curr'
);
}
//页面滚动
if
(
$
(
"#wow"
).
length
>
0
)
{
new
WOW
().
init
();
...
...
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