TaoLer/view/taoler/index/public/column.html
2023-07-03 12:50:57 +08:00

27 lines
1.2 KiB
HTML

<div class="fly-panel fly-column layui-hide-xs">
<div class="layui-container fly-nav-sub">
<ul class="layui-nav layui-bg-white layui-hide-xs">
<li class="layui-nav-item layui-hide-xs {if ($Request.param.ename =='' && $Request.param.id =='')} layui-this {/if}" >
<a href="{$Request.domain}">{:lang('home page')}</a>
</li>
{//导航nav}
{if config('taoler.config.nav_top') == 0}
{taoler:nav}
<li class="layui-nav-item {if condition='$nav.ename eq $Request.param.ename'} layui-this {/if}" >
<a href="{nav:link /}">{nav:title} {if condition="$nav.is_hot eq 1"} <span class="layui-badge-dot"></span> {/if}</a>
{notempty name="nav.children"}
<dl class="layui-nav-child"> <!-- 二级菜单 -->
{taoler:snav}
<dd><a href="{snav:link /}">{snav:name /}</a></dd>
{/taoler:snav}
</dl>
{/notempty}
</li>
{/taoler:nav}
{/if}
</ul>
<div class="fly-column-right layui-hide-xs">
<a href="{:url('add_article',['cate'=>$Request.param.ename])}" class="layui-btn" id="add_post">{:lang('add post')}</a>
</div>
</div>
</div>