33 lines
1.5 KiB
HTML
33 lines
1.5 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">{:cookie('think_lang') == 'en-us' ? $art.cate.ename : $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">{:lang('end')}</span>{/if}
|
||
|
||
<span class="fly-list-nums">
|
||
{notempty name="$art.upzip"}<i class="layui-icon layui-icon-file" style="font-size: 15px; color: #393D49;" title="附件"></i>{/notempty}
|
||
<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" >{:lang('top')}</span> {/if}
|
||
{if ($art.is_hot == 1)} <span class="layui-badge layui-bg-red">{:lang('hot')}</span> {/if}
|
||
</div>
|
||
</li> |