Authored by 郝肖肖

footer 潮流优选

... ... @@ -48,8 +48,7 @@ const getProductBatch = (productSkn) => {
productSkn = _.isArray(productSkn) ? productSkn : [productSkn];
return api.get('', {
method: 'h5.product.batch',
productSkn: productSkn.join(','),
app_type: 1
productSkn: productSkn.join(',')
}).then(result => {
return result && result.data ? productProcess.processProductList(result.data.product_list) : [];
});
... ...
... ... @@ -4,7 +4,8 @@ var $ = require('yoho-jquery'),
loading = require('../plugin/loading'),
lazyLoad = require('yoho-jquery-lazyload');
var plusstar = {};
var plusstar = {},
$footer = $('#yoho-footer');
require('../common');
lazyLoad($('img.lazy'));
... ... @@ -94,5 +95,10 @@ plusstar = {
};
$(function() {
if ($footer.length > 0) {
$footer.before(
'<div style="height: ' + parseInt($footer.css('height'), 0) + 'px"></div>'
);
}
plusstar.init();
});
... ...