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
1c9bdcc1
authored
Mar 12, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
3583241b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
css/style.min.css
css/style.min.css.map
css/style.scss
js/global.js
css/style.min.css
View file @
1c9bdcc1
...
...
@@ -77,7 +77,6 @@ body { overflow-x: hidden; }
.pc-index-nav
.pc-nav-wrap
.parent
li
dl
dd
:hover
{
border
:
solid
1px
#18ffcb
;
}
.pc-index-nav
.pc-nav-wrap
.parent
li
.curr
{
background-color
:
#c81e1d
;
}
.pc-index-nav
.pc-nav-wrap
.parent
li
:hover
{
background-color
:
#c81e1d
;
}
.pc-index-nav
.pc-nav-wrap
.parent
li
:hover
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 @
1c9bdcc1
This diff is collapsed.
Click to expand it.
css/style.scss
View file @
1c9bdcc1
...
...
@@ -100,9 +100,6 @@
}
&
:hover
{
background-color
:
#c81e1d
;
dl
{
display
:
block
;
}
}
}
}
...
...
js/global.js
View file @
1c9bdcc1
...
...
@@ -5,8 +5,15 @@
},
handleBind
:
function
(
opt
)
{
var
hrefUrl
=
window
.
location
.
pathname
;
//nav
$
(
".pc-nav-wrap"
).
find
(
'li'
).
hover
(
function
()
{
$
(
this
).
children
(
'dl'
).
slideDown
(
'slow'
);
},
function
()
{
$
(
this
).
children
(
'dl'
).
hide
();
});
//导航active
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
)
{
...
...
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