Showing
2 changed files
with
3 additions
and
1 deletions
@@ -246,7 +246,7 @@ function setIndexAction() { | @@ -246,7 +246,7 @@ function setIndexAction() { | ||
246 | // 明星头像点击居中显示或跳转 | 246 | // 明星头像点击居中显示或跳转 |
247 | $('.avatar-swiper li').on('click', function() { | 247 | $('.avatar-swiper li').on('click', function() { |
248 | if ($(this).hasClass('swiper-slide-active')) { | 248 | if ($(this).hasClass('swiper-slide-active')) { |
249 | - location.href = $(this).find('img').data('url'); | 249 | + location.href = $(this).find('span').data('url'); |
250 | } else { | 250 | } else { |
251 | avatarKey = $(this).index(); | 251 | avatarKey = $(this).index(); |
252 | 252 |
-
Please register or login to post a comment