初始上传
This commit is contained in:
38
addon/pc/config/diy_view.php
Executable file
38
addon/pc/config/diy_view.php
Executable file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/**
|
||||
* Niushop商城系统 - 团队十年电商经验汇集巨献!
|
||||
* =========================================================
|
||||
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
|
||||
* ----------------------------------------------
|
||||
* 官方网址: https://www.niushop.com
|
||||
* =========================================================
|
||||
*/
|
||||
return [
|
||||
|
||||
// 自定义模板页面类型,格式:[ 'title' => '页面类型名称', 'name' => '页面标识', 'path' => '页面路径', 'value' => '页面数据,json格式' ]
|
||||
'template' => [],
|
||||
|
||||
// 后台自定义组件——装修
|
||||
'util' => [],
|
||||
|
||||
// 自定义页面路径
|
||||
'link' => [],
|
||||
|
||||
// 自定义图标库
|
||||
'icon_library' => [],
|
||||
|
||||
// uni-app 组件,格式:[ 'name' => '组件名称/文件夹名称', 'path' => '文件路径/目录路径' ],多个逗号隔开,自定义组件名称前缀必须是diy-,也可以引用第三方组件
|
||||
'component' => [],
|
||||
|
||||
// uni-app 页面,多个逗号隔开
|
||||
'pages' => [],
|
||||
|
||||
// 模板信息,格式:'title' => '模板名称', 'name' => '模板标识', 'cover' => '模板封面图', 'preview' => '模板预览图', 'desc' => '模板描述'
|
||||
'info' => [],
|
||||
|
||||
// 主题风格配色,格式可以自由定义扩展,【在uni-app中通过:this.themeStyle... 获取定义的颜色字段,例如:this.themeStyle.main_color】
|
||||
'theme' => [],
|
||||
|
||||
// 自定义页面数据,格式:[ 'title' => '页面名称', 'name' => "页面标识", 'value' => [页面数据,json格式] ]
|
||||
'data' => []
|
||||
];
|
||||
16
addon/pc/config/event.php
Executable file
16
addon/pc/config/event.php
Executable file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
// 事件定义文件
|
||||
return [
|
||||
'bind' => [
|
||||
|
||||
],
|
||||
|
||||
'listen' => [
|
||||
'ShowPromotion' => [
|
||||
'addon\pc\event\ShowPromotion',
|
||||
]
|
||||
],
|
||||
|
||||
'subscribe' => [
|
||||
],
|
||||
];
|
||||
21
addon/pc/config/info.php
Executable file
21
addon/pc/config/info.php
Executable file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* Niushop商城系统 - 团队十年电商经验汇集巨献!
|
||||
* =========================================================
|
||||
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
|
||||
* ----------------------------------------------
|
||||
* 官方网址: https://www.niushop.com
|
||||
|
||||
* =========================================================
|
||||
*/
|
||||
return [
|
||||
'name' => 'pc',
|
||||
'title' => '电脑端',
|
||||
'description' => '电脑端管理',
|
||||
'type' => 'tool', //插件类型 system :系统插件(自动安装), promotion:扩展营销插件 tool:工具插件
|
||||
'status' => 1,
|
||||
'author' => '',
|
||||
'version' => '5.5.3',
|
||||
'version_no' => '553250709001',
|
||||
'content' => '',
|
||||
];
|
||||
225
addon/pc/config/menu_shop.php
Executable file
225
addon/pc/config/menu_shop.php
Executable file
@@ -0,0 +1,225 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 平台端菜单设置
|
||||
// +----------------------------------------------------------------------
|
||||
return [
|
||||
[
|
||||
'name' => 'PC_CONFIG',
|
||||
'title' => '电脑端',
|
||||
'url' => 'pc://shop/pc/floor',
|
||||
'is_show' => 1,
|
||||
'is_control' => 1,
|
||||
'is_icon' => 0,
|
||||
'picture' => 'app/shop/view/public/img/icon_new/diy_web_new.png',
|
||||
'picture_selected' => 'app/shop/view/public/img/icon_new/diy_web_select.png',
|
||||
'parent' => 'SHOP_ROOT',
|
||||
'sort' => 3,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'PC_INDEX_FLOOR',
|
||||
'title' => '首页楼层',
|
||||
'url' => 'pc://shop/pc/floor',
|
||||
'is_show' => 1,
|
||||
'sort' => 1,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'PC_INDEX_FLOOR_EDIT',
|
||||
'title' => '楼层编辑',
|
||||
'url' => 'pc://shop/pc/editfloor',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'PC_INDEX_FLOOR_DELETE',
|
||||
'title' => '楼层删除',
|
||||
'url' => 'pc://shop/pc/deleteFloor',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
'type' => 'button',
|
||||
]
|
||||
],
|
||||
],
|
||||
[
|
||||
'name' => 'PC_FLOAT_LAYER',
|
||||
'title' => '首页浮层',
|
||||
'url' => 'pc://shop/pc/floatlayer',
|
||||
'is_show' => 1,
|
||||
'sort' => 2,
|
||||
'child_list' => [],
|
||||
],
|
||||
[
|
||||
'name' => 'PC_NAV_LIST',
|
||||
'title' => '导航设置',
|
||||
'url' => 'pc://shop/pc/navlist',
|
||||
'is_show' => 1,
|
||||
'sort' => 3,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'PC_NAV_ADD',
|
||||
'title' => '添加导航',
|
||||
'url' => 'pc://shop/pc/addnav',
|
||||
'is_show' => 0,
|
||||
'sort' => 1,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'PC_NAV_EDIT',
|
||||
'title' => '编辑导航',
|
||||
'url' => 'pc://shop/pc/editnav',
|
||||
'is_show' => 0,
|
||||
'sort' => 2,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'PC_NAV_DELETE',
|
||||
'title' => '删除导航',
|
||||
'url' => 'pc://shop/pc/deletenav',
|
||||
'is_show' => 0,
|
||||
'sort' => 3,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'PC_NAV_MODIFY_IS_SHOW',
|
||||
'title' => '导航是否显示',
|
||||
'url' => 'pc://shop/pc/modifynavisshow',
|
||||
'is_show' => 0,
|
||||
'sort' => 4,
|
||||
'type' => 'button',
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'name' => 'PC_LINK_LIST',
|
||||
'title' => '友情链接',
|
||||
'url' => 'pc://shop/pc/linklist',
|
||||
'is_show' => 1,
|
||||
'sort' => 4,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'PC_LINK_ADD',
|
||||
'title' => '添加友情链接',
|
||||
'url' => 'pc://shop/pc/addlink',
|
||||
'is_show' => 0,
|
||||
'sort' => 1,
|
||||
'type' => 'button',
|
||||
'type' => 'button',
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'PC_LINK_EDIT',
|
||||
'title' => '编辑友情链接',
|
||||
'url' => 'pc://shop/pc/editlink',
|
||||
'is_show' => 0,
|
||||
'sort' => 2,
|
||||
'type' => 'button',
|
||||
'type' => 'button',
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'PC_LINK_DELETE',
|
||||
'title' => '删除友情链接',
|
||||
'url' => 'pc://shop/pc/deletelink',
|
||||
'is_show' => 0,
|
||||
'sort' => 3,
|
||||
'type' => 'button',
|
||||
'type' => 'button',
|
||||
'type' => 'button',
|
||||
],
|
||||
],
|
||||
],
|
||||
[
|
||||
'name' => 'WEBSITE_ADV',
|
||||
'title' => '广告管理',
|
||||
'url' => 'pc://shop/adv/index',
|
||||
'is_show' => 1,
|
||||
'sort' => 5,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'WEBSITE_ADV_POSITION',
|
||||
'title' => '广告位管理',
|
||||
'url' => 'pc://shop/adv/index',
|
||||
'is_show' => 1,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'WEBSITE_ADV_POSITION_ADD',
|
||||
'title' => '添加广告位',
|
||||
'url' => 'pc://shop/adv/addposition',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'WEBSITE_ADV_POSITION_EDIT',
|
||||
'title' => '编辑广告位',
|
||||
'url' => 'pc://shop/adv/editposition',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'WEBSITE_ADV_POSITION_DELETE',
|
||||
'title' => '删除广告位',
|
||||
'url' => 'pc://shop/adv/deleteposition',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'WEBSITE_ADV_POSITION_STATE_ALTER',
|
||||
'title' => '更改状态',
|
||||
'url' => 'pc://shop/adv/alteradvpositionstate',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
'type' => 'button',
|
||||
],
|
||||
]
|
||||
],
|
||||
[
|
||||
'name' => 'WEBSITE_ADV_LISTS',
|
||||
'title' => '广告管理',
|
||||
'url' => 'pc://shop/adv/lists',
|
||||
'is_show' => 1,
|
||||
'child_list' => [
|
||||
[
|
||||
'name' => 'WEBSITE_ADV_ADD',
|
||||
'title' => '添加广告',
|
||||
'url' => 'pc://shop/adv/addadv',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'WEBSITE_ADV_EDIT',
|
||||
'title' => '编辑广告',
|
||||
'url' => 'pc://shop/adv/editadv',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'WEBSITE_ADV_DELETE',
|
||||
'title' => '删除广告',
|
||||
'url' => 'pc://shop/adv/deleteadv',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
[
|
||||
'name' => 'WEBSITE_ADV_STATE_ALTER',
|
||||
'title' => '更改状态',
|
||||
'url' => 'pc://shop/adv/alteradvstate',
|
||||
'is_show' => 0,
|
||||
'type' => 'button',
|
||||
],
|
||||
]
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
'name' => 'PC_CATEGORY_CONFIG',
|
||||
'title' => '首页分类',
|
||||
'url' => 'pc://shop/pc/category',
|
||||
'is_show' => 1,
|
||||
'sort' => 8,
|
||||
'child_list' => []
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
Reference in New Issue
Block a user