...
|
...
|
@@ -23,19 +23,28 @@ |
|
|
{{#each articles}}
|
|
|
<li data-id="{{articleId}}">
|
|
|
<div class="star-avatar">
|
|
|
<div class="article-avatar-swiper">
|
|
|
<ul class="clearfix swiper-wrapper">
|
|
|
{{#each starAvatar}}
|
|
|
<li class="swiper-slide">
|
|
|
<a href="{{avatarUrl}}">
|
|
|
<img class="swiper-lazy" data-src="{{image src 100 100}}" />
|
|
|
<p class="name">{{name}}</p>
|
|
|
<div class="swiper-lazy-preloader"></div>
|
|
|
</a>
|
|
|
</li>
|
|
|
{{/each}}
|
|
|
</ul>
|
|
|
</div>
|
|
|
{{#if isSwiper}}
|
|
|
<div class="article-avatar-swiper">
|
|
|
<ul class="clearfix swiper-wrapper">
|
|
|
{{#each starAvatar}}
|
|
|
<li class="swiper-slide">
|
|
|
<a href="{{avatarUrl}}">
|
|
|
<img class="swiper-lazy" data-src="{{image src 100 100}}" />
|
|
|
<p class="name">{{name}}</p>
|
|
|
<div class="swiper-lazy-preloader"></div>
|
|
|
</a>
|
|
|
</li>
|
|
|
{{/each}}
|
|
|
</ul>
|
|
|
</div>
|
|
|
{{else}}
|
|
|
{{# starAvatar}}
|
|
|
<a href="{{avatarUrl}}">
|
|
|
<img class="lazy" data-original="{{image src 100 100}}" />
|
|
|
<p class="name">{{name}}</p>
|
|
|
</a>
|
|
|
{{/ starAvatar}}
|
|
|
{{/if}}
|
|
|
</div>
|
|
|
<div class="star-article">
|
|
|
<i class="article-arrow"></i>
|
...
|
...
|
|