Authored by 王水玲

sale bug 修改

@@ -315,6 +315,7 @@ function search(opt) { @@ -315,6 +315,7 @@ function search(opt) {
315 315
316 // 筛选初始化 316 // 筛选初始化
317 function filterInit() { 317 function filterInit() {
  318 +
318 $.ajax({ 319 $.ajax({
319 type: 'GET', 320 type: 'GET',
320 url: '/product/sale/filter', 321 url: '/product/sale/filter',
@@ -393,6 +394,10 @@ $listNav.on('touchend touchcancel', function(e) { @@ -393,6 +394,10 @@ $listNav.on('touchend touchcancel', function(e) {
393 // 重置筛选项 394 // 重置筛选项
394 filter.resetFilter(); 395 filter.resetFilter();
395 $('.classify .shower').removeClass('default'); 396 $('.classify .shower').removeClass('default');
  397 +
  398 + defaultOpt.breakSort = $this.data('id');
  399 + defaultOpt.breakSize = $this.data('allsub');
  400 +
396 filterInit(); 401 filterInit();
397 defaultOpt = $.extend({}, storeOpt); 402 defaultOpt = $.extend({}, storeOpt);
398 } 403 }
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 left: 50%; 7 left: 50%;
8 margin-left: -2.5rem; 8 margin-left: -2.5rem;
9 margin-top: -2.5rem; 9 margin-top: -2.5rem;
10 - background: url('/common/404.png') no-repeat; 10 + background: resolve('common/404.png') no-repeat;
11 background-size: 100% 100%; 11 background-size: 100% 100%;
12 } 12 }
13 } 13 }