admin/addon/article/config/menu_shop.php

86 lines
3.1 KiB
PHP

<?php
// +----------------------------------------------------------------------
// | 菜单设置
// +----------------------------------------------------------------------
return [
[
'name' => 'ARTICLE_ROOT',
'title' => '文章管理',
'url' => 'article://shop/index/index', // 入口方法
'picture' => 'addon/article/shop/view/public/img/live_new.png', // 图标
'picture_selected' => 'addon/live/shop/view/public/img/live_select.png', // 选中图标
'parent' => 'PROMOTION_TOOL',
'is_show' => 1,
'sort' => 1,
'child_list' => [
[
'name' => 'ARTICLE_INDEX',
'title' => '文章列表',
'url' => 'article://shop/index/index',
'is_show' => 1,
'sort' => 1,
'child_list' => [
[
'name' => 'ARTICLE_ADD',
'title' => '添加文章',
'url' => 'article://shop/index/editArticle',
'sort' => 1,
'is_show' => 0
],
[
'name' => 'ARTICLE_EDIT',
'title' => '编辑文章',
'url' => 'article://shop/index/editArticle',
'sort' => 2,
'is_show' => 0
],
[
'name' => 'ARTICLE_DELETE',
'title' => '删除文章',
'url' => 'article://shop/index/delete',
'sort' => 3,
'is_show' => 0
]
]
],
[
'name' => 'ARTICLE_CATE',
'title' => '文章分类',
'url' => 'article://shop/cate/index',
'is_show' => 1,
'sort' => 2,
'child_list' => [
[
'name' => 'ARTICLE_CATE_ADD',
'title' => '添加文章分类',
'url' => 'article://shop/cate/editInfo',
'sort' => 1,
'is_show' => 0
],
[
'name' => 'ARTICLE_CATE_EDIT',
'title' => '编辑文章分类',
'url' => 'article://shop/cate/editInfo',
'sort' => 2,
'is_show' => 0
],
[
'name' => 'ARTICLE_CATE_DELETE',
'title' => '删除文章分类',
'url' => 'article://shop/cate/delete',
'sort' => 3,
'is_show' => 0
]
]
],
[
'name' => 'ARTICLE_SET',
'title' => '基本设置',
'url' => 'article://shop/index/set',
'is_show' => 1,
'sort' => 3,
],
]
]
];