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
Plain Diff
Browse Files
Authored by
uedxwg
9 years ago
Commit
a9391c315a29be3b4f2d22ac117e29588762b11b
2 parents
4f8ecc08
9de213cf
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
11 deletions
framework
static/js/category/brand.js
static/js/home/home.js
static/js/home/maybe-like.js
framework
@
119c247f
Subproject commit
75bbc3b075de19f239532f60c5995d06c5f814e2
Subproject commit
119c247f5cf929aa1e059e40609bb16dd6b58f05
...
...
static/js/category/brand.js
View file @
a9391c3
...
...
@@ -52,14 +52,6 @@ if ($brandList.length > 0) {
});
}
// $('#right-bar .con').find('b').unbind().on('tap', function() {
// var index = $(this).index();
// if ($('.bar-' + index).size() > 0) {
// document.body.scrollTop = parseInt($('.bar-' + index)[0].offsetTop) - parseInt(brandSwipe - 1);
// }
// });
myHammer
=
new
Hammer
(
$
(
'#right-bar .con'
).
find
(
'b'
).
unbind
()[
0
]);
myHammer
.
on
(
'tap'
,
function
(
e
)
{
var
index
=
$
(
this
).
index
();
...
...
static/js/home/home.js
View file @
a9391c3
...
...
@@ -61,8 +61,12 @@ navHammer.on('tap', function(event) {
overflow
:
'hidden'
});
}
<<<<<<<
HEAD
event
.
srcEvent
.
stopPropagation
();
=======
// event.stopPropagation();
>>>>>>>
cbe96305668d79dee3cd5fb854d96098141e0f65
});
//点击页面主体,收起侧栏导航及二级导航
...
...
static/js/home/maybe-like.js
View file @
a9391c3
...
...
@@ -99,11 +99,12 @@ $(window).scroll(function () {
}
return
;
}
$goodList
.
append
(
data
);
num
=
$goodList
.
find
(
'.good-info'
).
length
;
//lazyLoad
//lazyLoad($goodList.children('.good-info:gt(' + (num - 1) + ')').find('img.lazy'));
lazyLoad
(
$
(
'.good-info'
).
find
(
'img.lazy'
));
lazyLoad
(
$goodList
.
children
(
'.good-info:gt('
+
(
num
-
1
)
+
')'
).
find
(
'img.lazy'
));
loading
=
false
;
page
++
;
...
...
Please
register
or
login
to post a comment