Authored by 毕凯

列表页面价格排序 默认从低到高 code review by @liangzhifeng

... ... @@ -45,7 +45,7 @@ var $listNav = $('#list-nav'),
end: false
},
price: {
order: 0,
order: 1,
reload: true,
page: 0,
end: false
... ... @@ -474,4 +474,3 @@ $listNav.on('touchstart', 'li', function() {
}).on('touchend touchcancel', 'li', function() {
$listNav.find('li').removeClass('bytouch');
});
... ...
... ... @@ -37,7 +37,7 @@ var $listNav = $('#list-nav'),
end: false
},
price: {
order: 0,
order: 1,
reload: true,
page: 0,
end: false
... ...
... ... @@ -15,8 +15,8 @@
<a href="javascript:void(0);">
<span class="spanTest">价格</span>
<span class="icon">
<i class="iconfont up">&#xe615;</i>
<i class="iconfont down cur">&#xe616;</i>
<i class="iconfont up cur">&#xe615;</i>
<i class="iconfont down">&#xe616;</i>
</span>
</a>
</li>
... ...
... ... @@ -61,8 +61,8 @@
<a href="javascript:void(0);">
<span class="nav-txt">价格</span>
<span class="icon">
<i class="iconfont up">&#xe615;</i>
<i class="iconfont down cur">&#xe616;</i>
<i class="iconfont up cur">&#xe615;</i>
<i class="iconfont down">&#xe616;</i>
</span>
</a>
</li>
... ...