Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
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
Email Patches
Plain Diff
Browse Files
Authored by
梁志锋
9 years ago
Commit
090b71ac6e58d29851d20e72ec3a04457ac4e9a8
1 parent
a9391c31
update
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
8 deletions
static/js/home/home.js
static/js/home/maybe-like.js
static/js/product/newsale/discount.js
static/js/product/newsale/newarrival.js
static/js/home/home.js
View file @
090b71a
...
...
@@ -61,12 +61,7 @@ navHammer.on('tap', function(event) {
overflow
:
'hidden'
});
}
<<<<<<<
HEAD
event
.
srcEvent
.
stopPropagation
();
=======
// event.stopPropagation();
>>>>>>>
cbe96305668d79dee3cd5fb854d96098141e0f65
});
//点击页面主体,收起侧栏导航及二级导航
...
...
static/js/home/maybe-like.js
View file @
090b71a
...
...
@@ -61,7 +61,7 @@ $('#maybe-like-nav').delegate('li', 'tap', function() {
//srcoll to load more
$
(
window
).
scroll
(
function
()
{
if
(
$
(
window
).
scrollTop
()
+
winH
>=
$
(
document
).
height
()
-
loadMoreH
)
{
if
(
$
(
window
).
scrollTop
()
+
winH
>=
$
(
document
).
height
()
-
loadMoreH
-
50
)
{
if
(
loading
)
{
return
;
}
...
...
static/js/product/newsale/discount.js
View file @
090b71a
...
...
@@ -345,7 +345,7 @@ $(window).scroll(function() {
//当scroll到1/4$goodsContainer高度后继续请求下一页数据
if
(
$
(
window
).
scrollTop
()
+
winH
>
$
(
document
).
height
()
-
0.25
*
$goodsContainer
.
height
())
{
$
(
document
).
height
()
-
0.25
*
$goodsContainer
.
height
()
-
50
)
{
if
(
$pre
!==
undefined
)
{
search
();
}
...
...
static/js/product/newsale/newarrival.js
View file @
090b71a
...
...
@@ -356,7 +356,7 @@ $(window).scroll(function() {
//当scroll到1/4$goodsContainer高度后继续请求下一页数据
if
(
$
(
window
).
scrollTop
()
+
winH
>
$
(
document
).
height
()
-
0.25
*
$goodsContainer
.
height
())
{
$
(
document
).
height
()
-
0.25
*
$goodsContainer
.
height
()
-
50
)
{
if
(
$pre
!==
undefined
)
{
search
();
}
...
...
Please
register
or
login
to post a comment