...
|
...
|
@@ -15,9 +15,11 @@ lazyLoad($('img.lazy')); |
|
|
|
|
|
|
|
|
if ($el.length > 0) {
|
|
|
new Countdown.Countdown({
|
|
|
el: $el
|
|
|
});
|
|
|
$el.each(function(){
|
|
|
Countdown.Countdown({
|
|
|
el: $(this)
|
|
|
})
|
|
|
})
|
|
|
}
|
|
|
|
|
|
if ($('.swiper-container .swiper-slide').length > 1) {
|
...
|
...
|
@@ -69,15 +71,16 @@ if ($('#index_nav').length > 0) { |
|
|
}).goto($('#index_nav').find('.active').index());
|
|
|
}
|
|
|
|
|
|
if ($('.outlet-category-nav').length > 0) {
|
|
|
if ($('#list-nav').length > 0) {
|
|
|
iscroll({
|
|
|
el: '.outlet-category-nav'
|
|
|
el: '#list-nav'
|
|
|
}).goto(0);
|
|
|
}
|
|
|
|
|
|
if ($('.back-ground-white').length > 10) {
|
|
|
$('.more-activity').show();
|
|
|
$('.back-ground-white').each(function(index, e) {
|
|
|
console.log(index);
|
|
|
if(index > 9) {
|
|
|
$(e).hide();
|
|
|
}
|
...
|
...
|
@@ -87,7 +90,7 @@ if ($('.back-ground-white').length > 10) { |
|
|
$('.more-activity').click(function() {
|
|
|
$('.more-activity').hide();
|
|
|
$('.back-ground-white').each(function(index, e) {
|
|
|
if (index > 9) {
|
|
|
if(index > 9) {
|
|
|
$(e).show();
|
|
|
}
|
|
|
});
|
...
|
...
|
|