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

36 lines
1.9 KiB
HTML
Raw Normal View History

2020-05-16 18:07:23 +08:00
<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>
2021-07-23 17:05:43 +08:00
{if config('taoler.config.cate_show') == 1}<a class="layui-badge">{:cookie('think_lang') == 'en-us' ? $top.cate.ename : $top.cate.catename}</a>{/if}
2022-04-17 17:09:19 +08:00
<a href="{:url('article/detail',['id' => $top.id])}" style="color:{$top.title_color};">{$top.title}</a>
2020-05-16 18:07:23 +08:00
</h2>
<div class="fly-list-info">
<a href="{:url('user/home',['id'=>$top.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($top.user.area_id) ?: '无'}</i>{/if}
2020-05-16 18:07:23 +08:00
<cite>{$top.user.nickname ?: $top.user.name}</cite>
2021-06-07 17:53:24 +08:00
<i>{$top.create_time|date='Y-m-d'}</i>
<!--
<i class="iconfont icon-renzheng" title="认证信息XXX"></i>
2020-05-16 18:07:23 +08:00
{if($top.user.vip > 0)}
2020-12-14 14:53:33 +08:00
<i class="layui-badge fly-badge-vip">vip{$top.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>
2021-06-07 17:53:24 +08:00
{$top.has_img ?= ' <i class="layui-icon layui-icon-picture" style="color: #5FB878;"></i>'}
{$top.has_video ?= ' <i class="layui-icon layui-icon-play" style="color: #FF5722;"></i>'}
{$top.has_audio ?= ' <i class="layui-icon layui-icon-speaker" style="color: #000000;"></i>'}
2021-05-27 18:09:24 +08:00
{$top.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> {$top.pv} </span>
{if ($top.jie == 1)}<span class="layui-badge fly-badge-accept layui-hide-xs">{:lang('end')}</span>{/if}
2021-05-27 18:09:24 +08:00
<span class="fly-list-nums">
2020-05-16 18:07:23 +08:00
<i class="iconfont icon-pinglun1" title="回答"></i> {$top.comments_count}
</span>
</div>
<div class="fly-list-badge">
2021-07-07 17:17:58 +08:00
{if ($top.is_top == 1)}<i class="layui-icon layui-icon-top layui-hide-md" style="font-size: 25px; color: #000000;"></i> <span class="layui-badge layui-bg-black layui-hide-xs" >{:lang('top')}</span> {/if}
2020-05-16 18:07:23 +08:00
</div>
</li>