33 lines
1.3 KiB
HTML
33 lines
1.3 KiB
HTML
|
<li>
|
|||
|
<a href="{:url('user/home',['id'=>$art.user_id])}" class="fly-avatar">
|
|||
|
<img src="{$art.user.user_img}" alt="{$art.user.name}">
|
|||
|
</a>
|
|||
|
<h2>
|
|||
|
<a class="layui-badge">{$art.cate.catename}</a>
|
|||
|
<a href="{:url('article/detail',['id' => $art.id])}" style="color:{$art.title_color};">{$art.title}</a>
|
|||
|
</h2>
|
|||
|
<div class="fly-list-info">
|
|||
|
<a href="{:url('user/home',['id'=>$art.user.id])}" link>
|
|||
|
<i class="layui-badge layui-bg-green" title="来自哪简称">{:getAsing($art.user.area_id) ?: '无'}</i>
|
|||
|
<cite>{$art.user.nickname ?: $art.user.name}</cite>
|
|||
|
<!--
|
|||
|
<i class="iconfont icon-renzheng" title="认证信息:XXX"></i>
|
|||
|
-->
|
|||
|
{if($art.user.vip > 0)}
|
|||
|
<i class="layui-badge fly-badge-vip">VIP{$art.user.vip}</i>
|
|||
|
{/if}
|
|||
|
</a>
|
|||
|
<span>{$art.create_time|date='Y-m-d'}</span>
|
|||
|
|
|||
|
<span class="layui-hide-xs" title="人气"><i class="iconfont" title="人气"></i> {$art.pv}</span>
|
|||
|
{if ($art.jie == 1)}<span class="layui-badge fly-badge-accept layui-hide-xs">已结</span>{/if}
|
|||
|
|
|||
|
<span class="fly-list-nums">
|
|||
|
<i class="iconfont icon-pinglun1" title="回答"></i>{$art.comments_count}
|
|||
|
</span>
|
|||
|
</div>
|
|||
|
<div class="fly-list-badge">
|
|||
|
{if ($art.is_top == 1)} <span class="layui-badge layui-bg-black" >置顶</span> {/if}
|
|||
|
{if ($art.is_hot == 1)} <span class="layui-badge layui-bg-red">精帖</span> {/if}
|
|||
|
</div>
|
|||
|
</li>
|