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