Authored by weiqingting

hover效果

... ... @@ -16,6 +16,13 @@ require('../common/logo-brand');
require('../common/accordion');
$(document).on('mouseenter', '.imgopacity a img', function() {
$(this).css('opacity', 0.8);
});
$(document).on('mouseout', '.imgopacity a img', function() {
$(this).css('opacity', 1);
});
if (homePage === 'brands') {
require('./brands');
}
... ... @@ -34,12 +41,7 @@ if ($.inArray(homePage, ['boys','girls','kids','lifestyle']) > -1) {
});
}
$(document).on("mouseenter",".imgopacity a img",function(){
$(this).css('opacity', 0.8);
});
$(document).on("mouseout",".imgopacity a img",function(){
$(this).css('opacity', 1);
})
lazyLoad($('img.lazy'));
if (homePage === 'boys') {
... ...