TaoLer/view/taoler/index/public/column.html

23 lines
1.4 KiB
HTML
Raw Normal View History

2021-05-14 17:57:15 +08:00
<div class="fly-panel fly-column layui-hide-xs">
2020-01-01 13:17:19 +08:00
<div class="layui-container">
<ul class="layui-clear">
<li class="layui-hide-xs {if ($Request.param.ename =='' && $Request.param.id =='')} layui-this {/if}" >
2022-08-02 21:13:36 +08:00
<a href="{$Request.domain}">{:lang('home page')}</a>
</li>
{volist name="cateList" id="cate"}
<li {if condition="$cate.ename eq $Request.param.ename"} class="layui-this" {/if} >
<a href="{$Request.domain}{:url('cate',['ename' => $cate.ename])}">{:cookie('think_lang') == 'en-us' ? $cate.ename : $cate.catename}{if condition="$cate.is_hot eq 1"}<span class="layui-badge-dot"></span>{/if}</a>
</li>
{/volist}
2020-01-01 13:17:19 +08:00
<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><span class="fly-mid"></span></li>
2022-08-02 21:13:36 +08:00
{if session('?user_id')}
<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="{:url('user/post')}">{:lang('my post')}</a></li>
<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="{:url('user/post#collection')}">{:lang('my collection')}</a></li>
{/if}
2020-01-01 13:17:19 +08:00
</ul>
<div class="fly-column-right layui-hide-xs">
2022-08-02 21:13:36 +08:00
<span class="fly-search" data-url="{:url('user_search')}"><i class="layui-icon">&#xe615;</i></span>
<a href="{:url('add_article',['cate'=>$Request.param.ename])}" class="layui-btn" id="add_post">{:lang('add post')}</a>
2020-01-01 13:17:19 +08:00
</div>
</div>
</div>