初始上传

This commit is contained in:
2026-04-04 17:27:12 +08:00
parent 4d80d28eb4
commit b7e11774ee
11191 changed files with 1588469 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
return [
// 自定义模板页面类型,格式:[ 'title' => '页面类型名称', 'name' => '页面标识', 'path' => '页面路径', 'value' => '页面数据json格式' ]
'template' => [],
// 后台自定义组件——装修
'util' => [],
// 自定义页面路径
'link' => [
[
'name' => 'BUNDING_GOODS',
'title' => '组合套餐',
'parent' => 'COMMODITY',
'wap_url' => '',
'web_url' => '',
'child_list' => []
]
],
// 自定义图标库
'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' => []
];

31
addon/bundling/config/event.php Executable file
View File

@@ -0,0 +1,31 @@
<?php
// 事件定义文件
return [
'bind' => [
],
'listen' => [
//展示活动
'ShowPromotion' => [
'addon\bundling\event\ShowPromotion',
],
'PromotionType' => [
'addon\bundling\event\PromotionType',
],
// 订单营销活动类型
'OrderPromotionType' => [
'addon\bundling\event\OrderPromotionType',
],
// 删除商品(需判断套餐是否存在该商品,存在活动关闭)
'DeleteGoods' => [
'addon\bundling\event\DeleteGoods',
],
'GoodsListPromotion'=>[
'addon\bundling\event\GoodsListPromotion',
]
],
'subscribe' => [
],
];

21
addon/bundling/config/info.php Executable file
View File

@@ -0,0 +1,21 @@
<?php
/**
* Niushop商城系统 - 团队十年电商经验汇集巨献!
* =========================================================
* Copy right 2019-2029 杭州牛之云科技有限公司, 保留所有权利。
* ----------------------------------------------
* 官方网址: https://www.niushop.com
* =========================================================
*/
return [
'name' => 'bundling',
'title' => '组合套餐',
'description' => '组合套餐活动功能',
'type' => 'promotion', //插件类型 system :系统插件(自动安装), promotion:营销插件 tool:工具插件
'status' => 1,
'author' => '',
'version' => '5.5.3',
'version_no' => '553250709001',
'content' => '',
];

View File

@@ -0,0 +1,53 @@
<?php
// +----------------------------------------------------------------------
// | 平台端菜单设置
// +----------------------------------------------------------------------
return [
[
'name' => 'PROMOTION_BUNDLING',
'title' => '组合套餐',
'url' => 'bundling://shop/bundling/lists',
'parent' => 'PROMOTION_CENTER',
'is_show' => 1,
'is_control' => 1,
'is_icon' => 0,
'picture' => '',
'picture_select' => '',
'sort' => 100,
'child_list' => [
[
'name' => 'PROMOTION_BUNDLING_DETAIL',
'title' => '套餐详情',
'url' => 'bundling://shop/bundling/detail',
'sort' => 1,
'is_show' => 0,
'type' => 'button',
],
[
'name' => 'PROMOTION_BUNDLING_ADD',
'title' => '添加套餐',
'url' => 'bundling://shop/bundling/add',
'sort' => 1,
'is_show' => 0,
'type' => 'button',
],
[
'name' => 'PROMOTION_BUNDLING_EDIT',
'title' => '编辑套餐',
'url' => 'bundling://shop/bundling/edit',
'sort' => 1,
'is_show' => 0,
'type' => 'button',
],
[
'name' => 'PROMOTION_BUNDLING_DELETE',
'title' => '删除套餐',
'url' => 'bundling://shop/bundling/delete',
'sort' => 1,
'is_show' => 0,
'type' => 'button',
],
]
],
];