Merge remote-tracking branch 'origin/develop'
Showing
1 changed file
with
1 additions
and
11 deletions
@@ -80,9 +80,6 @@ function loadData($parent, url, page) { | @@ -80,9 +80,6 @@ function loadData($parent, url, page) { | ||
80 | page: page | 80 | page: page |
81 | }, | 81 | }, |
82 | success: function(data) { | 82 | success: function(data) { |
83 | - | ||
84 | - //setTimeout(function() { //模拟延时 | ||
85 | - | ||
86 | if (url === 'favBrand') { | 83 | if (url === 'favBrand') { |
87 | $brandLoadMore.addClass('hide'); | 84 | $brandLoadMore.addClass('hide'); |
88 | } else { | 85 | } else { |
@@ -95,7 +92,6 @@ function loadData($parent, url, page) { | @@ -95,7 +92,6 @@ function loadData($parent, url, page) { | ||
95 | } else if (data === 'end') { | 92 | } else if (data === 'end') { |
96 | $parent.closest('.fav-type').find('.fav-load-background') | 93 | $parent.closest('.fav-type').find('.fav-load-background') |
97 | .removeClass('fav-load-background').html('没有更多了'); | 94 | .removeClass('fav-load-background').html('没有更多了'); |
98 | - | ||
99 | } else if (data.length > 10) { | 95 | } else if (data.length > 10) { |
100 | $parent.append(data); | 96 | $parent.append(data); |
101 | $parent.closest('.fav-type').find('.fav-content-loading').remove(); | 97 | $parent.closest('.fav-type').find('.fav-content-loading').remove(); |
@@ -106,14 +102,8 @@ function loadData($parent, url, page) { | @@ -106,14 +102,8 @@ function loadData($parent, url, page) { | ||
106 | } else { | 102 | } else { |
107 | lockId = false;//请求成功后解锁商品收藏page++ | 103 | lockId = false;//请求成功后解锁商品收藏page++ |
108 | } | 104 | } |
109 | - | ||
110 | - window.rePosFooter(); | ||
111 | - | ||
112 | - } else { | ||
113 | - return; | ||
114 | } | 105 | } |
115 | - | ||
116 | - //},1000); | 106 | + window.rePosFooter(); |
117 | } | 107 | } |
118 | }); | 108 | }); |
119 | } | 109 | } |
-
Please register or login to post a comment