...
|
...
|
@@ -251,6 +251,10 @@ myScroll.on('scroll', function() { |
|
|
});
|
|
|
}
|
|
|
} else if (sTop < imgH + nav1H + main1H) {
|
|
|
if ($('#home-page').is(':hidden')) {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
if (!$nav1.hasClass('absolute')) {
|
|
|
$nav1.addClass('absolute')
|
|
|
.removeClass('fixed-top');
|
...
|
...
|
@@ -260,6 +264,10 @@ myScroll.on('scroll', function() { |
|
|
});
|
|
|
}
|
|
|
} else {
|
|
|
if ($('#home-page').is(':hidden')) {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
if (!$nav1.hasClass('hide')) {
|
|
|
$nav1.addClass('hide');
|
|
|
}
|
...
|
...
|
@@ -702,6 +710,7 @@ function postCollect(info) { |
|
|
data: info.data,
|
|
|
|
|
|
success: function(data) {
|
|
|
|
|
|
if (data.code === 200){
|
|
|
if ($('#collect').hasClass('alreadyCollect')) {
|
|
|
$('#collect').attr('class', 'notCollect');
|
...
|
...
|
|