TaoLer/view/taoler/index/public/user-nav.html
2021-12-15 15:46:04 +08:00

44 lines
1.4 KiB
HTML

<ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
<li class="layui-nav-item {if($Request.action=='index')}layui-this{/if}">
<a href="{:url('user/index')}">
<i class="layui-icon layui-icon-user"></i>
{:lang('user center')}
</a>
</li>
<li class="layui-nav-item {if($Request.action=='set')}layui-this{/if}">
<a href="{:url('user/set')}">
<i class="layui-icon layui-icon-set"></i>
{:lang('set info')}
</a>
</li>
<li class="layui-nav-item {if($Request.action=='post')}layui-this{/if}">
<a href="{:url('user/post')}">
<i class="layui-icon layui-icon-read"></i>
{:lang('my post')}
</a>
</li>
<li class="layui-nav-item {if($Request.action=='message')}layui-this{/if}">
<a href="{:url('user/message')}">
<i class="layui-icon layui-icon-notice"></i>
{:lang('my message')}
</a>
</li>
<li class="layui-nav-item {if($Request.action=='key')}layui-this{/if}">
<a href="{:url('Api/key')}">
<i class="layui-icon layui-icon-vercode"></i>
{:lang('my auth')}
</a>
</li>
<li class="layui-nav-item">
<a href="{:url('user/home',['id'=>session('user_id')])}">
<i class="layui-icon layui-icon-home"></i>
{:lang('my page')}
</a>
</li>
</ul>
<div class="site-tree-mobile-user layui-hide">
<i class="layui-icon layui-icon-right"></i>
</div>
<div class="site-mobile-shade-user"></div>