王新凯 3 years ago
parent
commit
78fedcf1f6
1 changed files with 0 additions and 72 deletions
  1. 0 72
      application/admin/view/ddd/form.html

+ 0 - 72
application/admin/view/ddd/form.html

@@ -32,84 +32,12 @@
 <body class="layui-layout-body">
 {block name='body'}
 <div class="layui-layout layui-layout-admin layui-layout-left-hide">
-    <!-- 顶部菜单 开始 -->
-    <div class="layui-header notselect">
-        <a href="{:url('@')}" class="layui-logo layui-elip">
-            {:sysconf('app_name')}
-        </a>
-        <ul class="layui-nav layui-layout-left">
-            <li class="layui-nav-item" lay-unselect>
-                <a class="text-center" data-target-menu-type>
-                    <i class="layui-icon layui-icon-spread-left"></i>
-                </a>
-            </li>
-            {foreach $menus as $oneMenu}
-            <li class="layui-nav-item">
-                <!--                <a data-menu-node="m-{$oneMenu.id}" data-open="{$oneMenu.url}">-->
-                <!--                    {notempty name='oneMenu.icon'}<span class='{$oneMenu.icon} padding-right-5'></span>{/notempty}-->
-                <!--                    <span>{$oneMenu.title|default=''}</span>-->
-                <!--                </a>-->
-            </li>
-            {/foreach}
-        </ul>
-        <ul class="layui-nav layui-layout-right">
-            <li lay-unselect class="layui-nav-item"><a data-reload><i class="layui-icon layui-icon-refresh-3"></i></a></li>
-            {notempty name='Think.session.user.username'}
-            <li class="layui-nav-item">
-                <dl class="layui-nav-child">
-                    <dd lay-unselect><a data-modal="{:url('admin/index/pass',['id'=>session('user.id')])}"><i class="layui-icon layui-icon-component margin-right-5"></i>密码设置</a></dd>
 
-                    <dd lay-unselect><a data-confirm="确定要退出登录吗?" data-load="{:url('admin/login/out')}"><i class="layui-icon layui-icon-release margin-right-5"></i>退出登录</a></dd>
-                </dl>
-                <a><span><i class="layui-icon layui-icon-username margin-right-5"></i> {:session('user.username')}</span></a>
-            </li>
-            {else}
-            <li class="layui-nav-item">
-                <a data-href="{:url('@admin/login')}"><i class="layui-icon layui-icon-username"></i> 立即登录</a>
-            </li>
-            {/notempty}
-        </ul>
-    </div>
     <!-- 顶部菜单 结束 -->
 
     <!-- 左则菜单 开始 -->
     <div class="layui-side layui-bg-black notselect">
-        <div class="layui-side-scroll">
 
-            {foreach $menus as $oneMenu}
-            {notempty name='oneMenu.sub'}
-            <ul class="layui-nav layui-nav-tree layui-hide" data-menu-layout="m-{$oneMenu.id}">
-                {foreach $oneMenu.sub as $twoMenu}
-                {empty name='twoMenu.sub'}
-                <li class="layui-nav-item">
-                    <a data-target-tips="{$twoMenu.title}" data-menu-node="m-{$oneMenu.id}-{$twoMenu.id}" data-open="{$twoMenu.url}">
-                        <span class='{$twoMenu.icon|default="layui-icon layui-icon-link"}'></span>
-                        <span class="nav-text padding-left-5">{$twoMenu.title}</span>
-                    </a>
-                </li>
-                {else}
-                <li class="layui-nav-item" data-submenu-layout='m-{$oneMenu.id}-{$twoMenu.id}'>
-                    <a data-target-tips="{$twoMenu.title}" style="background:#393D49">
-                        <span class='{$twoMenu.icon|default="layui-icon layui-icon-link"}'></span>
-                        <span class="nav-text padding-left-5">{$twoMenu.title}</span>
-                    </a>
-                    <dl class="layui-nav-child">
-                        {foreach $twoMenu.sub as $thrMenu}
-                        <dd>
-                            <a data-target-tips="{$thrMenu.title}" data-open="{$thrMenu.url}" data-menu-node="m-{$oneMenu.id}-{$twoMenu.id}-{$thrMenu.id}">
-                                <span class='nav-icon padding-left-5 {$thrMenu.icon|default="layui-icon layui-icon-link"}'></span>
-                                <span class="nav-text padding-left-5">{$thrMenu.title}</span>
-                            </a>
-                        </dd>
-                        {/foreach}
-                    </dl>
-                </li>
-                {/empty}
-                {/foreach}
-            </ul>
-            {/notempty}
-            {/foreach}
-        </div>
     </div>
     <!-- 左则菜单 结束 -->