[ 'title' => get_lang('dict_diy.mall_component_type_basic'), 'list' => [ 'MallGoodsList' => [ 'title' => '商品列表', 'icon' => 'iconfont iconshangpinliebiao', 'path' => 'edit-mall-goods-list', 'support_page' => [], 'uses' => 0, 'sort' => 10011, 'value' => [ 'style' => 'style-1', 'source' => 'all', 'num' => 10, 'goods_category' => '', "goods_category_name" => "请选择", 'goods_ids' => [], "sortWay" => "default", // 排序方式,default:综合,sale_num:销量,price:价格 "goodsNameStyle" => [ "color" => "#303133", "control" => true, "fontWeight" => 'normal', "isShow" => true ], "priceStyle" => [ "color" => "#FF4142", "control" => true, "isShow" => true ], "saleStyle" => [ "color" => "#999999", "control" => true, "isShow" => true ], "labelStyle" => [ "control" => true, "isShow" => true ], "btnStyle" => [ "fontWeight" => false, "padding" => 0, "aroundRadius" => 25, "cartEvent" => "detail", "text" => "购买", "textColor" => "#FFFFFF", "startBgColor" => "#FF4142", "endBgColor" => "#FF4142", "style" => "button", "control" => true ], "imgElementRounded" => 10,// 图片圆角 ], // 组件属性 'template' => [ "textColor" => "#303133", // 文字颜色 'pageStartBgColor' => '', // 底部背景颜色(开始) 'pageEndBgColor' => '', // 底部背景颜色(结束) 'pageGradientAngle' => 'to bottom', // 渐变角度,从上到下(to bottom)、从左到右(to right) 'componentBgUrl' => '', // 组件背景图片 'componentBgAlpha' => 2, // 组件背景图片的透明度,0~10 "componentStartBgColor" => '', // 组件背景颜色(开始) "componentEndBgColor" => '', // 组件背景颜色(结束) "componentGradientAngle" => 'to bottom', // 渐变角度,上下(to bottom)、左右(to right) "topRounded" => 0, // 组件上圆角 "bottomRounded" => 0, // 组件下圆角 "elementBgColor" => '', // 元素背景颜色 "topElementRounded" => 10,// 元素上圆角 "bottomElementRounded" => 10, // 元素下圆角 "margin" => [ "top" => 0, // 上边距 "bottom" => 0, // 下边距 "both" => 10 // 左右边距 ] ] ], 'MallSearch' => [ 'title' => '搜索', 'icon' => 'iconfont iconsousuo', 'path' => 'edit-mall-search', 'support_page' => [], 'uses' => 1, 'sort' => 10012, 'value' => [ "searchStyle" => "style-1", "searchLink" => [ "name" => "" ], "text" => "请输入搜索关键词", "iconType" => "img", "icon" => "", "imageUrl" => "" ], // 组件属性 'template' => [ "textColor" => "#303133", // 文字颜色 'pageStartBgColor' => '', // 底部背景颜色(开始) 'pageEndBgColor' => '', // 底部背景颜色(结束) 'pageGradientAngle' => 'to bottom', // 渐变角度,从上到下(to bottom)、从左到右(to right) 'componentBgUrl' => '', // 组件背景图片 'componentBgAlpha' => 2, // 组件背景图片的透明度,0~10 "componentStartBgColor" => '', // 组件背景颜色(开始) "componentEndBgColor" => '', // 组件背景颜色(结束) "componentGradientAngle" => 'to bottom', // 渐变角度,上下(to bottom)、左右(to right) "topRounded" => 0, // 组件上圆角 "bottomRounded" => 0, // 组件下圆角 "elementBgColor" => '', // 元素背景颜色 "topElementRounded" => 0,// 元素上圆角 "bottomElementRounded" => 0, // 元素下圆角 "margin" => [ "top" => 10, // 上边距 "bottom" => 10, // 下边距 "both" => 10 // 左右边距 ] ] ], 'MallManyGoodsList' => [ 'title' => '多商品组', 'icon' => 'iconfont iconduoshangpinzu', 'path' => 'edit-mall-many-goods-list', 'support_page' => [], 'uses' => 0, 'sort' => 10013, 'value' => [ 'style' => 'style-2', 'num' => 6, "sortWay" => "default", // 排序方式,default:综合,sale_num:销量,price:价格 "headStyle" => "style-1", "aroundRadius" => 25, "source" => "custom", "goods_category" => '', "goods_category_name" => '请选择', "goodsNameStyle" => [ "color" => "#303133", "control" => true, "fontWeight" => 'normal', "isShow" => true ], "priceStyle" => [ "color" => "#FF4142", "control" => true, "isShow" => true ], "saleStyle" => [ "color" => "#999999", "control" => true, "isShow" => true ], "labelStyle" => [ "control" => true, "isShow" => true ], "btnStyle" => [ "fontWeight" => false, "padding" => 0, "aroundRadius" => 25, "cartEvent" => "detail", "text" => "购买", "textColor" => "#FFFFFF", "startBgColor" => "#FF4142", "endBgColor" => "#FF4142", "style" => "button", "control" => true ], "list" => [ [ "title" => "推荐", "desc" => "猜你喜欢", "source" => "all", "goods_category" => '', "goods_category_name" => '请选择', "goods_ids" => [], "imageUrl" => '' ] ], "imgElementRounded" => 0 // 图片圆角 ], // 组件属性 'template' => [ "textColor" => "#303133", // 文字颜色 'pageStartBgColor' => '', // 底部背景颜色(开始) 'pageEndBgColor' => '', // 底部背景颜色(结束) 'pageGradientAngle' => 'to bottom', // 渐变角度,从上到下(to bottom)、从左到右(to right) 'componentBgUrl' => '', // 组件背景图片 'componentBgAlpha' => 2, // 组件背景图片的透明度,0~10 "componentStartBgColor" => '', // 组件背景颜色(开始) "componentEndBgColor" => '', // 组件背景颜色(结束) "componentGradientAngle" => 'to bottom', // 渐变角度,上下(to bottom)、左右(to right) "topRounded" => 0, // 组件上圆角 "bottomRounded" => 0, // 组件下圆角 "elementBgColor" => '', // 元素背景颜色 "topElementRounded" => 0,// 元素上圆角 "bottomElementRounded" => 0, // 元素下圆角 "margin" => [ "top" => 0, // 上边距 "bottom" => 0, // 下边距 "both" => 10 // 左右边距 ] ] ], 'MallGoodsCoupon' => [ 'title' => '优惠券', 'icon' => 'iconfont iconyouhuiquan1', 'path' => 'edit-mall-goods-coupon', 'support_page' => [], 'uses' => 0, 'sort' => 10014, 'value' => [ 'style' => 'style-1', "styleName" => "风格一", 'source' => 'all', 'num' => 6, 'couponIds' => [], "btnText" => "立即领取", 'couponTitle' => '先领券 再购物', 'couponSubTitle' => '领券下单 享购物优惠', "titleColor" => "#ffffff", "subTitleColor" => "#ffffff", "couponItem" => [ "bgColor" => "#ffffff", "bgUrl" => "/addon/mall/diy/goods_coupon/style5_bg.png", "textColor" => "#333333", "subTextColor" => "#666666", "moneyColor" => "#333333", "btnColor" => "#333333", "aroundRadius" => 12 ] ], // 组件属性 'template' => [ "textColor" => "#303133", // 文字颜色 'pageStartBgColor' => '', // 底部背景颜色(开始) 'pageEndBgColor' => '', // 底部背景颜色(结束) 'pageGradientAngle' => 'to bottom', // 渐变角度,从上到下(to bottom)、从左到右(to right) 'componentBgUrl' => '', // 组件背景图片 'componentBgAlpha' => 2, // 组件背景图片的透明度,0~10 "componentStartBgColor" => '', // 组件背景颜色(开始) "componentEndBgColor" => '', // 组件背景颜色(结束) "componentGradientAngle" => 'to bottom', // 渐变角度,上下(to bottom)、左右(to right) "topRounded" => 0, // 组件上圆角 "bottomRounded" => 0, // 组件下圆角 "elementBgColor" => '', // 元素背景颜色 "topElementRounded" => 0,// 元素上圆角 "bottomElementRounded" => 0, // 元素下圆角 "margin" => [ "top" => 10, // 上边距 "bottom" => 10, // 下边距 "both" => 10 // 左右边距 ] ] ], 'MallShopCouponList' => [ 'title' => '商家优惠券', 'icon' => 'iconfont iconyouhuiquan1', 'path' => 'edit-mall-shop-coupon-list', 'support_page' => [], 'uses' => 0, 'sort' => 10014, 'value' => [ 'style' => 'style-1', "styleName" => "风格一", 'source' => 'all', 'num' => 6, 'couponIds' => [], "btnText" => "立即领取", 'couponTitle' => '先领券 再购物', 'couponSubTitle' => '领券下单 享购物优惠', "titleColor" => "#ffffff", "subTitleColor" => "#ffffff", "couponItem" => [ "bgColor" => "#ffffff", "bgUrl" => "/addon/mall/diy/goods_coupon/style5_bg.png", "textColor" => "#333333", "subTextColor" => "#666666", "moneyColor" => "#333333", "btnColor" => "#333333", "aroundRadius" => 12 ] ], // 组件属性 'template' => [ "textColor" => "#303133", // 文字颜色 'pageStartBgColor' => '', // 底部背景颜色(开始) 'pageEndBgColor' => '', // 底部背景颜色(结束) 'pageGradientAngle' => 'to bottom', // 渐变角度,从上到下(to bottom)、从左到右(to right) 'componentBgUrl' => '', // 组件背景图片 'componentBgAlpha' => 2, // 组件背景图片的透明度,0~10 "componentStartBgColor" => '', // 组件背景颜色(开始) "componentEndBgColor" => '', // 组件背景颜色(结束) "componentGradientAngle" => 'to bottom', // 渐变角度,上下(to bottom)、左右(to right) "topRounded" => 0, // 组件上圆角 "bottomRounded" => 0, // 组件下圆角 "elementBgColor" => '', // 元素背景颜色 "topElementRounded" => 0,// 元素上圆角 "bottomElementRounded" => 0, // 元素下圆角 "margin" => [ "top" => 10, // 上边距 "bottom" => 10, // 下边距 "both" => 10 // 左右边距 ] ] ], 'MallMemberInfo' => [ 'title' => '会员信息', 'icon' => 'iconfont iconhuiyuanzhongxin', 'path' => 'edit-mall-member-info', 'support_page' => [ 'DIY_MEMBER_INDEX' ], 'uses' => 1, 'sort' => 10015, 'value' => [ "style" => "style-1", "styleName" => "风格1", 'bgUrl' => '', 'isShowAccount' => true, 'uidTextColor' => '#666666', 'accountTextColor' => '#666666' ], ], 'MallShopInfo' => [ 'title' => '商家信息', 'icon' => 'iconfont iconmendian', 'path' => 'edit-mall-shop-info', 'support_page' => [ 'DIY_SITE_INDEX' ], 'uses' => 1, 'sort' => 10022, 'position' => 'top_fixed', // 组件置顶标识,不能拖拽 'value' => [ 'positionWay' => 'static', 'fixedBgColor' => '', 'bgGradient' => false, 'bgImg' => '/addon/mall/diy/site_index/style2/header_bg.jpg', 'bgOpacity' => 80, // 搜索设置 'search' => [ 'text' => '请输入搜索关键词', "link" => [ "name" => "" ], 'hotWord' => [ "interval" => 3, 'list' => [] ], 'color' => '#ffffff', 'btnColor' => '#EF000C', 'bgColor' => 'rgba(255, 255, 255, 0.2)', 'btnBgColor' => '#ffffff' ], 'tab' => [ 'control' => true, // 控制显示隐藏 'noColor' => '#ffffff', // 未选中颜色 'selectColor' => '#EF000C ', // 选中颜色 'noBgColor' => 'transparent', // 未选中背景颜色 'selectBgColor' => '#ffffff', // 选中背景颜色 'list' => [ [ 'text' => '新品', // 最多4个字 'source' => 'diy_page', 'diy_id' => '', 'diy_title' => '' ], [ 'text' => '热卖', 'source' => 'diy_page', 'diy_id' => '', 'diy_title' => '' ], [ 'text' => '领券', 'source' => 'diy_page', 'diy_id' => '', 'diy_title' => '' ] ] ], 'shop' => [ "textColor" => "#ffffff" ] ], ], 'MallOrderInfo' => [ 'title' => '订单中心', 'icon' => 'iconfont icondingdanzhongxinPC-1', 'path' => 'edit-mall-order-info', 'support_page' => [ 'DIY_MEMBER_INDEX' ], 'uses' => 1, 'sort' => 10016, 'value' => [ "textColor" => "#303133", "fontSize" => 16, "fontWeight" => "normal", "text" => "订单中心", "more" => [ "text" => "全部订单", "color" => "#999999", ], "item" => [ "fontSize" => 12, "fontWeight" => "normal", "color" => "#303133" ], ] ], 'MallGoodsRecommend' => [ 'title' => '商品推荐', 'icon' => 'iconfont icona-shangpintuijianpc30', 'path' => 'edit-mall-goods-recommend', 'support_page' => [], 'uses' => 0, 'sort' => 10019, 'value' => [ "priceStyle" => [ "mainColor" => "#333333", ], 'source' => 'all', "goods_ids" => [], 'list' => [ [ "title" => [ "text" => "今日推荐", "textColor" => "#303133" ], "moreTitle" => [ "text" => "精选", "textColor" => "#FFFFFF", "startColor" => "#FF7234", "endColor" => "#FF213F", ], "listFrame" => [ "startColor" => "#FFE5E5", "endColor" => "#FFF5F0", ], "button" => [ "text" => "首单", "textColor" => "#FFFFFF", "color" => "#FF1128", ] ], [ "title" => [ "text" => "品质好物", "textColor" => "#303133" ], "moreTitle" => [ "text" => "精选", "textColor" => "#FFFFFF", "startColor" => "#F2C719", "endColor" => "#FBBA08", ], "listFrame" => [ "startColor" => "#FFEFBA", "endColor" => "#FFF5D7", ], "button" => [ "text" => "首单", "textColor" => "#FFFFFF", "color" => "#FF1128", ] ], [ "title" => [ "text" => "热销爆款", "textColor" => "#303133" ], "moreTitle" => [ "text" => "精选", "textColor" => "#FFFFFF", "startColor" => "#FFA629", "endColor" => "#FF8E1E", ], "listFrame" => [ "startColor" => "#FFE4D9", "endColor" => "#FFFBF9", ], "button" => [ "text" => "首单", "textColor" => "#FFFFFF", "color" => "#FF1128", ] ] ], "imgElementRounded" => 10,// 图片圆角 ], // 组件属性 'template' => [ "textColor" => "#303133", // 文字颜色 'pageStartBgColor' => '', // 底部背景颜色(开始) 'pageEndBgColor' => '', // 底部背景颜色(结束) 'pageGradientAngle' => 'to bottom', // 渐变角度,从上到下(to bottom)、从左到右(to right) 'componentBgUrl' => '', // 组件背景图片 'componentBgAlpha' => 2, // 组件背景图片的透明度,0~10 "componentStartBgColor" => '', // 组件背景颜色(开始) "componentEndBgColor" => '', // 组件背景颜色(结束) "componentGradientAngle" => 'to bottom', // 渐变角度,上下(to bottom)、左右(to right) "topRounded" => 0, // 组件上圆角 "bottomRounded" => 0, // 组件下圆角 "elementBgColor" => '', // 元素背景颜色 "topElementRounded" => 10,// 元素上圆角 "bottomElementRounded" => 10, // 元素下圆角 "margin" => [ "top" => 10, // 上边距 "bottom" => 10, // 下边距 "both" => 10 // 左右边距 ], ] ], 'SingleRecommend' => [ 'title' => '精选推荐', 'icon' => 'iconfont icona-jingxuantuijianpc30-12', 'path' => 'edit-single-recommend', 'support_page' => [], 'uses' => 0, 'sort' => 10019, 'value' => [ "titleStyle" => [ 'title' => '风格1', 'value' => 'style-1' ], 'textImg' => 'addon/mall/diy/index/style2/single_recommend_text1.png', "textLink" => [ "name" => "" ], "titleColor" => "#999999", "subTitle" => [ "text" => "更多", "textColor" => "#999999", "link" => [ "name" => "" ] ], 'source' => 'all', 'goods_ids' => [], "imageHeight" => 250, "list" => [ [ "link" => [ "name" => "" ], "imageUrl" => "addon/mall/diy/index/style2/single_recommend_banner1.jpg", "imgWidth" => 345, "imgHeight" => 495 ], [ "link" => [ "name" => "" ], "imageUrl" => "addon/mall/diy/index/style2/single_recommend_banner2.jpg", "imgWidth" => 345, "imgHeight" => 495 ] ], "goodsNameStyle" => [ "color" => "#303133", "control" => true, "fontWeight" => 'normal' ], "priceStyle" => [ "mainColor" => "#FF4142", "mainControl" => true, "lineColor" => "#999CA7", "lineControl" => true ], "saleStyle" => [ "color" => "#FF0000", "control" => true ], 'topCarouselRounded' => 12, 'bottomCarouselRounded' => 12, 'indicatorColor' => 'rgba(255, 255, 255, 0.6)', 'indicatorActiveColor' => '#ffffff', ], // 组件属性 'template' => [ "textColor" => "#303133", // 文字颜色 'pageStartBgColor' => '', // 底部背景颜色(开始) 'pageEndBgColor' => '', // 底部背景颜色(结束) 'pageGradientAngle' => 'to bottom', // 渐变角度,从上到下(to bottom)、从左到右(to right) 'componentBgUrl' => '', // 组件背景图片 'componentBgAlpha' => 2, // 组件背景图片的透明度,0~10 "componentStartBgColor" => '', // 组件背景颜色(开始) "componentEndBgColor" => '', // 组件背景颜色(结束) "componentGradientAngle" => 'to bottom', // 渐变角度,上下(to bottom)、左右(to right) "topRounded" => 0, // 组件上圆角 "bottomRounded" => 0, // 组件下圆角 "elementBgColor" => '', // 元素背景颜色 "topElementRounded" => 0,// 元素上圆角 "bottomElementRounded" => 0, // 元素下圆角 "margin" => [ "top" => 10, // 上边距 "bottom" => 10, // 下边距 "both" => 10 // 左右边距 ] ] ], 'MallGoodsRanking' => [ 'title' => '排行榜', 'icon' => 'iconfont icona-paihangbangpc30', 'path' => 'edit-mall-goods-ranking', 'support_page' => [], 'uses' => 0, 'sort' => 10021, 'value' => [ "list" => [ [ 'bgUrl' => 'addon/mall/rank/rank_bg_01.jpg', // 榜单背景图 'text' => '热销排行榜', "textColor" => "#FFFFFF", "imgUrl" => "addon/mall/rank/rank_trophy.png", // 图标 'subTitle' => [ 'text' => '查看更多', 'textColor' => '#FFFFFF', 'link' => [ 'name' => 'MALL_GOODS_RANK', "parent" => "MALL_LINK", 'title' => '商品排行榜', 'url' => '/addon/mall/pages/goods/rank', 'action' => '', ] ], 'listFrame' => [ 'startColor' => '#FEA715', 'endColor' => '#FE1E00', ], 'source' => 'default', 'rankIds' => [] ], [ 'bgUrl' => 'addon/mall/rank/rank_bg_02.jpg', // 榜单背景图 'text' => '人气排行榜', "textColor" => "#FFFFFF", "imgUrl" => "addon/mall/rank/rank_top.png", // 图标 'subTitle' => [ 'text' => '查看更多', 'textColor' => '#FFFFFF', 'link' => [ 'name' => 'MALL_GOODS_RANK', "parent" => "MALL_LINK", 'title' => '商品排行榜', 'url' => '/addon/mall/pages/goods/rank', 'action' => '', ] ], 'listFrame' => [ 'startColor' => '#FEA715', 'endColor' => '#FE1E00', ], 'source' => 'default', 'rankIds' => [] ] ], ], // 组件属性 'template' => [ "textColor" => "#303133", // 文字颜色 'pageStartBgColor' => '', // 底部背景颜色(开始) 'pageEndBgColor' => '', // 底部背景颜色(结束) 'pageGradientAngle' => 'to bottom', // 渐变角度,从上到下(to bottom)、从左到右(to right) 'componentBgUrl' => '', // 组件背景图片 'componentBgAlpha' => 2, // 组件背景图片的透明度,0~10 "componentStartBgColor" => '', // 组件背景颜色(开始) "componentEndBgColor" => '', // 组件背景颜色(结束) "componentGradientAngle" => 'to bottom', // 渐变角度,上下(to bottom)、左右(to right) "topRounded" => 0, // 组件上圆角 "bottomRounded" => 0, // 组件下圆角 "elementBgColor" => '', // 元素背景颜色 "topElementRounded" => 10,// 元素上圆角 "bottomElementRounded" => 10, // 元素下圆角 "margin" => [ "top" => 10, // 上边距 "bottom" => 10, // 下边距 "both" => 10 // 左右边距 ] ] ], 'MallShopList' => [ 'title' => '甄选好店', 'icon' => 'nc-iconfont nc-icon-dianpuV6xx', 'path' => 'edit-mall-shop-list', 'support_page' => [], 'uses' => 0, 'sort' => 10011, 'value' => [ "titleStyle" => [ 'title' => '风格1', 'value' => 'style-1' ], 'textImg' => 'addon/mall/diy/mall_shop_list/index/title.png', "siteColor" => "#333333", "subTitle" => [ "text" => "更多", "textColor" => "#999999", "link" => [ "name" => "" ] ], 'style' =>'style-1', 'source' => 'all', 'num' => 10, 'site_ids' => [], "siteStyle" => [ "startBgColor" => "#FFC3C4", "endBgColor" => "#FFDABA", "gradientAngle"=> "to bottom", "bgUrl"=> "/addon/mall/diy/mall_shop_list/index/bgUrl.jpg" ], "siteNameStyle" => [ "color" => "#303133", "fontWeight" => 'normal', "isShow" => true ], "imgElementRounded" => 10,// 图片圆角 ], // 组件属性 'template' => [ "textColor" => "#303133", // 文字颜色 'pageStartBgColor' => '', // 底部背景颜色(开始) 'pageEndBgColor' => '', // 底部背景颜色(结束) 'pageGradientAngle' => 'to bottom', // 渐变角度,从上到下(to bottom)、从左到右(to right) 'componentBgUrl' => '', // 组件背景图片 'componentBgAlpha' => 2, // 组件背景图片的透明度,0~10 "componentStartBgColor" => '', // 组件背景颜色(开始) "componentEndBgColor" => '', // 组件背景颜色(结束) "componentGradientAngle" => 'to bottom', // 渐变角度,上下(to bottom)、左右(to right) "topRounded" => 0, // 组件上圆角 "bottomRounded" => 0, // 组件下圆角 "elementBgColor" => '', // 元素背景颜色 "topElementRounded" => 10,// 元素上圆角 "bottomElementRounded" => 10, // 元素下圆角 "margin" => [ "top" => 10, // 上边距 "bottom" => 0, // 下边距 "both" => 10 // 左右边距 ] ] ], ] ] ];