Showing
4 changed files
with
3 additions
and
8 deletions
@@ -61,12 +61,7 @@ navHammer.on('tap', function(event) { | @@ -61,12 +61,7 @@ navHammer.on('tap', function(event) { | ||
61 | overflow: 'hidden' | 61 | overflow: 'hidden' |
62 | }); | 62 | }); |
63 | } | 63 | } |
64 | -<<<<<<< HEAD | ||
65 | event.srcEvent.stopPropagation(); | 64 | event.srcEvent.stopPropagation(); |
66 | -======= | ||
67 | - | ||
68 | - // event.stopPropagation(); | ||
69 | ->>>>>>> cbe96305668d79dee3cd5fb854d96098141e0f65 | ||
70 | }); | 65 | }); |
71 | 66 | ||
72 | //点击页面主体,收起侧栏导航及二级导航 | 67 | //点击页面主体,收起侧栏导航及二级导航 |
@@ -61,7 +61,7 @@ $('#maybe-like-nav').delegate('li', 'tap', function() { | @@ -61,7 +61,7 @@ $('#maybe-like-nav').delegate('li', 'tap', function() { | ||
61 | 61 | ||
62 | //srcoll to load more | 62 | //srcoll to load more |
63 | $(window).scroll(function () { | 63 | $(window).scroll(function () { |
64 | - if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH) { | 64 | + if ($(window).scrollTop() + winH >= $(document).height() - loadMoreH - 50) { |
65 | if (loading) { | 65 | if (loading) { |
66 | return; | 66 | return; |
67 | } | 67 | } |
@@ -345,7 +345,7 @@ $(window).scroll(function() { | @@ -345,7 +345,7 @@ $(window).scroll(function() { | ||
345 | 345 | ||
346 | //当scroll到1/4$goodsContainer高度后继续请求下一页数据 | 346 | //当scroll到1/4$goodsContainer高度后继续请求下一页数据 |
347 | if ($(window).scrollTop() + winH > | 347 | if ($(window).scrollTop() + winH > |
348 | - $(document).height() - 0.25 * $goodsContainer.height()) { | 348 | + $(document).height() - 0.25 * $goodsContainer.height() - 50) { |
349 | if ($pre !== undefined) { | 349 | if ($pre !== undefined) { |
350 | search(); | 350 | search(); |
351 | } | 351 | } |
@@ -356,7 +356,7 @@ $(window).scroll(function() { | @@ -356,7 +356,7 @@ $(window).scroll(function() { | ||
356 | 356 | ||
357 | //当scroll到1/4$goodsContainer高度后继续请求下一页数据 | 357 | //当scroll到1/4$goodsContainer高度后继续请求下一页数据 |
358 | if ($(window).scrollTop() + winH > | 358 | if ($(window).scrollTop() + winH > |
359 | - $(document).height() - 0.25 * $goodsContainer.height()) { | 359 | + $(document).height() - 0.25 * $goodsContainer.height() - 50) { |
360 | if ($pre !== undefined) { | 360 | if ($pre !== undefined) { |
361 | search(); | 361 | search(); |
362 | } | 362 | } |
-
Please register or login to post a comment