Authored by hf

to control develop env do not use session

@@ -5406,13 +5406,17 @@ function getOrders(option) { @@ -5406,13 +5406,17 @@ function getOrders(option) {
5406 5406
5407 if (opt.page === 1) { 5407 if (opt.page === 1) {
5408 $curContainer.html(data); 5408 $curContainer.html(data);
5409 - lazyLoad($curContainer.find('.lazy')); 5409 + lazyLoad($curContainer.find('.lazy'), {
  5410 + try_again_css: 'order-failure'
  5411 + });
5410 } else { 5412 } else {
5411 num = $curContainer.children('.order').length; 5413 num = $curContainer.children('.order').length;
5412 $curContainer.append(data); 5414 $curContainer.append(data);
5413 5415
5414 //lazyload 5416 //lazyload
5415 - lazyLoad($curContainer.children('.order:gt(' + (num - 1) + ')').find('.lazy')); 5417 + lazyLoad($curContainer.children('.order:gt(' + (num - 1) + ')').find('.lazy'), {
  5418 + try_again_css: 'order-failure'
  5419 + });
5416 } 5420 }
5417 5421
5418 window.rePosFooter(); //重新计算底部位置 5422 window.rePosFooter(); //重新计算底部位置
@@ -5426,7 +5430,9 @@ function getOrders(option) { @@ -5426,7 +5430,9 @@ function getOrders(option) {
5426 }); 5430 });
5427 } 5431 }
5428 5432
5429 -lazyLoad(); 5433 +lazyLoad({
  5434 + try_again_css: 'order-failure'
  5435 +});
5430 5436
5431 //初始化导航 5437 //初始化导航
5432 (function() { 5438 (function() {
@@ -5662,7 +5668,9 @@ var orderId = $('#order-detail').data('id'); @@ -5662,7 +5668,9 @@ var orderId = $('#order-detail').data('id');
5662 5668
5663 var optHammer; 5669 var optHammer;
5664 5670
5665 -lazyLoad(); 5671 +lazyLoad({
  5672 + try_again_css: 'order-failure'
  5673 +});
5666 5674
5667 //订单删除 5675 //订单删除
5668 optHammer = new Hammer(document.getElementsByClassName('opt')[0]); 5676 optHammer = new Hammer(document.getElementsByClassName('opt')[0]);
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.