article.phtml
1.05 KB
{{# favArticles}}
<div class="favorite-articles">
{{#if brands.empty}}
{{#with brands}}
{{> home/empty}}
{{/with}}
{{^}}
<ul>
{{# articles}}
<li class="fav-article fav-row" data-id="{{id}}">
<div class="checkbox">
<input type="checkbox">
</div>
<div class="thumb">
<a class="bg-img" href="{{url}}" target="_blank" style="background-image:url({{img}})"></a>
</div>
<div class="text-info">
<a class="name" href="{{url}}" target="_blank">{{name}}</a>
<p class="desc">{{desc}}</p>
<a class="del-favorite" href="{{delUrl}}">[ 删除 ]</a>
</div>
</li>
{{/ articles}}
</ul>
{{/if}}
</div>
{{> home/pager}}
{{/ favArticles}}