TaoLer/view/taoler/index/public/index-forumlist.html

37 lines
1.9 KiB
HTML
Raw Normal View History

2020-05-16 18:07:23 +08:00
<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>
2021-07-23 17:05:43 +08:00
{if config('taoler.config.cate_show') == 1}<a class="layui-badge">{:cookie('think_lang') == 'en-us' ? $art.cate.ename : $art.cate.catename}</a>{/if}
2020-05-16 18:07:23 +08:00
<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>
2021-07-22 10:54:03 +08:00
{if config('taoler.config.area_show') == 1}<i class="layui-badge layui-bg-green" title="来自哪简称">{:getAsing($art.user.area_id) ?: '无'}</i>{/if}
2020-05-16 18:07:23 +08:00
<cite>{$art.user.nickname ?: $art.user.name}</cite>
2021-06-07 17:53:24 +08:00
<i>{$art.create_time|date='Y-m-d'}</i>
2020-05-16 18:07:23 +08:00
<!--
<i class="iconfont icon-renzheng" title="认证信息XXX"></i>
{if($art.user.vip > 0)}
2020-12-14 14:53:33 +08:00
<i class="layui-badge fly-badge-vip">vip{$art.user.vip}</i>
2020-05-16 18:07:23 +08:00
{/if}
2021-06-07 17:53:24 +08:00
-->
2020-05-16 18:07:23 +08:00
</a>
2021-05-27 18:09:24 +08:00
<span>
{$art.has_img ?= ' <i class="layui-icon layui-icon-picture" style="color: #5FB878;"></i>'}
2021-06-07 17:53:24 +08:00
{$art.has_video ?= ' <i class="layui-icon layui-icon-play" style="color: #FF5722;"></i>'}
{$art.has_audio ?= ' <i class="layui-icon layui-icon-speaker" style="color: #000000;"></i>'}
2021-05-27 18:09:24 +08:00
{$art.upzip ?= ' <i class="layui-icon layui-icon-file-b" style="color: #009688;" title="附件"></i>'}
</span>
2020-12-14 14:53:33 +08:00
<span class="layui-hide-xs" title="浏览"><i class="iconfont" title="浏览">&#xe60b;</i> {$art.pv}</span>
{if ($art.jie == 1)}<span class="layui-badge fly-badge-accept layui-hide-xs">{:lang('end')}</span>{/if}
2020-05-16 18:07:23 +08:00
2020-12-14 14:53:33 +08:00
<span class="fly-list-nums">
2020-05-16 18:07:23 +08:00
<i class="iconfont icon-pinglun1" title="回答"></i>{$art.comments_count}
</span>
</div>
<div class="fly-list-badge">
2021-07-07 17:17:58 +08:00
{if ($art.is_hot == 1)}<i class="layui-icon layui-icon-fire layui-hide-md" style="font-size: 20px; color: #FF5722;"></i> <span class="layui-badge layui-bg-red layui-hide-xs">{:lang('hot')}</span> {/if}
2020-05-16 18:07:23 +08:00
</div>
</li>