Showing
1 changed file
with
4 additions
and
5 deletions
@@ -20,10 +20,9 @@ var winH = $(window).height(), | @@ -20,10 +20,9 @@ var winH = $(window).height(), | ||
20 | url; | 20 | url; |
21 | 21 | ||
22 | var $curNav, | 22 | var $curNav, |
23 | - $navList = $('#maybe-like-nav'), | ||
24 | - $goodsList = $('#goods-list'), | ||
25 | - $goods = $goodsList.children('.goods-list'); | ||
26 | - | 23 | + index, |
24 | + $navList = $('#maybe-like-nav'); | ||
25 | + | ||
27 | //ajax url | 26 | //ajax url |
28 | if (kidsType) { | 27 | if (kidsType) { |
29 | url = '/product/recom/maylikekids'; | 28 | url = '/product/recom/maylikekids'; |
@@ -37,6 +36,7 @@ $curNav = $navList.children('.focus'); | @@ -37,6 +36,7 @@ $curNav = $navList.children('.focus'); | ||
37 | 36 | ||
38 | $('#maybe-like-nav').delegate('li', 'touchstart', function() { | 37 | $('#maybe-like-nav').delegate('li', 'touchstart', function() { |
39 | var $this = $(this), | 38 | var $this = $(this), |
39 | + $goods = $('.goods-list'), | ||
40 | $content; | 40 | $content; |
41 | 41 | ||
42 | 42 | ||
@@ -77,7 +77,6 @@ $(window).scroll(function () { | @@ -77,7 +77,6 @@ $(window).scroll(function () { | ||
77 | loading = true; | 77 | loading = true; |
78 | return; | 78 | return; |
79 | } | 79 | } |
80 | - | ||
81 | $goodList.append(data); | 80 | $goodList.append(data); |
82 | 81 | ||
83 | //lazyLoad | 82 | //lazyLoad |
-
Please register or login to post a comment