Authored by runner

更多活动update

... ... @@ -11,6 +11,4 @@
</a>
{{/data}}
</div>
{{#if showMore}}
<div class="more-activity">更多精彩活动</div>
{{/if}}
<div class="more-activity ">更多精彩活动</div>
... ...
... ... @@ -72,3 +72,21 @@ if ($('#list-nav').length > 0) {
el: '#list-nav'
}).goto(0);
}
if ($('.back-ground-white').length > 10) {
$('.more-activity').show();
$('.back-ground-white').each(function(index, e) {
if(index > 9) {
e.hide();
}
});
}
$('.more-activity').click(function() {
$('.more-activity').hide();
$('.back-ground-white').each(function(index, e) {
if(index > 9) {
e.show();
}
});
});
... ...