Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop
Showing
6 changed files
with
5 additions
and
5 deletions
framework @ 119c247f
@@ -43,6 +43,7 @@ navHammer.on('tap', function(event) { | @@ -43,6 +43,7 @@ navHammer.on('tap', function(event) { | ||
43 | width: '100%', | 43 | width: '100%', |
44 | overflow: 'hidden' | 44 | overflow: 'hidden' |
45 | }); | 45 | }); |
46 | + | ||
46 | event.srcEvent.stopPropagation(); | 47 | event.srcEvent.stopPropagation(); |
47 | }); | 48 | }); |
48 | 49 |
@@ -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 | } |
@@ -33,7 +33,6 @@ | @@ -33,7 +33,6 @@ | ||
33 | line-height: 90rem / $pxConvertRem; | 33 | line-height: 90rem / $pxConvertRem; |
34 | @include background-image(linear-gradient(#323232, #414141)); | 34 | @include background-image(linear-gradient(#323232, #414141)); |
35 | position: relative; | 35 | position: relative; |
36 | - z-index: 100; | ||
37 | .iconfont { | 36 | .iconfont { |
38 | color: #fff; | 37 | color: #fff; |
39 | } | 38 | } |
-
Please register or login to post a comment