Authored by xuqi

ajax load init data in parodct list page

... ... @@ -40,8 +40,8 @@ var $listNav = $('#list-nav'),
navInfo = {
newest: {
order: 1,
reload: false,
page: 1,
reload: true,
page: 0,
end: false
},
price: {
... ... @@ -355,4 +355,7 @@ $brandHeader.children('.btn-col').bind('tap', function() {
tip.show('网络断开连接了~');
}
});
});
\ No newline at end of file
});
//初始请求最新第一页数据
search();
\ No newline at end of file
... ...
... ... @@ -82,11 +82,7 @@
</li>
</ul>
<div id="goods-container" class="goods-container">
<div class="new-goods container clearfix">
{{# new}}
{{> good}}
{{/ new}}
</div>
<div class="new-goods container clearfix"></div>
<div class="price-goods container clearfix hide"></div>
<div class="discount-goods container clearfix hide"></div>
... ...