...
|
...
|
@@ -106,7 +106,7 @@ function setIndexAction() { |
|
|
if (bannerLen > 1) {
|
|
|
avatarSwiper = new Swiper('.avatar-1', {
|
|
|
loop: true,
|
|
|
initialSlide: 0,
|
|
|
initialSlide: 2,
|
|
|
centeredSlides: true,
|
|
|
slidesPerView: 'auto',
|
|
|
loopedSlides: bannerLen,
|
...
|
...
|
@@ -160,12 +160,6 @@ function setIndexAction() { |
|
|
setAvatar($(item));
|
|
|
});
|
|
|
|
|
|
$('.star').each(function(key, item) {
|
|
|
if ($(item).attr('src') === '') {
|
|
|
$(item).addClass('default-avater');
|
|
|
}
|
|
|
});
|
|
|
|
|
|
$('#yoho-header, .head-tab').on('touchmove', function() {
|
|
|
return false;
|
|
|
});
|
...
|
...
|
|