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

27 lines
1.2 KiB
HTML
Raw Normal View History

2021-05-14 17:57:15 +08:00
<div class="fly-panel fly-column layui-hide-xs">
2023-05-05 12:09:57 +08:00
<div class="layui-container fly-nav-sub">
2023-07-03 12:50:57 +08:00
<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}" >
2023-05-05 12:09:57 +08:00
<a href="{$Request.domain}">{:lang('home page')}</a>
</li>
2023-07-03 12:50:57 +08:00
{//导航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}
2023-05-05 12:09:57 +08:00
</li>
2023-07-03 12:50:57 +08:00
{/taoler:nav}
2022-08-02 21:13:36 +08:00
{/if}
2023-07-03 12:50:57 +08:00
</ul>
2022-09-07 15:24:25 +08:00
<div class="fly-column-right layui-hide-xs">
2022-08-02 21:13:36 +08:00
<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>