...
|
...
|
@@ -87,8 +87,6 @@ function bindAvatar(dom) { |
|
|
} else if (window.queryString.app_version) {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
function setIndexAction() {
|
...
|
...
|
@@ -125,7 +123,7 @@ function setIndexAction() { |
|
|
});
|
|
|
|
|
|
starIScroll.iScroll.on('scroll', function() {
|
|
|
if (commonHeaderTop > $avatarWrap.offset().top) {
|
|
|
if ($avatarWrap.offset().top <= 0) {
|
|
|
$('.avatar-clone').show();
|
|
|
|
|
|
if (!avatarSwiperClone) {
|
...
|
...
|
@@ -152,7 +150,7 @@ function setIndexAction() { |
|
|
}
|
|
|
}
|
|
|
|
|
|
if (Math.abs(this.startY) < $('.banner-top').height() + avatarHeight + $('.head-tab').height()) {
|
|
|
if ($avatarWrap.offset().top > $('.avatar-1')[0].scrollHeight) {
|
|
|
$('.avatar-clone').hide();
|
|
|
}
|
|
|
});
|
...
|
...
|
|