admin/addon/blindbox/config/menu_shop.php

133 lines
5.1 KiB
PHP

<?php
// +----------------------------------------------------------------------
// | 店铺端菜单设置
// +----------------------------------------------------------------------
return [
[
'name' => 'PROMOTION_BLINDBOX',
'title' => '盲盒',
'url' => 'blindbox://shop/blindbox/lists',
'picture' => 'addon/blindbox/shop/view/public/img/distribution_new.png',
'picture_selected' => 'addon/blindbox/shop/view/public/img/distribution_select.png',
'parent' => 'PROMOTION_CENTER',
'is_show' => 1,
'sort' => 100,
'child_list' => [
[
'name' => 'PROMOTION_BLINDBOX_CATEGORY',
'title' => '盲盒分类',
'url' => 'blindbox://shop/blindboxCategory/lists',
'is_show' => 1,
'sort' => 2,
'child_list' => [
[
'name' => 'PROMOTION_BLINDBOX_CATEGORY_ADD',
'title' => '新增盲盒分类',
'url' => 'blindbox://shop/blindboxCategory/add',
'sort' => 1,
'is_show' => 0
],
[
'name' => 'PROMOTION_BLINDBOX_CATEGORY_EDIT',
'title' => '编辑盲盒分类',
'url' => 'blindbox://shop/blindboxCategory/edit',
'sort' => 1,
'is_show' => 0
],
[
'name' => 'PROMOTION_BLINDBOX_CATEGORY_DEL',
'title' => '删除盲盒分类',
'url' => 'blindbox://shop/blindboxCategory/del',
'sort' => 1,
'is_show' => 0
],
]
],
[
'name' => 'PROMOTION_BLINDBOX_LIST',
'title' => '盲盒列表',
'url' => 'blindbox://shop/blindbox/lists',
'is_show' => 1,
'sort' => 1,
'child_list' => [
[
'name' => 'PROMOTION_BLINDBOX_ADD',
'title' => '新增盲盒',
'url' => 'blindbox://shop/blindbox/add',
'sort' => 1,
'is_show' => 0
],
[
'name' => 'PROMOTION_BLINDBOX_EDIT',
'title' => '编辑盒子',
'url' => 'blindbox://shop/blindbox/edit',
'sort' => 2,
'is_show' => 0
],
[
'name' => 'PROMOTION_BLINDBOX_DETAIL',
'title' => '盲盒详情',
'url' => 'blindbox://shop/blindbox/detail',
'sort' => 3,
'is_show' => 0
],
[
'name' => 'PROMOTION_BLINDBOX_DEL',
'title' => '删除盲盒',
'url' => 'blindbox://shop/blindbox/del',
'sort' => 4,
'is_show' => 0
],
[
'name' => 'PROMOTION_BLINDBOX_COLSE',
'title' => '关闭盲盒',
'url' => 'blindbox://shop/blindbox/colse',
'sort' => 5,
'is_show' => 0
],
[
'name' => 'PROMOTION_BLINDBOXGOODS_LISTS',
'title' => '盲盒盒子',
'url' => 'blindbox://shop/blindboxGoods/lists',
'sort' => 6,
'is_show' => 0
],
[
'name' => 'PROMOTION_BLINDBOXGOODS_ADD',
'title' => '新增盲盒盒子',
'url' => 'blindbox://shop/blindboxGoods/lists',
'sort' => 7,
'is_show' => 0
],
[
'name' => 'PROMOTION_BLINDBOXGOODS_EDIT',
'title' => '编辑盲盒盒子',
'url' => 'blindbox://shop/blindboxGoods/edit',
'sort' => 8,
'is_show' => 0
],
[
'name' => 'PROMOTION_BLINDBOXGOODS_DEL',
'title' => '删除盲盒盒子',
'url' => 'blindbox://shop/blindboxGoods/del',
'sort' => 9,
'is_show' => 0
],
[
'name' => 'PROMOTION_BLINDBOX_SPREAD',
'title' => '推广盲盒',
'url' => 'blindbox://shop/blindbox/spreadblindbox',
'sort' => 10,
'is_show' => 0
],
]
],
]
],
];