Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
梁志锋
2015-10-22 13:47:02 +0800
Commit
8047cf039bce41e8d1eca826ba694ab8aaaa8fd1
2 parents
241dfbd9
d09fd795
Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
static/js/product/list.js
static/js/product/list.js
View file @
8047cf0
...
...
@@ -240,10 +240,11 @@ $listNav.delegate('li', 'touchstart', function() {
// 价格/折扣切换排序状态
$this
.
find
(
'.icon > .iconfont'
).
toggleClass
(
'cur'
);
$pre
=
$active
;
//更新pre为当前项
}
}
else
{
$active
=
$this
.
siblings
(
'.active'
);
if
(
$active
.
hasClass
(
'filter'
))
{
$pre
=
$this
;
//$pre为除筛选导航的其他导航项,若当前active的为筛选,则把$pre置为当前点击项
...
...
Please
register
or
login
to post a comment