Authored by 郭成尧

loading

... ... @@ -12,9 +12,7 @@ let $ = require('yoho-jquery'),
lazyload = require('yoho-jquery-lazyload'),
tip = require('plugin/tip');
loading.init($(document.body), {
className: 'loading-mask-opactiy'
});
loading.init($(document.body));
let seckillObj = {};
... ... @@ -248,7 +246,7 @@ seckillObj = {
'/product/seckill/get-product-list?app_version=1' :
'/product/seckill/get-product-list';
loading.show();
loading.showLoading();
self.el.$navList.toggleClass('fix-top', false);
$.ajax({
url: url,
... ... @@ -269,7 +267,7 @@ seckillObj = {
}
})
.always(function() {
loading.hide();
loading.hideLoading();
});
},
... ...