Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
毕凯
8 years ago
Commit
f609d7ed26af70ff556b76071f147b138fcbb412
2 parents
602080fc
798bc144
Merge branch 'feature/popularity' into 'release/5.7'
选择重复 See merge request
!589
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
public/js/product/sale/search.js
public/js/product/search/list.js
public/js/product/sale/search.js
View file @
f609d7e
...
...
@@ -406,6 +406,11 @@ $('.drop-list').on('touchend', 'li', function(e) {
navType
=
'popularity'
;
}
if
(
$
(
this
).
hasClass
(
'active'
))
{
$
(
'.drop-list'
).
addClass
(
'hide'
);
return
;
}
$
(
this
).
addClass
(
'active'
).
siblings
().
removeClass
(
'active'
);
$firstLiDom
.
find
(
'.nav-txt'
).
text
(
$
(
this
).
find
(
'span'
).
eq
(
0
).
text
());
$firstLiDom
.
attr
(
'data-bp-id'
,
bpIdData
).
addClass
(
'active'
).
siblings
().
removeClass
(
'active'
);
...
...
public/js/product/search/list.js
View file @
f609d7e
...
...
@@ -936,6 +936,11 @@ $('.drop-list').on('touchend', 'li', function(e) {
navType
=
'popularity'
;
}
if
(
$
(
this
).
hasClass
(
'active'
))
{
$
(
'.drop-list'
).
addClass
(
'hide'
);
return
;
}
$
(
this
).
addClass
(
'active'
).
siblings
().
removeClass
(
'active'
);
$firstLiDom
.
find
(
'.nav-txt'
).
text
(
$
(
this
).
find
(
'span'
).
eq
(
0
).
text
());
$firstLiDom
.
attr
(
'data-bp-id'
,
bpIdData
).
addClass
(
'active'
).
siblings
().
removeClass
(
'active'
);
...
...
Please
register
or
login
to post a comment