Commit 0ab6845b authored by 前端-黄佳鑫's avatar 前端-黄佳鑫
parents e52038b4 f5679bad
...@@ -66,6 +66,8 @@ export const bannerConfig = { ...@@ -66,6 +66,8 @@ export const bannerConfig = {
title: '广告图', title: '广告图',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'Banner', componentName: 'Banner',
props: { props: {
style: { style: {
...@@ -83,6 +85,8 @@ export const categoryGuidanceConfig = { ...@@ -83,6 +85,8 @@ export const categoryGuidanceConfig = {
title: '品类导航', title: '品类导航',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MobileNavCard', componentName: 'MobileNavCard',
props: { props: {
style: { style: {
...@@ -112,6 +116,7 @@ export const marketingConfig1 = { ...@@ -112,6 +116,7 @@ export const marketingConfig1 = {
'11-1': { '11-1': {
title: '活动-特价促销', title: '活动-特价促销',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -121,6 +126,8 @@ export const marketingConfig1 = { ...@@ -121,6 +126,8 @@ export const marketingConfig1 = {
}, },
'11-1-1': { '11-1-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
componentType: PROPS_SETTING_TYPES.marketingCardHeader, componentType: PROPS_SETTING_TYPES.marketingCardHeader,
...@@ -132,6 +139,8 @@ export const marketingConfig1 = { ...@@ -132,6 +139,8 @@ export const marketingConfig1 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
...@@ -147,6 +156,7 @@ export const marketingConfig2 = { ...@@ -147,6 +156,7 @@ export const marketingConfig2 = {
'11-2': { '11-2': {
title: '活动-直降促销', title: '活动-直降促销',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -156,6 +166,8 @@ export const marketingConfig2 = { ...@@ -156,6 +166,8 @@ export const marketingConfig2 = {
}, },
'11-2-1': { '11-2-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
componentType: PROPS_SETTING_TYPES.marketingCardHeader, componentType: PROPS_SETTING_TYPES.marketingCardHeader,
...@@ -167,6 +179,8 @@ export const marketingConfig2 = { ...@@ -167,6 +179,8 @@ export const marketingConfig2 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
...@@ -182,6 +196,7 @@ export const marketingConfig3 = { ...@@ -182,6 +196,7 @@ export const marketingConfig3 = {
'11-3': { '11-3': {
title: '活动-满量减', title: '活动-满量减',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -191,6 +206,8 @@ export const marketingConfig3 = { ...@@ -191,6 +206,8 @@ export const marketingConfig3 = {
}, },
'11-3-1': { '11-3-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
componentType: PROPS_SETTING_TYPES.marketingCardHeader, componentType: PROPS_SETTING_TYPES.marketingCardHeader,
...@@ -202,11 +219,13 @@ export const marketingConfig3 = { ...@@ -202,11 +219,13 @@ export const marketingConfig3 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
type: 4, type: 4,
exType: 1 exType: 1,
}, },
childNodes: [], childNodes: [],
childComponentName: 'MarketingCard.GoodsItem', childComponentName: 'MarketingCard.GoodsItem',
...@@ -218,6 +237,7 @@ export const marketingConfig4 = { ...@@ -218,6 +237,7 @@ export const marketingConfig4 = {
'11-4': { '11-4': {
title: '活动-折扣促销', title: '活动-折扣促销',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -227,6 +247,8 @@ export const marketingConfig4 = { ...@@ -227,6 +247,8 @@ export const marketingConfig4 = {
}, },
'11-4-1': { '11-4-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
componentType: PROPS_SETTING_TYPES.marketingCardHeader, componentType: PROPS_SETTING_TYPES.marketingCardHeader,
...@@ -238,6 +260,8 @@ export const marketingConfig4 = { ...@@ -238,6 +260,8 @@ export const marketingConfig4 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
...@@ -253,6 +277,7 @@ export const marketingConfig5 = { ...@@ -253,6 +277,7 @@ export const marketingConfig5 = {
'11-5': { '11-5': {
title: '活动-满量折', title: '活动-满量折',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -262,22 +287,26 @@ export const marketingConfig5 = { ...@@ -262,22 +287,26 @@ export const marketingConfig5 = {
}, },
'11-5-1': { '11-5-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
componentType: PROPS_SETTING_TYPES.marketingCardHeader, componentType: PROPS_SETTING_TYPES.marketingCardHeader,
props: { props: {
type: 5 type: 5,
}, },
}, },
'11-5-2': { '11-5-2': {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
type: 4, type: 4,
exType: 2 exType: 2,
}, },
childNodes: [], childNodes: [],
childComponentName: 'MarketingCard.GoodsItem', childComponentName: 'MarketingCard.GoodsItem',
...@@ -289,6 +318,7 @@ export const marketingConfig6 = { ...@@ -289,6 +318,7 @@ export const marketingConfig6 = {
'11-6': { '11-6': {
title: '活动-满额减', title: '活动-满额减',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -298,6 +328,8 @@ export const marketingConfig6 = { ...@@ -298,6 +328,8 @@ export const marketingConfig6 = {
}, },
'11-6-1': { '11-6-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
componentType: PROPS_SETTING_TYPES.marketingCardHeader, componentType: PROPS_SETTING_TYPES.marketingCardHeader,
...@@ -309,11 +341,13 @@ export const marketingConfig6 = { ...@@ -309,11 +341,13 @@ export const marketingConfig6 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
type: 5, type: 5,
exType: 1 exType: 1,
}, },
childNodes: [], childNodes: [],
childComponentName: 'MarketingCard.GoodsItem', childComponentName: 'MarketingCard.GoodsItem',
...@@ -325,6 +359,7 @@ export const marketingConfig7 = { ...@@ -325,6 +359,7 @@ export const marketingConfig7 = {
'11-7': { '11-7': {
title: '活动-满额折', title: '活动-满额折',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -334,6 +369,8 @@ export const marketingConfig7 = { ...@@ -334,6 +369,8 @@ export const marketingConfig7 = {
}, },
'11-7-1': { '11-7-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
componentType: PROPS_SETTING_TYPES.marketingCardHeader, componentType: PROPS_SETTING_TYPES.marketingCardHeader,
...@@ -345,11 +382,13 @@ export const marketingConfig7 = { ...@@ -345,11 +382,13 @@ export const marketingConfig7 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
type: 5, type: 5,
exType: 2 exType: 2,
}, },
childNodes: [], childNodes: [],
childComponentName: 'MarketingCard.GoodsItem', childComponentName: 'MarketingCard.GoodsItem',
...@@ -361,6 +400,7 @@ export const marketingConfig8 = { ...@@ -361,6 +400,7 @@ export const marketingConfig8 = {
'11-8': { '11-8': {
title: '活动-赠商品', title: '活动-赠商品',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -370,6 +410,8 @@ export const marketingConfig8 = { ...@@ -370,6 +410,8 @@ export const marketingConfig8 = {
}, },
'11-8-1': { '11-8-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
componentType: PROPS_SETTING_TYPES.marketingCardHeader, componentType: PROPS_SETTING_TYPES.marketingCardHeader,
...@@ -381,6 +423,8 @@ export const marketingConfig8 = { ...@@ -381,6 +423,8 @@ export const marketingConfig8 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
...@@ -396,6 +440,7 @@ export const marketingConfig9 = { ...@@ -396,6 +440,7 @@ export const marketingConfig9 = {
'11-9': { '11-9': {
title: '活动-赠优惠券', title: '活动-赠优惠券',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -405,6 +450,8 @@ export const marketingConfig9 = { ...@@ -405,6 +450,8 @@ export const marketingConfig9 = {
}, },
'11-9-1': { '11-9-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
componentType: PROPS_SETTING_TYPES.marketingCardHeader, componentType: PROPS_SETTING_TYPES.marketingCardHeader,
...@@ -416,11 +463,13 @@ export const marketingConfig9 = { ...@@ -416,11 +463,13 @@ export const marketingConfig9 = {
title: '活动优惠券容器', title: '活动优惠券容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
props: { props: {
type: 6, type: 6,
span: 10, span: 10,
containerScorll: true containerScorll: true,
}, },
childNodes: [], childNodes: [],
childComponentName: 'MarketingCard.CouponsItem', childComponentName: 'MarketingCard.CouponsItem',
...@@ -432,6 +481,7 @@ export const marketingConfig10 = { ...@@ -432,6 +481,7 @@ export const marketingConfig10 = {
'11-10': { '11-10': {
title: '活动-多件促销', title: '活动-多件促销',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -441,6 +491,8 @@ export const marketingConfig10 = { ...@@ -441,6 +491,8 @@ export const marketingConfig10 = {
}, },
'11-10-1': { '11-10-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
componentType: PROPS_SETTING_TYPES.marketingCardHeader, componentType: PROPS_SETTING_TYPES.marketingCardHeader,
...@@ -452,6 +504,8 @@ export const marketingConfig10 = { ...@@ -452,6 +504,8 @@ export const marketingConfig10 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
...@@ -467,6 +521,7 @@ export const marketingConfig11 = { ...@@ -467,6 +521,7 @@ export const marketingConfig11 = {
'11-11': { '11-11': {
title: '活动-组合促销', title: '活动-组合促销',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -476,6 +531,8 @@ export const marketingConfig11 = { ...@@ -476,6 +531,8 @@ export const marketingConfig11 = {
}, },
'11-11-1': { '11-11-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
props: { props: {
...@@ -486,6 +543,8 @@ export const marketingConfig11 = { ...@@ -486,6 +543,8 @@ export const marketingConfig11 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
...@@ -501,6 +560,7 @@ export const marketingConfig12 = { ...@@ -501,6 +560,7 @@ export const marketingConfig12 = {
'11-12': { '11-12': {
title: '活动-秒杀', title: '活动-秒杀',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -510,6 +570,8 @@ export const marketingConfig12 = { ...@@ -510,6 +570,8 @@ export const marketingConfig12 = {
}, },
'11-12-1': { '11-12-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
props: { props: {
...@@ -520,6 +582,8 @@ export const marketingConfig12 = { ...@@ -520,6 +582,8 @@ export const marketingConfig12 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
...@@ -535,6 +599,7 @@ export const marketingConfig13 = { ...@@ -535,6 +599,7 @@ export const marketingConfig13 = {
'11-13': { '11-13': {
title: '活动-拼团', title: '活动-拼团',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -544,6 +609,8 @@ export const marketingConfig13 = { ...@@ -544,6 +609,8 @@ export const marketingConfig13 = {
}, },
'11-13-1': { '11-13-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
props: { props: {
...@@ -554,6 +621,8 @@ export const marketingConfig13 = { ...@@ -554,6 +621,8 @@ export const marketingConfig13 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CollageContainer', componentName: 'MarketingCard.CollageContainer',
props: { props: {
type: 9, type: 9,
...@@ -568,6 +637,7 @@ export const marketingConfig14 = { ...@@ -568,6 +637,7 @@ export const marketingConfig14 = {
'11-14': { '11-14': {
title: '活动-满额换购', title: '活动-满额换购',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -577,6 +647,8 @@ export const marketingConfig14 = { ...@@ -577,6 +647,8 @@ export const marketingConfig14 = {
}, },
'11-14-1': { '11-14-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
props: { props: {
...@@ -587,11 +659,13 @@ export const marketingConfig14 = { ...@@ -587,11 +659,13 @@ export const marketingConfig14 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
type: 13, type: 13,
exType: 1 exType: 1,
}, },
childNodes: [], childNodes: [],
childComponentName: 'MarketingCard.GoodsItem', childComponentName: 'MarketingCard.GoodsItem',
...@@ -603,6 +677,7 @@ export const marketingConfig15 = { ...@@ -603,6 +677,7 @@ export const marketingConfig15 = {
'11-15': { '11-15': {
title: '活动-买商品换购', title: '活动-买商品换购',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -612,6 +687,8 @@ export const marketingConfig15 = { ...@@ -612,6 +687,8 @@ export const marketingConfig15 = {
}, },
'11-15-1': { '11-15-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
props: { props: {
...@@ -622,11 +699,13 @@ export const marketingConfig15 = { ...@@ -622,11 +699,13 @@ export const marketingConfig15 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
type: 13, type: 13,
exType: 2 exType: 2,
}, },
childNodes: [], childNodes: [],
childComponentName: 'MarketingCard.GoodsItem', childComponentName: 'MarketingCard.GoodsItem',
...@@ -638,6 +717,7 @@ export const marketingConfig16 = { ...@@ -638,6 +717,7 @@ export const marketingConfig16 = {
'11-16': { '11-16': {
title: '活动-预售', title: '活动-预售',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -647,6 +727,8 @@ export const marketingConfig16 = { ...@@ -647,6 +727,8 @@ export const marketingConfig16 = {
}, },
'11-16-1': { '11-16-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
props: { props: {
...@@ -657,6 +739,8 @@ export const marketingConfig16 = { ...@@ -657,6 +739,8 @@ export const marketingConfig16 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
...@@ -672,6 +756,7 @@ export const marketingConfig17 = { ...@@ -672,6 +756,7 @@ export const marketingConfig17 = {
'11-17': { '11-17': {
title: '活动-试用', title: '活动-试用',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -681,6 +766,8 @@ export const marketingConfig17 = { ...@@ -681,6 +766,8 @@ export const marketingConfig17 = {
}, },
'11-17-1': { '11-17-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
props: { props: {
...@@ -691,6 +778,8 @@ export const marketingConfig17 = { ...@@ -691,6 +778,8 @@ export const marketingConfig17 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
...@@ -706,6 +795,7 @@ export const marketingConfig18 = { ...@@ -706,6 +795,7 @@ export const marketingConfig18 = {
'11-18': { '11-18': {
title: '活动-套餐', title: '活动-套餐',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -715,6 +805,8 @@ export const marketingConfig18 = { ...@@ -715,6 +805,8 @@ export const marketingConfig18 = {
}, },
'11-18-1': { '11-18-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
props: { props: {
...@@ -725,6 +817,8 @@ export const marketingConfig18 = { ...@@ -725,6 +817,8 @@ export const marketingConfig18 = {
title: '套餐容器', title: '套餐容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.PackageContainer', componentName: 'MarketingCard.PackageContainer',
props: { props: {
type: 15, type: 15,
...@@ -735,23 +829,27 @@ export const marketingConfig18 = { ...@@ -735,23 +829,27 @@ export const marketingConfig18 = {
title: '主购商品', title: '主购商品',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.DetailItem', componentName: 'MarketingCard.DetailItem',
props: { props: {
detailType: 'package', detailType: 'package',
style:{ style: {
margin: '12px 12px 0 12px' margin: '12px 12px 0 12px',
} },
}, },
}, },
'11-18-2-2': { '11-18-2-2': {
title: '套餐子容器', title: '套餐子容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.PackageContainerTabs', componentName: 'MarketingCard.PackageContainerTabs',
props: { props: {
style:{ style: {
margin: '0 12px' margin: '0 12px',
} },
}, },
childComponentName: 'MarketingCard.PackageContainerTabsTabPane', childComponentName: 'MarketingCard.PackageContainerTabsTabPane',
// addBtnText: '添加子套餐', // addBtnText: '添加子套餐',
...@@ -760,6 +858,8 @@ export const marketingConfig18 = { ...@@ -760,6 +858,8 @@ export const marketingConfig18 = {
title: '子套餐容器', title: '子套餐容器',
canEdit: false, canEdit: false,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.PackageContainerTabsTabPane', componentName: 'MarketingCard.PackageContainerTabsTabPane',
props: { props: {
title: '套餐', title: '套餐',
...@@ -770,13 +870,14 @@ export const marketingConfig18 = { ...@@ -770,13 +870,14 @@ export const marketingConfig18 = {
// addBtnText: '添加商品', // addBtnText: '添加商品',
childNodes: [], childNodes: [],
}, },
} },
}; };
export const marketingConfig19 = { export const marketingConfig19 = {
'11-19': { '11-19': {
title: '活动-砍价', title: '活动-砍价',
componentName: 'MarketingCard', componentName: 'MarketingCard',
canDrag: false,
props: { props: {
style: { style: {
margin: '8px', margin: '8px',
...@@ -786,6 +887,8 @@ export const marketingConfig19 = { ...@@ -786,6 +887,8 @@ export const marketingConfig19 = {
}, },
'11-19-1': { '11-19-1': {
canEdit: true, canEdit: true,
canDelete: false,
canDrag: false,
title: '标题栏', title: '标题栏',
componentName: 'MarketingCard.Header', componentName: 'MarketingCard.Header',
props: { props: {
...@@ -796,6 +899,8 @@ export const marketingConfig19 = { ...@@ -796,6 +899,8 @@ export const marketingConfig19 = {
title: '活动商品容器', title: '活动商品容器',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
componentName: 'MarketingCard.CommonContainer', componentName: 'MarketingCard.CommonContainer',
maxLength: 3, maxLength: 3,
props: { props: {
...@@ -817,6 +922,8 @@ export const suggestProductConfig = { ...@@ -817,6 +922,8 @@ export const suggestProductConfig = {
addBtnText: '添加分类', addBtnText: '添加分类',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
maxLength: 4, maxLength: 4,
childProps: { childProps: {
title: '商品容器', title: '商品容器',
...@@ -842,6 +949,8 @@ export const bottomNavigationConfig = { ...@@ -842,6 +949,8 @@ export const bottomNavigationConfig = {
addBtnText: '添加标签', addBtnText: '添加标签',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
}, },
}; };
...@@ -868,5 +977,7 @@ export const couponsModalConfig = { ...@@ -868,5 +977,7 @@ export const couponsModalConfig = {
addBtnText: '添加优惠券', addBtnText: '添加优惠券',
canEdit: true, canEdit: true,
canHide: false, canHide: false,
canDelete: false,
canDrag: false,
}, },
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment