Showing
1 changed file
with
2 additions
and
3 deletions
@@ -8,7 +8,6 @@ var plusstar = {}, | @@ -8,7 +8,6 @@ var plusstar = {}, | ||
8 | $footer = $('#yoho-footer'); | 8 | $footer = $('#yoho-footer'); |
9 | 9 | ||
10 | require('../common'); | 10 | require('../common'); |
11 | -lazyLoad($('img.lazy')); | ||
12 | 11 | ||
13 | plusstar = { | 12 | plusstar = { |
14 | init: function() { | 13 | init: function() { |
@@ -74,12 +73,12 @@ plusstar = { | @@ -74,12 +73,12 @@ plusstar = { | ||
74 | 73 | ||
75 | //处理左右滑动,未加载的图片 | 74 | //处理左右滑动,未加载的图片 |
76 | setTimeout(function() { | 75 | setTimeout(function() { |
77 | - $('.focus-left-right img.lazy').each(function() { | 76 | + $('img.lazy').each(function() { |
78 | if ($(this).attr('src') !== $(this).data('original')) { | 77 | if ($(this).attr('src') !== $(this).data('original')) { |
79 | $(this).attr('src', $(this).data('original')); | 78 | $(this).attr('src', $(this).data('original')); |
80 | } | 79 | } |
81 | }); | 80 | }); |
82 | - }, 20); | 81 | + }, 40); |
83 | }, | 82 | }, |
84 | error: function() { | 83 | error: function() { |
85 | tip.show('网络断开连接了~'); | 84 | tip.show('网络断开连接了~'); |
-
Please register or login to post a comment