{template 'common/header'}
菜单管理

+新建菜单
排序
菜单
开关
操作

{loop $system_menu $permission_name $menu} {if $menu['title']!=''}
- {php echo intval($menu['displayorder'])}
  {$menu['title']}
  {if in_array($permission_name, array('appmarket', 'site'))} 不可关闭 {else} {/if}
  {if empty($menu['is_system'])} 删除 {/if} 编辑 {if !empty($menu['section'])} {/if}
  {loop $menu['section'] $section_name $section}
  - {php echo intval($section['displayorder'])}
    {$section['title']}
    {if $section_name != 'platform_module'} +添加子菜单 {/if}
    {loop $section['menu'] $sub_permission_name $sub_menu} {if $sub_permission_name == 'wxapp_platform_material'} {php continue;} {/if}
    - {php echo intval($sub_menu['displayorder'])}
      {$sub_menu['title']}
      {if $sub_permission_name == 'system_setting_menu'} 默认开启 {else} {/if}
      编辑 {if empty($sub_menu['is_system'])}删除{/if}
      {loop $section['menu'] $sub_permission_name $sub_menu} {if $sub_permission_name == 'wxapp_platform_material'} {php continue;} {/if}
      - {php echo intval($sub_menu['displayorder'])}
        {$sub_menu['title']}
        {if $sub_permission_name == 'system_setting_menu'} 默认开启 {else} {/if}
        编辑 {if empty($sub_menu['is_system'])}删除{/if}
      {/loop}
    {/loop}
  {/loop}
{/if} {/loop}

#### 编辑菜单

菜单排序
注：生序排列。数字越小，排名越靠前

#### 编辑菜单

菜单排序
菜单名称
菜单标识
菜单链接
注：支持相对链接。非相对链接请填写以http或https开头的完整链接
菜单图标
选择图标
{template 'common/footer'}