Authored by 毕凯

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

@@ -45,7 +45,7 @@ var $listNav = $('#list-nav'), @@ -45,7 +45,7 @@ var $listNav = $('#list-nav'),
45 end: false 45 end: false
46 }, 46 },
47 price: { 47 price: {
48 - order: 0, 48 + order: 1,
49 reload: true, 49 reload: true,
50 page: 0, 50 page: 0,
51 end: false 51 end: false
@@ -474,4 +474,3 @@ $listNav.on('touchstart', 'li', function() { @@ -474,4 +474,3 @@ $listNav.on('touchstart', 'li', function() {
474 }).on('touchend touchcancel', 'li', function() { 474 }).on('touchend touchcancel', 'li', function() {
475 $listNav.find('li').removeClass('bytouch'); 475 $listNav.find('li').removeClass('bytouch');
476 }); 476 });
477 -  
@@ -37,7 +37,7 @@ var $listNav = $('#list-nav'), @@ -37,7 +37,7 @@ var $listNav = $('#list-nav'),
37 end: false 37 end: false
38 }, 38 },
39 price: { 39 price: {
40 - order: 0, 40 + order: 1,
41 reload: true, 41 reload: true,
42 page: 0, 42 page: 0,
43 end: false 43 end: false
@@ -15,8 +15,8 @@ @@ -15,8 +15,8 @@
15 <a href="javascript:void(0);"> 15 <a href="javascript:void(0);">
16 <span class="spanTest">价格</span> 16 <span class="spanTest">价格</span>
17 <span class="icon"> 17 <span class="icon">
18 - <i class="iconfont up">&#xe615;</i>  
19 - <i class="iconfont down cur">&#xe616;</i> 18 + <i class="iconfont up cur">&#xe615;</i>
  19 + <i class="iconfont down">&#xe616;</i>
20 </span> 20 </span>
21 </a> 21 </a>
22 </li> 22 </li>
@@ -61,8 +61,8 @@ @@ -61,8 +61,8 @@
61 <a href="javascript:void(0);"> 61 <a href="javascript:void(0);">
62 <span class="nav-txt">价格</span> 62 <span class="nav-txt">价格</span>
63 <span class="icon"> 63 <span class="icon">
64 - <i class="iconfont up">&#xe615;</i>  
65 - <i class="iconfont down cur">&#xe616;</i> 64 + <i class="iconfont up cur">&#xe615;</i>
  65 + <i class="iconfont down">&#xe616;</i>
66 </span> 66 </span>
67 </a> 67 </a>
68 </li> 68 </li>