TaoLer/view/taoler/index/search/search.html

62 lines
2.6 KiB
HTML
Raw Normal View History

2022-08-02 21:13:36 +08:00
<!--
* @Author: TaoLer <alipay_tao@qq.com>
* @Date: 2021-12-06 16:04:51
* @LastEditTime: 2022-07-26 11:41:59
* @LastEditors: TaoLer
* @Description: 搜索引擎SEO优化设置
* @FilePath: \github\TaoLer\view\taoler\index\search\search.html
* Copyright (c) 2020~2022 https://www.aieok.com All rights reserved.
-->
{extend name="public/base" /}
{block name="title"}{$sysInfo.webname}{$keywords}搜索内容{/block}
{block name="column"}{include file="public/column" /}{/block}
{block name="content"}
<div class="layui-container">
<div class="layui-row layui-col-space15">
<div class="layui-col-md8">
<div class="fly-panel" style="margin-bottom: 0;">
<div class="fly-panel-title fly-filter"><a href="" class="layui-this">“{$keywords}” 共{$counts}条结果</a></div>
<ul class="fly-list">
{volist name="artList" id="art"}
<li>
<a href="{$Request.domain}{:url('user/home',['id'=>$art.user_id])}" class="fly-avatar">
<img src="{$art.user.user_img}" alt="{$art.user_id|getUserName}"><i class="iconfont icon-renzheng" title="认证信息"></i>
</a>
<h2><a href="{$Request.domain}{$art.url}" title="{$art.title}">{$art.title}</a></h2>
<div class="fly-list-info">
{if config('taoler.config.cate_show') == 1}
<a class="layui-badge" href="{$Request.domain}{:url('cate',['ename'=>$art.cate.ename])}">{$art.cate.catename}</a>
{/if}
<a href="{$Request.domain}{:url('user/home',['id'=>$art.user_id])}" link><cite>{$art.user.name}</cite></a>
<span>{$art.create_time|date='Y-m-d'}</span>
<span class="fly-list-nums">
<i class="iconfont icon-pinglun1" title="回答"></i>{$art.comments_count}
</span>
</div>
{if ($art.is_hot == 1)}
<div class="fly-list-badge"><span class="layui-badge layui-bg-red">精帖</span></div>
{/if}
</li>
{/volist}
</ul>
</div>
</div>
{//右栏}
<div class="layui-col-md4">
<dl class="fly-panel fly-list-one">
<dt class="fly-panel-title">本周热议</dt>
{volist name="artHot" id="vo" empty="还没有帖子"}
<dd>
<a href="{$Request.domain}{$vo.url}">{$vo.title}</a>
<span><i class="iconfont icon-pinglun1"></i> {$vo.comments_count}</span>
</dd>
{/volist}
</dl>
2023-05-05 12:09:57 +08:00
<!--自定义广告-->
{:hook('ads_index_rimg')}
2022-08-02 21:13:36 +08:00
</div>
</div>
</div>
{include file="public/menu" /}
{/block}
{block name="script"} {/block}