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

27 lines
1.6 KiB
HTML
Raw Normal View History

2020-05-16 18:07:23 +08:00
<li>
2022-08-02 20:47:28 +08:00
<a href="{$Request.domain}{:url('user/home',['id'=>$art.user_id])}" class="fly-avatar">
<img src="{$Request.domain}{$art.user.user_img}" alt="{$art.user.name}">
2020-05-16 18:07:23 +08:00
</a>
2023-02-11 21:24:02 +08:00
<h2><a href="{$Request.domain}{$art.url}" style="color:{$art.title_color ?? ''};">{$art.title}</a></h2>
2020-05-16 18:07:23 +08:00
<div class="fly-list-info">
2022-08-02 21:13:36 +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}
<a href="{$Request.domain}{:url('user/home',['id'=>$art.user.id])}" link>
2020-05-16 18:07:23 +08:00
<cite>{$art.user.nickname ?: $art.user.name}</cite>
2022-08-02 21:13:36 +08:00
</a>
2021-06-07 17:53:24 +08:00
<i>{$art.create_time|date='Y-m-d'}</i>
2022-08-02 21:13:36 +08:00
{$art.has_img ?= '<span><i class="layui-icon layui-icon-picture" style="color: #5FB878;"></i></span>'}
{$art.has_video ?= '<span><i class="layui-icon layui-icon-play" style="color: #FF5722;"></i></span>'}
{$art.has_audio ?= '<span><i class="layui-icon layui-icon-speaker" style="color: #000000;"></i></span>'}
2023-05-05 12:04:46 +08:00
{$art.read_type ?= '<span><i class="layui-icon layui-icon-password" style="color: #FF5722;"></i></span>'}
2022-08-02 21:13:36 +08:00
{$art.upzip ?= '<span><i class="layui-icon layui-icon-file-b" style="color: #009688;" title="附件"></i></span>'}
<span class="layui-hide-xs" title="浏览"><i class="iconfont" title="浏览">&#xe60b;</i> {$art.pv}</span>
<span class="fly-list-nums"><i class="iconfont icon-pinglun1" title="回答"></i>{$art.comments_count}</span>
2020-05-16 18:07:23 +08:00
</div>
<div class="fly-list-badge">
2022-08-02 21:13:36 +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>