Showing
3 changed files
with
3 additions
and
3 deletions
@@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
15 | <div class="top-filter clearfix"> | 15 | <div class="top-filter clearfix"> |
16 | <div class="filter-content"> | 16 | <div class="filter-content"> |
17 | <ul class="filter-type"> | 17 | <ul class="filter-type"> |
18 | - <li class="type-item">推荐<i class="icon down icon-sort-down"></i></li> | 18 | + <li class="type-item">新品<i class="icon down icon-sort-down"></i></li> |
19 | <li class="type-item">筛选<i class="icon down icon-sort-down"></i></li> | 19 | <li class="type-item">筛选<i class="icon down icon-sort-down"></i></li> |
20 | </ul> | 20 | </ul> |
21 | </div> | 21 | </div> |
@@ -38,7 +38,7 @@ | @@ -38,7 +38,7 @@ | ||
38 | 38 | ||
39 | // query | 39 | // query |
40 | url: '/product/list.json', | 40 | url: '/product/list.json', |
41 | - order: '', | 41 | + order: 's_t_desc', |
42 | filter: {}, | 42 | filter: {}, |
43 | page: 0, // 未搜索 page=0; 全部加载完 page = totalPage; 无数据: page !=0 && productList.length=0 | 43 | page: 0, // 未搜索 page=0; 全部加载完 page = totalPage; 无数据: page !=0 && productList.length=0 |
44 | totalPage: null, | 44 | totalPage: null, |
@@ -28,7 +28,7 @@ | @@ -28,7 +28,7 @@ | ||
28 | data: function() { | 28 | data: function() { |
29 | return { | 29 | return { |
30 | url: '/product/search.json', | 30 | url: '/product/search.json', |
31 | - order: '', | 31 | + order: 's_t_desc', |
32 | orderType: 0, | 32 | orderType: 0, |
33 | query: qs.query ? decodeURIComponent(qs.query) : '', | 33 | query: qs.query ? decodeURIComponent(qs.query) : '', |
34 | page: 0, // 未搜索 page=0; 全部加载完 page = totalPage; 无数据: page !=0 && productList.length=0 | 34 | page: 0, // 未搜索 page=0; 全部加载完 page = totalPage; 无数据: page !=0 && productList.length=0 |
-
Please register or login to post a comment