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

27 lines
1.6 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}" >
2020-11-03 22:25:01 +08:00
<a href="/">{:lang('home page')}</a>
2020-01-01 13:17:19 +08:00
</li>
{volist name="cateList" id="cate"}
2020-03-13 22:59:38 +08:00
<li {if condition="$cate.ename eq $Request.param.ename"} class="layui-this" {/if}>
2022-08-02 20:47:28 +08:00
<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>
2020-01-01 13:17:19 +08:00
</li>
{/volist}
<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><span class="fly-mid"></span></li>
{if session('?user_id')}
2022-08-02 20:47:28 +08:00
<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="{$Request.domain}{:url('user/post')}">{:lang('my post')}</a></li>
<li class="layui-hide-xs layui-hide-sm layui-show-md-inline-block"><a href="{$Request.domain}{:url('user/post#collection')}">{:lang('my collection')}</a></li>
2020-05-10 18:52:02 +08:00
{/if}
2020-01-01 13:17:19 +08:00
</ul>
<div class="fly-column-right layui-hide-xs">
<span class="fly-search"><i class="layui-icon">&#xe615;</i></span>
2022-08-02 20:47:28 +08:00
<a href="{$Request.domain}{:url('article/add')}" class="layui-btn" >{:lang('add post')}</a>
2020-01-01 13:17:19 +08:00
</div>
2021-05-14 17:57:15 +08:00
<!--div class="layui-hide-sm layui-show-xs-block" style="margin-top: -10px; padding-bottom: 10px; text-align: center;">
<a href="javascript:void(0)" class="layui-btn" id="add_post">{:lang('add post')}</a>
2021-05-14 17:57:15 +08:00
</div-->
2020-01-01 13:17:19 +08:00
</div>
</div>