Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
02f0593673eec320c495effc24ebf9ca5f313194
1 parent
50f020f8
搜索页面 筛选框优化
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
web-static/js/product/filter.js
web-static/sass/product/_filter-box.scss
web-static/js/product/filter.js
View file @
02f0593
...
...
@@ -259,9 +259,12 @@ if ($udPrice.length > 0) {
//【高级选项】鼠标移入显示子项
$seniorAttrWrap
.
on
(
'mouseenter'
,
'.attr'
,
function
()
{
var
index
=
$
(
this
).
addClass
(
'hover'
).
index
();
var
$this
=
$
(
this
);
var
index
=
$this
.
index
();
$this
.
addClass
(
'hover'
).
siblings
().
removeClass
(
'hover'
);
$seniorSubWrap
.
children
(
'.senior-sub:eq('
+
index
+
')'
).
removeClass
(
'hide'
);
$seniorSubWrap
.
children
(
'.senior-sub:eq('
+
index
+
')'
).
removeClass
(
'hide'
)
.
siblings
().
addClass
(
'hide'
)
;
}).
on
(
'mouseleave'
,
'.attr'
,
function
()
{
var
$this
=
$
(
this
),
index
=
$this
.
index
();
...
...
@@ -296,4 +299,4 @@ $('.senior-sub').on('click', '.multi-select', function() {
clearTimeout
(
seniorHoverTime
);
}).
on
(
'mouseleave'
,
function
()
{
hideSeniorPanel
();
});
\ No newline at end of file
});
...
...
web-static/sass/product/_filter-box.scss
View file @
02f0593
...
...
@@ -265,6 +265,7 @@
top
:
39px
;
background
:
#fff
;
border
:
1px
solid
#eaeceb
;
z-index
:
1
;
ul
{
max-width
:
950px
;
...
...
Please
register
or
login
to post a comment