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>
... ... @@ -53,4 +53,4 @@
{{> product/suspend-cart}}
</div>
{{> layout/footer}}
\ No newline at end of file
{{> layout/footer}}
... ...
... ... @@ -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>
... ... @@ -93,4 +93,4 @@
{{> product/query-param}}
{{> product/suspend-cart}}
{{/ goodList}}
\ No newline at end of file
{{/ goodList}}
... ...