安装配置

买了腾讯云65元/年的LH服务器。安装系统推荐宝塔系统

CRMEB v4 页面跳转链接_w3cschool
https://www.w3cschool.cn/crmebv4/crmebv4-x2z33n31.html
在这里插入图片描述
vi /www/server/nginx/conf/nginx.conf
/www/server/panel/vhost/nginx/*.conf

2.输入你要绑定的网站域名(上一步中域名配置所解析的域名),创建FTP,创建MySQL数据库。都填写后,点击提交
这一步域名里面填IP也可以的。

ftp被动模式:放通端口21,及 修改配置文件 中设置的 pasv_min_port 到 pasv_max_port 之间的所有端口,本文放通端口为40000 - 45000。
ftp端口可以在宝塔ftp配置里面查看。

用Windows自带的文件资源管理器可以上传文件。

如果“函数检测必须开启”没通过 去“3.环境配置”里的PHP配置中 启用一下被禁用的函数(从“禁用函数”里面删除),可以Ctrl+f查找函数。

step5.php 上传信息

crmeb\public\install\templates\step5.php

	        <a href="<?php echo 'http://'.$host;?>" class="btn">进入前台</a>
            <a href="<?php echo 'http://'.$host;?>/admin" class="btn btn_submit J_install_btn">进入后台</a>
      </div>
      <div class=""> </div>
    </div>
  </section>
</div>
<?php require './templates/footer.php';?>
<script>
$(function(){
	$.ajax({
	type: "POST",
	url: "http://shop.crmeb.net/index.php/admin/server.upgrade_api/updatewebinfo",
        header:{
            'Access-Control-Allow-Origin':'*',
            'Access-Control-Allow-Headers':'X-Requested-With',
            'Access-Control-Allow-Methods':'PUT,POST,GET,DELETE,OPTIONS'
        },
	data: {
	    host:'<?php echo $host;?>',
        https:'<?php echo 'http://'.$host;?>',
        version:'<?php echo $version;?>',
        ip:<?php echo json_encode($ip);?>
    },
	dataType: 'json',
	success: function(){}
	});
});
</script>
</body>
</html>

禁用函数
删除下列函数(从“禁用函数”里面删除下列函数,实际上是允许用这些函数)
proc_open pcntl_signal pcntl_signal_dispatch pcntl_fork pcntl_wait pcntl_alarm

1、先在“网站”页面修改宝塔命令行的php版本为当前程序设置的php版本

root用户下,.user.ini既不能修改也不能删除,怎么办? - Powered by Discuz!
https://bbs.vpser.net/thread-12261-1-1.html

宝塔面板搭载ThinkPHP5.0项目关于open_basedir报错解决办法 - 小二胡工作室
https://www.xiaoerhu.com/content/detail272.html

LNMP添加、删除虚拟主机及伪静态使用教程 - LNMP一键安装包
https://lnmp.org/faq/lnmp-vhost-add-howto.html

LNMP 1.2及更高版本防跨目录功能使用.user.ini,该文件在网站根目录下,可以修改.user.ini 里面的open_basedir的值来设置限制访问的目录或删除来移除防跨目录的设置。

.user.ini文件无法直接修改,如要修或删除需要先执行:chattr -i /网站目录/.user.ini
可以使用winscp文件管理、vim编辑器或nano编辑器进行修改。
删除的话rm -f /网站目录/.user.ini 就可以。
修改完成后再执行:chattr +i /网站目录/.user.ini
.user.ini不需要重启一般5分钟左右生效,也可以重启一下php-fpm立即生效。
如果要更改网站目录必须要按上述方法修改防跨目录的设置,否则肯定报错!!

.env

htps://www.crmeb.com/ask/thread/11637
根目录下增加.env文件。

APP_DEBUG = true

[APP]
DEFAULT_TIMEZONE = Asia/Shanghai

[DATABASE]
TYPE = mysql
HOSTNAME = 127.0.0.1
HOSTPORT = 3306
USERNAME = 43_138
PASSWORD = 'b'
DATABASE = 43_138
PREFIX = eb_
CHARSET = utf8
DEBUG = true

[LANG]
default_lang = zh-cn

[REDIS]
REDIS_HOSTNAME = 127.0.0.1
PORT = 6379
REDIS_PASSWORD = ''
SELECT = 0

[QUEUE]
QUEUE_NAME = #QUEUE_NAME#

readme/安装说明.md · 众邦科技/CRMEB开源商城系统 - 码云 - 开源中国
htps://gitee.com/ZhongBangKeJi/CRMEB/blob/master/readme/%E5%AE%89%E8%A3%85%E8%AF%B4%E6%98%8E.md

APP_DEBUG = true

[APP]
DEFAULT_TIMEZONE = Asia/Shanghai

[DATABASE]
TYPE = mysql
HOSTNAME = 127.0.0.1
HOSTPORT = 3306
USERNAME = root
PASSWORD = 'root'
DATABASE = crmeb
PREFIX = eb_
CHARSET = utf8
DEBUG = true

[LANG]
default_lang = zh-cn

[REDIS]
REDIS_HOSTNAME = 127.0.0.1
PORT = 6379
REDIS_PASSWORD = 
SELECT = 0

[QUEUE]
QUEUE_NAME = crmeb

DIY

api/v2/diy/get_diy/default

template\uni-app\pages\index\visualization\index.vue

				getDiy().then((res) => {

template\uni-app\api\api.js


/**
 * 获取首页DIY;
 */
export function getDiy(id) {
	return request.get(`v2/diy/get_diy/default${id ? '?id='+id:''}`, {}, {
		noAuth: true
	});
}

crmeb\app\api\route\v2.php

        //DIY接口
        Route::get('diy/get_diy/[:name]', 'v2.PublicController/getDiy');

crmeb\app\api\controller\v2\PublicController.php

    /**
     * 获取页面数据
     * @param Request $request
     * @param string $name
     * @return mixed
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\DbException
     * @throws \think\db\exception\ModelNotFoundException
     */
    public function getDiy(Request $request, $name = '')
    {
        list($id) = $request->getMore([
            ['id', 0]
        ], true);
        /** @var DiyServices $diyService */
        $diyService = app()->make(DiyServices::class);
        $data = $diyService->getDiy($id);
        return app('json')->successful($data);
    }

crmeb\app\services\diy\DiyServices.php


    /**
     * DiyServices constructor.
     * @param DiyDao $dao
     */
    public function __construct(DiyDao $dao)
    {
        $this->dao = $dao;
    }
    
    /**
     * 获取页面数据
     * @param int $id
     * @return array|mixed
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\DbException
     * @throws \think\db\exception\ModelNotFoundException
     */
    public function getDiy($id = 0)
    {
        $field = 'name,value,is_show,is_bg_color,color_picker,bg_pic,bg_tab_val,is_bg_pic,order_status,is_diy,title';
        if ($id) {
            $info = $this->dao->getOne(['id' => $id], $field);
        } else {
            $info = $this->dao->getOne(['status' => 1, 'is_del' => 0], $field);
        }
        if ($info) {
            $info = $info->toArray();
            if ($info['value']) {
                $info['value'] = json_decode($info['value'], true);
                if ($info['is_diy']) {
                    foreach ($info['value'] as &$item) {
                        if ($item['name'] == 'customerService') {
                            $item['routine_contact_type'] = sys_config('routine_contact_type', 0);
                        }
                    }
                    return $info;
                } else {
                    foreach ($info['value'] as $key => &$item) {
                        if ($key == 'customerService') {
                            foreach ($item as $k => &$v) {
                                $v['routine_contact_type'] = sys_config('routine_contact_type', 0);
                            }
                        }
                    }
                    return $info['value'];
                }
            }
        }
        return [];
    }

crmeb\app\dao\diy\DiyDao.php

use app\model\diy\Diy;

crmeb\app\model\diy\Diy.php


    /**
     * 模型名称
     * @var string
     */
    protected $name = 'diy';


crmeb\config\database.php

            // 数据库表前缀
            'prefix'          => Env::get('database.prefix', 'eb_'),

crmeb\app\dao\BaseDao.php


    /**
     * 根据条件获取一条数据
     * @param array $where
     * @param string|null $field
     * @param array $with
     * @return array|Model|null
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\DbException
     * @throws \think\db\exception\ModelNotFoundException
     */
    public function getOne(array $where, ?string $field = '*', array $with = [])
    {
        $field = explode(',', $field);
        return $this->get($where, $field, $with);
    }

数据库配置

crmeb\public\install\crmeb.sql
INSERT INTO eb_diy (id, version, name, template_name, value, default_value, add_time, update_time, status, type, is_show, is_bg_color, is_bg_pic, color_picker, bg_pic, bg_tab_val, is_del, order_status, my_banner_status, is_diy) VALUES
(1, ‘1.0’, ‘默认模版’, ‘default’, '{“headerSerch”:{“defaultVal”:{“isShow”:{“val”:true},“imgUrl”:{“title”:“\u6700\u591a\u53ef\u6dfb\u52a01\u5f20\u56fe\u7247\uff0c\u56fe\u7247\u5efa\u8bae\u5bbd\u5ea6128 * 45px”,“url”:“http:\/\/kaifa.crmeb.net\/uploads\/attach\/2019\/10\/20191023\/db7b7bef9dffdedd27e9a3aa34218cea.png”},“hotList”:{“title”:“\u70ed\u8bcd\u6700\u591a20\u4e2a\u5b57\uff0c\u9f20\u6807\u62d6\u62fd\u5de6\u4fa7\u5706\u70b9\u53ef\u8c03\u6574\u70ed\u8bcd\u987a\u5e8f”,“max”:99,“list”:[{“val”:“”,“maxlength”:20}]},“titleInfo”:{“title”:“”,“type”:2,“list”:[{“title”:“\u7f51\u7ad9\u7b80\u4ecb”,“val”:“\u7f51\u7ad9\u7b80\u4ecb”,“max”:20,“pla”:“\u9009\u586b\uff0c\u4e0d\u8d85\u8fc7\u5341\u4e2a\u5b57”}]}},“default”:{“isShow”:{“val”:true},“imgUrl”:{“title”:“\u6700\u591a\u53ef\u6dfb\u52a01\u5f20\u56fe\u7247\uff0c\u56fe\u7247\u5efa\u8bae\u5bbd\u5ea6128 * 45px”,“url”:“https:\/\/data44.wuht.net\/\/uploads\/attach\/2022\/01\/20220115\/28a88411581c15dbc65fa4fa8e0d0c17.png”}
这个应该是定制界面的。

http response

{
    "status": 200,
    "msg": "success",
    "data": {
        "headerSerch": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "imgUrl": {
                    "title": "最多可添加1张图片,图片建议宽度128 * 45px",
                    "url": ""
                },
                "hotList": {
                    "title": "热词最多20个字,鼠标拖拽左侧圆点可调整热词顺序",
                    "max": 99,
                    "list": [
                        {
                            "val": "",
                            "maxlength": 20
                        }
                    ]
                },
                "titleInfo": {
                    "title": "",
                    "type": 2,
                    "list": [
                        {
                            "title": "网站简介",
                            "val": "网站简介",
                            "max": 20,
                            "pla": "选填,不超过十个字"
                        }
                    ]
                }
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "imgUrl": {
                    "title": "最多可添加1张图片,图片建议宽度128 * 45px",
                    "url": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/b5516ae0e79ff6960882241416e2c9e8.png"
                },
                "hotList": {
                    "title": "热词最多20个字,鼠标拖拽左侧圆点可调整热词顺序",
                    "max": 99,
                    "list": [
                        {
                            "val": "",
                            "maxlength": 20
                        }
                    ]
                },
                "titleInfo": {
                    "title": "",
                    "type": 2,
                    "list": [
                        {
                            "title": "网站简介",
                            "val": "优质精选好物",
                            "max": 20,
                            "pla": "选填,不超过十个字"
                        }
                    ]
                }
            }
        },
        "swiperBg": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "imgList": {
                    "title": "最多可添加10张图片,建议宽度750px",
                    "max": 10,
                    "list": [
                        {
                            "img": "",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "",
                                    "maxlength": 10,
                                    "tips": "选填,不超过十个字"
                                },
                                {
                                    "title": "链接",
                                    "value": "",
                                    "maxlength": 999,
                                    "tips": "请填写链接"
                                }
                            ]
                        }
                    ]
                }
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "imgList": {
                    "title": "最多可添加10张图片,建议宽度750px",
                    "max": 10,
                    "list": [
                        {
                            "img": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/fb73d810b31d7d54c7926e67874c9a25.png",
                            "info": [
                                {
                                    "maxlength": 10,
                                    "tips": "选填,不超过十个字",
                                    "title": "标题",
                                    "value": ""
                                },
                                {
                                    "maxlength": 999,
                                    "tips": "请填写链接",
                                    "title": "链接",
                                    "value": "\/pages\/index\/index"
                                }
                            ]
                        }
                    ]
                }
            },
            "cc": {
                "isShow": {
                    "val": true
                },
                "imgList": {
                    "title": "最多可添加10张图片,建议宽度750px",
                    "max": 10,
                    "list": [
                        {
                            "img": "",
                            "info": [
                                {
                                    "maxlength": 10,
                                    "tips": "选填,不超过十个字",
                                    "title": "标题",
                                    "value": ""
                                },
                                {
                                    "maxlength": 999,
                                    "tips": "请填写链接",
                                    "title": "链接",
                                    "value": ""
                                }
                            ]
                        }
                    ]
                }
            },
            "aa": {
                "isShow": {
                    "val": false
                },
                "imgList": {
                    "title": "最多可添加10张图片,建议宽度750px",
                    "max": 10,
                    "list": []
                }
            }
        },
        "menus": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "imgList": {
                    "title": "最多可添加20个,图片建议宽度96*96px;鼠标拖拽左侧圆点可调整图标顺序",
                    "max": 20,
                    "list": [
                        {
                            "img": "",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "商品分类",
                                    "maxlength": 5,
                                    "tips": "请填写标题"
                                },
                                {
                                    "title": "链接",
                                    "value": "\/pages\/goods_cate\/goods_cate",
                                    "maxlength": 999,
                                    "tips": "请填写链接"
                                }
                            ]
                        }
                    ]
                }
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "imgList": {
                    "title": "最多可添加20个,图片建议宽度96*96px;鼠标拖拽左侧圆点可调整图标顺序",
                    "max": 20,
                    "list": [
                        {
                            "img": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/f29df730d7663c45a06c6797902b8d81.png",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "商品分类",
                                    "maxlength": 5,
                                    "tips": "请填写标题"
                                },
                                {
                                    "title": "链接",
                                    "value": "\/pages\/goods_cate\/goods_cate",
                                    "maxlength": 999,
                                    "tips": "请填写链接"
                                }
                            ]
                        },
                        {
                            "img": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/8367d0b2e71d7e9cb82aa5fef9a44519.png",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "领优惠券",
                                    "maxlength": 5,
                                    "tips": "请填写标题"
                                },
                                {
                                    "title": "链接",
                                    "value": "\/pages\/users\/user_get_coupon\/index",
                                    "maxlength": 999,
                                    "tips": "请填写链接"
                                }
                            ]
                        },
                        {
                            "img": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/763ed559229df299a850c3ca4a85f0bb.png",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "行业资讯",
                                    "maxlength": 5,
                                    "tips": "请填写标题"
                                },
                                {
                                    "title": "链接",
                                    "value": "\/pages\/extension\/news_list\/index",
                                    "maxlength": 999,
                                    "tips": "请填写链接"
                                }
                            ]
                        },
                        {
                            "img": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/e5a025afe48173efaa4a0f8fcf4abb17.png",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "我的收藏",
                                    "maxlength": 5,
                                    "tips": "请填写标题"
                                },
                                {
                                    "title": "链接",
                                    "value": "\/pages\/users\/user_goods_collection\/index",
                                    "maxlength": 999,
                                    "tips": "请填写链接"
                                }
                            ]
                        },
                        {
                            "img": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/619521116dbd3546b2ef63706b861019.png",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "地址管理",
                                    "maxlength": 5,
                                    "tips": "请填写标题"
                                },
                                {
                                    "title": "链接",
                                    "value": "\/pages\/users\/user_address_list\/index",
                                    "maxlength": 999,
                                    "tips": "请填写链接"
                                }
                            ]
                        },
                        {
                            "img": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/447dc010aa6468deff9977a044b7926d.png",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "秒杀活动",
                                    "maxlength": 5,
                                    "tips": "请填写标题"
                                },
                                {
                                    "title": "链接",
                                    "value": "\/pages\/activity\/goods_seckill\/index",
                                    "maxlength": 999,
                                    "tips": "请填写链接"
                                }
                            ]
                        },
                        {
                            "img": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/b2c5eac9983d8c57600e7d038988a098.png",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "砍价活动",
                                    "maxlength": 5,
                                    "tips": "请填写标题"
                                },
                                {
                                    "title": "链接",
                                    "value": "\/pages\/activity\/goods_bargain\/index",
                                    "maxlength": 999,
                                    "tips": "请填写链接"
                                }
                            ]
                        },
                        {
                            "img": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/df20c7238e310bbbe98bdcf190d1025a.png",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "拼团活动",
                                    "maxlength": 5,
                                    "tips": "请填写标题"
                                },
                                {
                                    "title": "链接",
                                    "value": "\/pages\/activity\/goods_combination\/index",
                                    "maxlength": 999,
                                    "tips": "请填写链接"
                                }
                            ]
                        },
                        {
                            "img": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/303bbdaa2137f13ffa40f23e400bfef0.png",
                            "info": [
                                {
                                    "maxlength": 10,
                                    "tips": "选填,不超过十个字",
                                    "title": "标题",
                                    "value": "预售管理"
                                },
                                {
                                    "maxlength": 999,
                                    "tips": "请填写链接",
                                    "title": "链接",
                                    "value": "\/pages\/activity\/presell\/index"
                                }
                            ]
                        },
                        {
                            "img": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/b16e86cdd248429ffc08fab417a3ffd2.png",
                            "info": [
                                {
                                    "maxlength": 10,
                                    "tips": "选填,不超过十个字",
                                    "title": "标题",
                                    "value": "积分商城"
                                },
                                {
                                    "maxlength": 999,
                                    "tips": "请填写链接",
                                    "title": "链接",
                                    "value": "\/pages\/points_mall\/index"
                                }
                            ]
                        }
                    ]
                }
            }
        },
        "tabNav": {
            "defaultVal": {
                "isShow": {
                    "val": true
                }
            },
            "default": {
                "isShow": {
                    "val": true
                }
            },
            "cc": {
                "isShow": {
                    "val": true
                }
            }
        },
        "news": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "imgUrl": {
                    "title": "最多可添加10个模板,图片建议宽度124 * 28px",
                    "url": ""
                },
                "newList": {
                    "max": 10,
                    "list": [
                        {
                            "chiild": [
                                {
                                    "title": "标题",
                                    "val": "CRMEB_PRO 1.1正式公测啦",
                                    "max": 20,
                                    "pla": "选填,不超过四个字"
                                },
                                {
                                    "title": "链接",
                                    "val": "链接",
                                    "max": 99,
                                    "pla": "选填"
                                }
                            ]
                        }
                    ]
                }
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "imgUrl": {
                    "title": "最多可添加10个模板,图片建议宽度124 * 28px",
                    "url": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/95177075d29af1194e544d4dc791c751.png"
                },
                "newList": {
                    "max": 10,
                    "list": [
                        {
                            "chiild": [
                                {
                                    "title": "标题",
                                    "val": "CRMEB V4.6.0",
                                    "max": 20,
                                    "pla": "选填,不超过四个字"
                                },
                                {
                                    "title": "链接",
                                    "val": "\/pages\/extension\/news_list\/index",
                                    "max": 99,
                                    "pla": "选填"
                                }
                            ]
                        }
                    ]
                }
            }
        },
        "activity": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "imgList": {
                    "isDelete": true,
                    "title": "最多可添加3组模块,第一张260*260px,后两张416*124px",
                    "max": 3,
                    "list": [
                        {
                            "img": "",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "一起来拼团",
                                    "maxlength": 20,
                                    "tips": "标题"
                                },
                                {
                                    "title": "描述",
                                    "value": "优惠多多",
                                    "maxlength": 20,
                                    "tips": "描述"
                                },
                                {
                                    "title": "链接",
                                    "value": "\/pages\/activity\/goods_combination\/index",
                                    "maxlength": 999,
                                    "tips": "链接"
                                }
                            ]
                        },
                        {
                            "img": "",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "秒杀专区",
                                    "maxlength": 20,
                                    "tips": "标题"
                                },
                                {
                                    "title": "描述",
                                    "value": "新能源汽车优惠多多",
                                    "maxlength": 20,
                                    "tips": "描述"
                                },
                                {
                                    "title": "链接",
                                    "value": "\/pages\/activity\/goods_seckill\/index",
                                    "maxlength": 999,
                                    "tips": "链接"
                                }
                            ]
                        },
                        {
                            "img": "",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "砍价活动",
                                    "maxlength": 20,
                                    "tips": "标题"
                                },
                                {
                                    "title": "描述",
                                    "value": "呼朋唤友来砍价~~",
                                    "maxlength": 20,
                                    "tips": "描述"
                                },
                                {
                                    "title": "链接",
                                    "value": "\/pages\/activity\/goods_bargain\/index",
                                    "maxlength": 999,
                                    "tips": "链接"
                                }
                            ]
                        }
                    ]
                },
                "max": 3
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "imgList": {
                    "isDelete": true,
                    "title": "最多可添加3组模块,第一张260*260px,后两张416*124px",
                    "max": 3,
                    "list": [
                        {
                            "img": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/e81622f4c9442807a591ac4f8805eb59.jpg",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "秒杀专区",
                                    "maxlength": 20,
                                    "tips": "标题"
                                },
                                {
                                    "title": "描述",
                                    "value": "优惠多多",
                                    "maxlength": 20,
                                    "tips": "描述"
                                },
                                {
                                    "title": "链接",
                                    "value": "\/pages\/activity\/goods_seckill\/index",
                                    "maxlength": 999,
                                    "tips": "链接"
                                }
                            ]
                        },
                        {
                            "img": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/5b03e2358031f4e52175db666fd54993.jpg",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "一起来拼团",
                                    "maxlength": 20,
                                    "tips": "标题"
                                },
                                {
                                    "title": "描述",
                                    "value": "优惠多多",
                                    "maxlength": 20,
                                    "tips": "描述"
                                },
                                {
                                    "title": "链接",
                                    "value": "\/pages\/activity\/goods_combination\/index",
                                    "maxlength": 999,
                                    "tips": "链接"
                                }
                            ]
                        },
                        {
                            "img": "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/cc4e77294c3298d8b9b46868f37da126.jpg",
                            "info": [
                                {
                                    "title": "标题",
                                    "value": "砍价活动",
                                    "maxlength": 20,
                                    "tips": "标题"
                                },
                                {
                                    "title": "描述",
                                    "value": "呼朋唤友来砍价~~",
                                    "maxlength": 20,
                                    "tips": "描述"
                                },
                                {
                                    "title": "链接",
                                    "value": "\/pages\/activity\/goods_bargain\/index",
                                    "maxlength": 999,
                                    "tips": "链接"
                                }
                            ]
                        }
                    ]
                },
                "max": 3
            }
        },
        "alive": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "titleInfo": {
                    "title": "",
                    "list": [
                        {
                            "title": "标题",
                            "val": "直播间",
                            "max": 20,
                            "pla": "选填,不超过六个字"
                        },
                        {
                            "title": "介绍",
                            "val": "精彩直播",
                            "max": 8,
                            "pla": "选填,不超过8个字"
                        },
                        {
                            "title": "链接",
                            "val": "\/pages\/columnGoods\/HotNewGoods\/index?type=1",
                            "max": 999,
                            "pla": "选填"
                        }
                    ]
                },
                "numConfig": {
                    "title": "显示数量",
                    "val": 3
                }
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "titleInfo": {
                    "title": "",
                    "list": [
                        {
                            "title": "标题",
                            "val": "直播间",
                            "max": 20,
                            "pla": "选填,不超过六个字"
                        },
                        {
                            "title": "介绍",
                            "val": "精彩直播",
                            "max": 8,
                            "pla": "选填,不超过8个字"
                        },
                        {
                            "title": "链接",
                            "val": "\/pages\/live_list\/index",
                            "max": 999,
                            "pla": "选填"
                        }
                    ]
                },
                "numConfig": {
                    "title": "显示数量",
                    "val": 3
                }
            }
        },
        "scrollBox": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "titleInfo": {
                    "title": "",
                    "list": [
                        {
                            "title": "标题",
                            "val": "快速选择",
                            "max": 4,
                            "pla": "选填,不超过4个字"
                        },
                        {
                            "title": "介绍",
                            "val": "诚意推荐品质商品",
                            "max": 8,
                            "pla": "选填,不超过8个字"
                        },
                        {
                            "title": "链接",
                            "val": "\/pages\/columnGoods\/HotNewGoods\/index?type=1",
                            "max": 999,
                            "pla": "选填"
                        }
                    ]
                },
                "tabConfig": {
                    "tabVal": 0,
                    "type": 1,
                    "tabList": [
                        {
                            "name": "自动选择",
                            "icon": "iconzidongxuanze"
                        },
                        {
                            "name": "手动选择",
                            "icon": "iconshoudongxuanze"
                        }
                    ]
                },
                "selectConfig": {
                    "title": "商品分类",
                    "type": 1,
                    "activeValue": "",
                    "list": [
                        {
                            "activeValue": "",
                            "title": ""
                        },
                        {
                            "activeValue": "",
                            "title": ""
                        }
                    ]
                },
                "numConfig": {
                    "title": "显示数量",
                    "val": 6
                },
                "goodsList": {
                    "max": 20,
                    "list": []
                }
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "titleInfo": {
                    "title": "",
                    "list": [
                        {
                            "title": "标题",
                            "val": "快速选择",
                            "max": 4,
                            "pla": "选填,不超过4个字"
                        },
                        {
                            "title": "介绍",
                            "val": "上百种商品分类任",
                            "max": 8,
                            "pla": "选填,不超过8个字"
                        },
                        {
                            "title": "链接",
                            "val": "\/pages\/goods_cate\/goods_cate",
                            "max": 999,
                            "pla": "选填"
                        }
                    ]
                },
                "tabConfig": {
                    "tabVal": 0,
                    "type": 1,
                    "tabList": [
                        {
                            "name": "自动选择",
                            "icon": "iconzidongxuanze"
                        },
                        {
                            "name": "手动选择",
                            "icon": "iconshoudongxuanze"
                        }
                    ]
                },
                "selectConfig": {
                    "title": "商品分类",
                    "type": 1,
                    "activeValue": "",
                    "list": []
                },
                "numConfig": {
                    "title": "显示数量",
                    "val": 6
                },
                "goodsList": {
                    "max": 20,
                    "list": []
                }
            }
        },
        "adsRecommend": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "imgList": {
                    "title": "图片建议尺寸338 * 206px;鼠标拖拽左侧圆点可调整版块顺序",
                    "max": 10,
                    "list": [
                        {
                            "img": "",
                            "info": [
                                {
                                    "title": "链接",
                                    "value": "",
                                    "maxlength": 999,
                                    "tips": "请填写链接"
                                }
                            ]
                        }
                    ]
                }
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "imgList": {
                    "title": "图片建议尺寸338 * 206px;鼠标拖拽左侧圆点可调整版块顺序",
                    "max": 10,
                    "list": [
                        {
                            "img": "",
                            "info": [
                                {
                                    "title": "链接",
                                    "value": "",
                                    "maxlength": 999,
                                    "tips": "请填写链接"
                                }
                            ]
                        }
                    ]
                }
            }
        },
        "coupon": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "numConfig": {
                    "val": 10
                }
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "numConfig": {
                    "val": "8"
                }
            }
        },
        "seckill": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "tabConfig": {
                    "tabVal": 0,
                    "type": 1,
                    "tabList": [
                        {
                            "name": "自动选择",
                            "icon": "iconzidongxuanze"
                        },
                        {
                            "name": "手动选择",
                            "icon": "iconshoudongxuanze"
                        }
                    ]
                },
                "titleInfo": {
                    "title": "",
                    "type": 2,
                    "list": [
                        {
                            "title": "商品类型",
                            "val": "限时秒杀",
                            "max": 20,
                            "pla": "选填,不超过四个字"
                        }
                    ]
                },
                "selectConfig": {
                    "title": "商品分类",
                    "activeValue": "",
                    "list": []
                },
                "numConfig": {
                    "val": 6
                },
                "goodsSort": {
                    "title": "商品排序",
                    "name": "goodsSort",
                    "type": 0,
                    "list": [
                        {
                            "val": "系统排序",
                            "icon": "iconComm_whole"
                        },
                        {
                            "val": "销量最高",
                            "icon": "iconComm_number"
                        },
                        {
                            "val": "最新上架",
                            "icon": "iconzuixin"
                        }
                    ]
                },
                "goodsList": {
                    "max": 20,
                    "list": []
                }
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "tabConfig": {
                    "tabVal": 0,
                    "type": 1,
                    "tabList": [
                        {
                            "name": "自动选择",
                            "icon": "iconzidongxuanze"
                        },
                        {
                            "name": "手动选择",
                            "icon": "iconshoudongxuanze"
                        }
                    ]
                },
                "titleInfo": {
                    "title": "",
                    "type": 2,
                    "list": [
                        {
                            "title": "商品类型",
                            "val": "限时秒杀",
                            "max": 20,
                            "pla": "选填,不超过四个字"
                        }
                    ]
                },
                "selectConfig": {
                    "title": "商品分类",
                    "activeValue": "",
                    "list": []
                },
                "numConfig": {
                    "val": 6
                },
                "goodsSort": {
                    "title": "商品排序",
                    "name": "goodsSort",
                    "type": 0,
                    "list": [
                        {
                            "val": "系统排序",
                            "icon": "iconComm_whole"
                        },
                        {
                            "val": "销量最高",
                            "icon": "iconComm_number"
                        },
                        {
                            "val": "最新上架",
                            "icon": "iconzuixin"
                        }
                    ]
                },
                "goodsList": {
                    "max": 20,
                    "list": []
                }
            }
        },
        "combination": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "tabConfig": {
                    "tabVal": 0,
                    "type": 1,
                    "tabList": [
                        {
                            "name": "自动选择",
                            "icon": "iconzidongxuanze"
                        },
                        {
                            "name": "手动选择",
                            "icon": "iconshoudongxuanze"
                        }
                    ]
                },
                "titleInfo": {
                    "title": "",
                    "type": 3,
                    "list": [
                        {
                            "title": "商品类型",
                            "val": "拼团列表",
                            "max": 20,
                            "pla": "选填,不超过四个字"
                        }
                    ]
                },
                "selectConfig": {
                    "title": "商品分类",
                    "activeValue": "",
                    "list": []
                },
                "numConfig": {
                    "val": 6
                },
                "goodsSort": {
                    "title": "商品排序",
                    "name": "goodsSort",
                    "type": 0,
                    "list": [
                        {
                            "val": "系统排序",
                            "icon": "iconComm_whole"
                        },
                        {
                            "val": "销量最高",
                            "icon": "iconComm_number"
                        },
                        {
                            "val": "最新上架",
                            "icon": "iconzuixin"
                        }
                    ]
                },
                "goodsList": {
                    "max": 20,
                    "list": []
                }
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "tabConfig": {
                    "tabVal": 0,
                    "type": 1,
                    "tabList": [
                        {
                            "name": "自动选择",
                            "icon": "iconzidongxuanze"
                        },
                        {
                            "name": "手动选择",
                            "icon": "iconshoudongxuanze"
                        }
                    ]
                },
                "titleInfo": {
                    "title": "",
                    "type": 3,
                    "list": [
                        {
                            "title": "商品类型",
                            "val": "拼团列表",
                            "max": 20,
                            "pla": "选填,不超过四个字"
                        }
                    ]
                },
                "selectConfig": {
                    "title": "商品分类",
                    "activeValue": "",
                    "list": []
                },
                "numConfig": {
                    "val": 6
                },
                "goodsSort": {
                    "title": "商品排序",
                    "name": "goodsSort",
                    "type": 0,
                    "list": [
                        {
                            "val": "系统排序",
                            "icon": "iconComm_whole"
                        },
                        {
                            "val": "销量最高",
                            "icon": "iconComm_number"
                        },
                        {
                            "val": "最新上架",
                            "icon": "iconzuixin"
                        }
                    ]
                },
                "goodsList": {
                    "max": 20,
                    "list": []
                }
            }
        },
        "bargain": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "tabConfig": {
                    "tabVal": 0,
                    "type": 1,
                    "tabList": [
                        {
                            "name": "自动选择",
                            "icon": "iconzidongxuanze"
                        },
                        {
                            "name": "手动选择",
                            "icon": "iconshoudongxuanze"
                        }
                    ]
                },
                "titleInfo": {
                    "title": "",
                    "type": 8,
                    "list": [
                        {
                            "title": "商品类型",
                            "val": "砍价列表",
                            "max": 20,
                            "pla": "选填,不超过四个字"
                        }
                    ]
                },
                "selectConfig": {
                    "title": "商品分类",
                    "activeValue": "",
                    "list": []
                },
                "numConfig": {
                    "val": 6
                },
                "goodsSort": {
                    "title": "商品排序",
                    "name": "goodsSort",
                    "type": 0,
                    "list": [
                        {
                            "val": "系统排序",
                            "icon": "iconComm_whole"
                        },
                        {
                            "val": "销量最高",
                            "icon": "iconComm_number"
                        },
                        {
                            "val": "最新上架",
                            "icon": "iconzuixin"
                        }
                    ]
                },
                "goodsList": {
                    "max": 20,
                    "list": []
                }
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "tabConfig": {
                    "tabVal": 0,
                    "type": 1,
                    "tabList": [
                        {
                            "name": "自动选择",
                            "icon": "iconzidongxuanze"
                        },
                        {
                            "name": "手动选择",
                            "icon": "iconshoudongxuanze"
                        }
                    ]
                },
                "titleInfo": {
                    "title": "",
                    "type": 8,
                    "list": [
                        {
                            "title": "商品类型",
                            "val": "砍价列表",
                            "max": 20,
                            "pla": "选填,不超过四个字"
                        }
                    ]
                },
                "selectConfig": {
                    "title": "商品分类",
                    "activeValue": "",
                    "list": []
                },
                "numConfig": {
                    "val": 6
                },
                "goodsSort": {
                    "title": "商品排序",
                    "name": "goodsSort",
                    "type": 0,
                    "list": [
                        {
                            "val": "系统排序",
                            "icon": "iconComm_whole"
                        },
                        {
                            "val": "销量最高",
                            "icon": "iconComm_number"
                        },
                        {
                            "val": "最新上架",
                            "icon": "iconzuixin"
                        }
                    ]
                },
                "goodsList": {
                    "max": 20,
                    "list": []
                }
            }
        },
        "goodList": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "titleInfo": {
                    "title": "",
                    "list": [
                        {
                            "title": "标题",
                            "val": "快速选择",
                            "max": 4,
                            "pla": "选填,不超过4个字"
                        },
                        {
                            "title": "介绍",
                            "val": "诚意推荐品质商品",
                            "max": 8,
                            "pla": "选填,不超过8个字"
                        },
                        {
                            "title": "链接",
                            "val": "\/pages\/columnGoods\/HotNewGoods\/index?type=1",
                            "max": 999,
                            "pla": "选填"
                        }
                    ]
                },
                "tabConfig": {
                    "tabVal": 0,
                    "type": 1,
                    "tabList": [
                        {
                            "name": "自动选择",
                            "icon": "iconzidongxuanze"
                        },
                        {
                            "name": "手动选择",
                            "icon": "iconshoudongxuanze"
                        }
                    ]
                },
                "selectSortConfig": {
                    "title": "商品类型",
                    "activeValue": "",
                    "list": [
                        {
                            "activeValue": "0",
                            "title": "商品列表"
                        },
                        {
                            "activeValue": "4",
                            "title": "热门榜单"
                        },
                        {
                            "activeValue": "5",
                            "title": "首发新品"
                        },
                        {
                            "activeValue": "6",
                            "title": "促销单品"
                        },
                        {
                            "activeValue": "7",
                            "title": "精品推荐"
                        }
                    ]
                },
                "selectConfig": {
                    "title": "商品分类",
                    "activeValue": "",
                    "list": []
                },
                "numConfig": {
                    "val": 6
                },
                "goodsSort": {
                    "title": "商品排序",
                    "name": "goodsSort",
                    "type": 0,
                    "list": [
                        {
                            "val": "系统排序",
                            "icon": "iconComm_whole"
                        },
                        {
                            "val": "销量最高",
                            "icon": "iconComm_number"
                        },
                        {
                            "val": "最新上架",
                            "icon": "iconzuixin"
                        }
                    ]
                },
                "goodsList": {
                    "max": 20,
                    "list": []
                }
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "titleInfo": {
                    "title": "",
                    "list": [
                        {
                            "title": "标题",
                            "val": "快速选择",
                            "max": 4,
                            "pla": "选填,不超过4个字"
                        },
                        {
                            "title": "介绍",
                            "val": "诚意推荐品质商品",
                            "max": 8,
                            "pla": "选填,不超过8个字"
                        },
                        {
                            "title": "链接",
                            "val": "\/pages\/columnGoods\/HotNewGoods\/index?type=1",
                            "max": 999,
                            "pla": "选填"
                        }
                    ]
                },
                "tabConfig": {
                    "tabVal": 0,
                    "type": 1,
                    "tabList": [
                        {
                            "name": "自动选择",
                            "icon": "iconzidongxuanze"
                        },
                        {
                            "name": "手动选择",
                            "icon": "iconshoudongxuanze"
                        }
                    ]
                },
                "selectSortConfig": {
                    "title": "商品类型",
                    "activeValue": "",
                    "list": [
                        {
                            "activeValue": "0",
                            "title": "商品列表"
                        },
                        {
                            "activeValue": "4",
                            "title": "热门榜单"
                        },
                        {
                            "activeValue": "5",
                            "title": "首发新品"
                        },
                        {
                            "activeValue": "6",
                            "title": "促销单品"
                        },
                        {
                            "activeValue": "7",
                            "title": "精品推荐"
                        }
                    ]
                },
                "selectConfig": {
                    "title": "商品分类",
                    "activeValue": "",
                    "list": []
                },
                "numConfig": {
                    "val": 6
                },
                "goodsSort": {
                    "title": "商品排序",
                    "name": "goodsSort",
                    "type": 0,
                    "list": [
                        {
                            "val": "系统排序",
                            "icon": "iconComm_whole"
                        },
                        {
                            "val": "销量最高",
                            "icon": "iconComm_number"
                        },
                        {
                            "val": "最新上架",
                            "icon": "iconzuixin"
                        }
                    ]
                },
                "goodsList": {
                    "max": 20,
                    "list": []
                }
            },
            "bb": {
                "isShow": {
                    "val": true
                },
                "titleInfo": {
                    "title": "",
                    "list": [
                        {
                            "title": "标题",
                            "val": "排行榜",
                            "max": 4,
                            "pla": "选填,不超过4个字"
                        },
                        {
                            "title": "介绍",
                            "val": "诚意推荐品质商品",
                            "max": 8,
                            "pla": "选填,不超过8个字"
                        },
                        {
                            "title": "链接",
                            "val": "\/pages\/columnGoods\/HotNewGoods\/index?type=1",
                            "max": 999,
                            "pla": "选填"
                        }
                    ]
                },
                "tabConfig": {
                    "tabVal": 0,
                    "type": 1,
                    "tabList": [
                        {
                            "name": "自动选择",
                            "icon": "iconzidongxuanze"
                        },
                        {
                            "name": "手动选择",
                            "icon": "iconshoudongxuanze"
                        }
                    ]
                },
                "selectSortConfig": {
                    "title": "商品类型",
                    "activeValue": "7",
                    "list": [
                        {
                            "activeValue": "0",
                            "title": "商品列表"
                        },
                        {
                            "activeValue": "4",
                            "title": "热门榜单"
                        },
                        {
                            "activeValue": "5",
                            "title": "首发新品"
                        },
                        {
                            "activeValue": "6",
                            "title": "促销单品"
                        },
                        {
                            "activeValue": "7",
                            "title": "精品推荐"
                        }
                    ]
                },
                "selectConfig": {
                    "title": "商品分类",
                    "activeValue": "",
                    "list": []
                },
                "numConfig": {
                    "val": 6
                },
                "goodsSort": {
                    "title": "商品排序",
                    "name": "goodsSort",
                    "type": 0,
                    "list": [
                        {
                            "val": "系统排序",
                            "icon": "iconComm_whole"
                        },
                        {
                            "val": "销量最高",
                            "icon": "iconComm_number"
                        },
                        {
                            "val": "最新上架",
                            "icon": "iconzuixin"
                        }
                    ]
                },
                "goodsList": {
                    "max": 20,
                    "list": []
                }
            },
            "cc": {
                "isShow": {
                    "val": true
                },
                "titleInfo": {
                    "title": "",
                    "list": [
                        {
                            "title": "标题",
                            "val": "首发新品",
                            "max": 4,
                            "pla": "选填,不超过4个字"
                        },
                        {
                            "title": "介绍",
                            "val": "新品推荐",
                            "max": 8,
                            "pla": "选填,不超过8个字"
                        },
                        {
                            "title": "链接",
                            "val": "\/pages\/columnGoods\/HotNewGoods\/index?type=1",
                            "max": 999,
                            "pla": "选填"
                        }
                    ]
                },
                "tabConfig": {
                    "tabVal": 0,
                    "type": 1,
                    "tabList": [
                        {
                            "name": "自动选择",
                            "icon": "iconzidongxuanze"
                        },
                        {
                            "name": "手动选择",
                            "icon": "iconshoudongxuanze"
                        }
                    ]
                },
                "selectSortConfig": {
                    "title": "商品类型",
                    "activeValue": "5",
                    "list": [
                        {
                            "activeValue": "0",
                            "title": "商品列表"
                        },
                        {
                            "activeValue": "4",
                            "title": "热门榜单"
                        },
                        {
                            "activeValue": "5",
                            "title": "首发新品"
                        },
                        {
                            "activeValue": "6",
                            "title": "促销单品"
                        },
                        {
                            "activeValue": "7",
                            "title": "精品推荐"
                        }
                    ]
                },
                "selectConfig": {
                    "title": "商品分类",
                    "activeValue": "",
                    "list": []
                },
                "numConfig": {
                    "val": 6
                },
                "goodsSort": {
                    "title": "商品排序",
                    "name": "goodsSort",
                    "type": 0,
                    "list": [
                        {
                            "val": "系统排序",
                            "icon": "iconComm_whole"
                        },
                        {
                            "val": "销量最高",
                            "icon": "iconComm_number"
                        },
                        {
                            "val": "最新上架",
                            "icon": "iconzuixin"
                        }
                    ]
                },
                "goodsList": {
                    "max": 20,
                    "list": []
                }
            },
            "dd": {
                "isShow": {
                    "val": true
                },
                "titleInfo": {
                    "title": "",
                    "list": [
                        {
                            "title": "标题",
                            "val": "精选单品",
                            "max": 4,
                            "pla": "选填,不超过4个字"
                        },
                        {
                            "title": "介绍",
                            "val": "诚意推荐品质商品",
                            "max": 8,
                            "pla": "选填,不超过8个字"
                        },
                        {
                            "title": "链接",
                            "val": "\/pages\/columnGoods\/HotNewGoods\/index?type=1",
                            "max": 999,
                            "pla": "选填"
                        }
                    ]
                },
                "tabConfig": {
                    "tabVal": 0,
                    "type": 1,
                    "tabList": [
                        {
                            "name": "自动选择",
                            "icon": "iconzidongxuanze"
                        },
                        {
                            "name": "手动选择",
                            "icon": "iconshoudongxuanze"
                        }
                    ]
                },
                "selectSortConfig": {
                    "title": "商品类型",
                    "activeValue": "",
                    "list": [
                        {
                            "activeValue": "0",
                            "title": "商品列表"
                        },
                        {
                            "activeValue": "4",
                            "title": "热门榜单"
                        },
                        {
                            "activeValue": "5",
                            "title": "首发新品"
                        },
                        {
                            "activeValue": "6",
                            "title": "促销单品"
                        },
                        {
                            "activeValue": "7",
                            "title": "精品推荐"
                        }
                    ]
                },
                "selectConfig": {
                    "title": "商品分类",
                    "activeValue": "",
                    "list": []
                },
                "numConfig": {
                    "val": 6
                },
                "goodsSort": {
                    "title": "商品排序",
                    "name": "goodsSort",
                    "type": 0,
                    "list": [
                        {
                            "val": "系统排序",
                            "icon": "iconComm_whole"
                        },
                        {
                            "val": "销量最高",
                            "icon": "iconComm_number"
                        },
                        {
                            "val": "最新上架",
                            "icon": "iconzuixin"
                        }
                    ]
                },
                "goodsList": {
                    "max": 20,
                    "list": []
                }
            },
            "aa": {
                "isShow": {
                    "val": true
                },
                "titleInfo": {
                    "title": "",
                    "list": [
                        {
                            "title": "标题",
                            "val": "促销精品",
                            "max": 4,
                            "pla": "选填,不超过4个字"
                        },
                        {
                            "title": "介绍",
                            "val": "诚意推荐品质商品",
                            "max": 8,
                            "pla": "选填,不超过8个字"
                        },
                        {
                            "title": "链接",
                            "val": "\/pages\/columnGoods\/HotNewGoods\/index?type=4&amp;name=促销单品",
                            "max": 999,
                            "pla": "选填"
                        }
                    ]
                },
                "tabConfig": {
                    "tabVal": 0,
                    "type": 1,
                    "tabList": [
                        {
                            "name": "自动选择",
                            "icon": "iconzidongxuanze"
                        },
                        {
                            "name": "手动选择",
                            "icon": "iconshoudongxuanze"
                        }
                    ]
                },
                "selectSortConfig": {
                    "title": "商品类型",
                    "activeValue": "6",
                    "list": [
                        {
                            "activeValue": "0",
                            "title": "商品列表"
                        },
                        {
                            "activeValue": "4",
                            "title": "热门榜单"
                        },
                        {
                            "activeValue": "5",
                            "title": "首发新品"
                        },
                        {
                            "activeValue": "6",
                            "title": "促销单品"
                        },
                        {
                            "activeValue": "7",
                            "title": "精品推荐"
                        }
                    ]
                },
                "selectConfig": {
                    "title": "商品分类",
                    "activeValue": "",
                    "list": []
                },
                "numConfig": {
                    "val": 6
                },
                "goodsSort": {
                    "title": "商品排序",
                    "name": "goodsSort",
                    "type": 0,
                    "list": [
                        {
                            "val": "系统排序",
                            "icon": "iconComm_whole"
                        },
                        {
                            "val": "销量最高",
                            "icon": "iconComm_number"
                        },
                        {
                            "val": "最新上架",
                            "icon": "iconzuixin"
                        }
                    ]
                },
                "goodsList": {
                    "max": 20,
                    "list": []
                }
            }
        },
        "picTxt": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "richText": {
                    "val": ""
                }
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "richText": {
                    "val": ""
                }
            }
        },
        "titles": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "titleInfo": {
                    "title": "",
                    "list": [
                        {
                            "title": "标题",
                            "val": "精品推荐",
                            "max": 20,
                            "pla": "选填,不超过四个字"
                        },
                        {
                            "title": "链接",
                            "val": "\/pages\/columnGoods\/HotNewGoods\/index?type=1",
                            "max": 999,
                            "pla": "选填"
                        }
                    ]
                }
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "titleInfo": {
                    "title": "",
                    "list": [
                        {
                            "title": "标题",
                            "val": "精品推荐",
                            "max": 20,
                            "pla": "选填,不超过四个字"
                        },
                        {
                            "title": "链接",
                            "val": "\/pages\/columnGoods\/HotNewGoods\/index?type=1",
                            "max": 999,
                            "pla": "选填"
                        }
                    ]
                }
            }
        },
        "customerService": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "imgUrl": {
                    "title": "最多可添加1张图片,图片建议宽度128 * 45px",
                    "url": ""
                },
                "routine_contact_type": "0"
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "imgUrl": {
                    "title": "最多可添加1张图片,图片建议宽度128 * 45px",
                    "url": ""
                },
                "routine_contact_type": "0"
            }
        },
        "tabBar": {
            "defaultVal": {
                "isShow": {
                    "val": true
                },
                "tabBarList": {
                    "title": "图片建议宽度81*81px",
                    "list": [
                        {
                            "name": "首页",
                            "imgList": [],
                            "link": "\/pages\/index\/index"
                        },
                        {
                            "name": "分类",
                            "imgList": [],
                            "link": "\/pages\/goods_cate\/goods_cate"
                        },
                        {
                            "name": "购物车",
                            "imgList": [],
                            "link": "\/pages\/order_addcart\/order_addcart"
                        },
                        {
                            "name": "我的",
                            "imgList": [],
                            "link": "\/pages\/user\/index"
                        }
                    ]
                }
            },
            "default": {
                "isShow": {
                    "val": true
                },
                "tabBarList": {
                    "title": "图片建议宽度81*81px",
                    "list": [
                        {
                            "name": "首页",
                            "imgList": [
                                "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/20b0f77e089d89dd0234bd2c1c42167b.png",
                                "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/80b37f55136d1ddb5c00cd46a8bbeea0.png"
                            ],
                            "link": "\/pages\/index\/index"
                        },
                        {
                            "name": "分类",
                            "imgList": [
                                "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/ff4fb519a5f3abd5981399a3b9671555.png",
                                "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/8b05f6a6e72f9345c2e27e7ca2599389.png"
                            ],
                            "link": "\/pages\/goods_cate\/goods_cate"
                        },
                        {
                            "name": "购物车",
                            "imgList": [
                                "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/cb71cf5eda692c3c4da155aad9fbeffc.png",
                                "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/60aa9dce2e8b69f0a04dd69fb113ccee.png"
                            ],
                            "link": "\/pages\/order_addcart\/order_addcart"
                        },
                        {
                            "name": "我的",
                            "imgList": [
                                "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/a7500e6af994f311364d3a9f93506669.png",
                                "http:\/\/xxx.xxx.xxx.xxx\/uploads\/attach\/2022\/11\/20221123\/3805070fdfcd184cc49911a545763a88.png"
                            ],
                            "link": "\/pages\/user\/index"
                        }
                    ]
                }
            }
        }
    }
}

修改头部图片-如何用word制作透明背景的文字或图片或二维码-百度经验

https://jingyan.baidu.com/article/fc07f989be7fc612ffe519d5.html
把定制透明背景文字图片放在public目录下,在eb_diy中
https:\/\/data44.wuht.net\/\/uploads\/attach\/2022\/01\/20220115\/28a88411581c15dbc65fa4fa8e0d0c17.png 改为 /5.png 就可以修改头部图片。

转换unicode

在notepad++把\\u 替换为;&#x
最多可添񒨁张图片,图片建议宽&#x5ea6128
拷贝到
http://www.metools.info/code/c40.html 可以实现 utf-8转中文
优质精选好物
优质精选好物
\u4f18\u8d28\u7cbe\u9009\u597d\u7269
在eb_diy中修改文字utf编码应该可以修改页面对应的文字

str = '\u897f'
print(str)
print str.decode("unicode-escape")

favicon.ico

修改public/admin/favicon.ico可以改变后台的图标。
修改public/favicon.ico可以改变网页或者H5的图标。

public/static/html/pc.html 可以修改标题

<title>crmeb-PC端</title>

CRMEB\template\uni-app\api\api.js
CRMEB\template\uni-app\pages\index\visualization\components\headerSerch.vue

			<view class="logo">
				<image class="skeleton-rect" :src="logoConfig" mode="heightFix"></image>
				<view class="swiger">{{titleInfo.length ? titleInfo[0].val : ''}}</view>

			</view>

		props: {
			dataConfig: {
				type: Object,
				default: () => {}
			}
		},

		watch: {
			dataConfig: {
				immediate: true,
				handler(nVal, oVal) {
					if (nVal) {
						this.logoConfig = nVal ? nVal.imgUrl.url : '';
						this.hotWords = nVal.hotList.list || []
						this.isShow = nVal.isShow.val
						this.titleInfo = nVal.titleInfo && nVal.titleInfo.list.length ? nVal.titleInfo.list : [];
						uni.setStorageSync('hotList', this.hotWords || []);

CRMEB\template\uni-app\pages\index\visualization\index.vue

			diyData() {
				let that = this;
				getDiy().then((res) => {
					let data = res.data;
					that.headerSerch = data.headerSerch;

	import {
		getDiy,
		getIndexData,
		getCouponV2,
		getCouponNewUser,
	} from "@/api/api.js";

template\uni-app\pages\index\visualization\index.vue

				headerSerch: {}, //头部搜索
				swiperBg: {}, //轮播
				menus: {}, //导航
				news: {}, //消息公告
				activity: {}, //活动魔方
				alive: {},
				scrollBox: {}, //快速选择分类
				titles: {}, //标题
				goodList: {}, //商品列表(商品列表、首发新品、热门榜单、促销单品、精品推荐)
				tabBar: {}, //导航
				customerService: {}, //客服
				picTxt: {}, //图文详情
				bargain: {}, //砍价
				combination: {}, //拼团
				adsRecommend: {}, //广告位
				seckill: {}, //秒杀
				coupon: {}, //优惠券
				tabNav: {}, //分类tab

轮播图片,在eb_diy中修改配置应该可以修改。
ttps://data44.wuht.net//uploads/attach/2022/01/20220115/84578abf1060697da0529a5ccc50934c.png

ttps://data44.wuht.net//uploads/attach/2022/01/20220115/d54f87813d22fc2ce2e6e231f3bcfae7.png

app如何打开了request url_uni-app封装一个request请求_慢火车阅读的博客-CSDN博客
htps://blog.csdn.net/weixin_29868343/article/details/112101089

三、搭建本地开源版的开发、测试环境

CRMEB v4window+phpstudy8安装 - CRMEB文档

htps://doc.crmeb.com/single/crmeb_v4/920

请问怎么搭建本地开源版的开发、测试环境
htps://www.crmeb.com/ask/thread/13276

在这里插入图片描述
template\uni-app\config\app.js

	// H5配置
	// #ifdef H5
	//H5接口是浏览器地址,非单独部署不用修改
	HTTP_REQUEST_URL: window.location.protocol + "//" + window.location.host,
	// #endif

template\uni-app\utils\request.js


['options', 'get', 'post', 'put', 'head', 'delete', 'trace', 'connect'].forEach((method) => {
	request[method] = (api, data, opt) => baseRequest(api, method, data, opt || {})
});

CRMEB4.x版和pro版客服配置详解 - Losky的个人空间 - OSCHINA - 中文开源技术交流社区
htps://my.oschina.net/u/4300010/blog/4967097

修改 /config/app.js

HTTP_REQUEST_URL: ‘https://xxx.com’,// 请求域名 格式: https:// 您的域名

VUE_APP_WS_URL: wss://xxx.com:20003,// 客服域名 格式: ws:// 您的域名:20003

template\uni-app\App.vue


			// #ifdef H5
			uni.getSystemInfo({
				success(e) {
					/* 窗口宽度大于420px且不在PC页面且不在移动设备时跳转至 PC.html 页面 */
					if (e.windowWidth > 420 && !window.top.isPC && !/iOS|Android/i.test(e.system)) {
						window.location.pathname = '/static/html/pc.html';
					}
				}
			});

template\uni-app\static\html\pc.html
当devtools切换设备为手机时,页面调转到htp://localhost:8080/pages/index/index

		<script type="text/javascript">
			window.isPC = true;
			
			window.onload = function(){
				/* 监听电脑浏览器窗口尺寸改变 */
				window.onresize = function(){
					/* 窗口宽度 小于或等于420px 时,跳转回H5页面 */
					if(window.innerWidth <= 420){
						window.location.pathname = '/';
					}
				}
			}
		</script>

可以查看报文请求和回复等流程,并与线上的报文比较。

在这里插入图片描述

修改iview-admin,启动的端口号

template\admin\package.json

  "scripts": {
    "serve": "vue-cli-service serve --open --mode=dev",
    "build": "vue-cli-service build --mode=production"
  },

serve里面增加“ --port=8888”,改为

  "scripts": {
    "serve": "vue-cli-service serve --open --mode=dev --port=8888",
    "build": "vue-cli-service build --mode=production"
  },

然后 npm run serve

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐