Showing
5 changed files
with
2 additions
and
8 deletions
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | <ul class="clearfix swiper-wrapper"> | 12 | <ul class="clearfix swiper-wrapper"> |
13 | {{# starAvatar}} | 13 | {{# starAvatar}} |
14 | <li class="swiper-slide"> | 14 | <li class="swiper-slide"> |
15 | - <a class="rank-avatar" href='{{url}}' data-avatar="{{image cover 180 180}}"></a> | 15 | + <a href='{{url}}'><img src="{{image cover 180 180}}" /></a> |
16 | </li> | 16 | </li> |
17 | {{/ starAvatar}} | 17 | {{/ starAvatar}} |
18 | </ul> | 18 | </ul> |
@@ -255,10 +255,6 @@ getIndexHtml = function() { | @@ -255,10 +255,6 @@ getIndexHtml = function() { | ||
255 | $avatarClone.remove(); | 255 | $avatarClone.remove(); |
256 | } | 256 | } |
257 | 257 | ||
258 | - $('.avatar li').each(function() { | ||
259 | - setAvatar($(this).find('span')); | ||
260 | - }); | ||
261 | - | ||
262 | $starMain.before($('.avatar-swiper').clone().addClass('avatar-clone').hide()); | 258 | $starMain.before($('.avatar-swiper').clone().addClass('avatar-clone').hide()); |
263 | 259 | ||
264 | $avatarClone = $('.avatar-clone'); | 260 | $avatarClone = $('.avatar-clone'); |
-
Please register or login to post a comment