-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.php
56 lines (51 loc) · 1.49 KB
/
menu.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
/*
|--------------------------------------------------------------------------
| 菜单扩展
|--------------------------------------------------------------------------
|
| 目前支持扩展菜单项
| 1. 支持对当前已存在菜单的扩展
| 2. 支持扩展新的菜单项
|
*/
return [
'taxonomy_menu'=>[
'title' => '管理',
'slug' => 'taxonomy_menu',
'url' => 'index',
'icon_class'=> 'ion-apps',
'icon_bg_color'=> '#000000',
'font_color'=> '#ff0000',
'group' => 'taxonomy_menu',
'target' => '_self',
'order' => 0,
'children' => [
[
'title' => '分类列表',
'slug' => 'index',
'url' => 'index',
'icon_class'=> 'ion-apps',
'target' => '_self',
'order' => 0,
'methods' => [
'create' => '创建',
'update' => '编辑',
'read' => '读取',
'delete' => '删除',
],
]
]
],
'help_menu'=>[
'title' => '帮助',
'slug' => 'help_menu',
'url' => 'help',
'icon_class'=> 'ion-help-buoy',
'icon_bg_color'=> '#000000',
'font_color'=> '#ff0000',
'group' => 'help_menu',
'target' => '_self',
'order' => 1,
],
];