标题统一

qianming 2 years ago
parent f8fdf4c953
commit 0e8f0420e7

@ -58,7 +58,7 @@ export const widgetBarCompare = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
@ -66,7 +66,7 @@ export const widgetBarCompare = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -80,6 +80,14 @@ export const widgetBarCompare = {
placeholder: '', placeholder: '',
value: '#FFD700' value: '#FFD700'
}, },
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{ {
type: 'el-select', type: 'el-select',
label: '字体粗细', label: '字体粗细',
@ -95,12 +103,17 @@ export const widgetBarCompare = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -115,6 +128,57 @@ export const widgetBarCompare = {
], ],
value: 'center' value: 'center'
}, },
{
type: 'el-input-text',
label: '副标题名',
name: 'subText',
required: false,
placeholder: '',
value: ''
},
{
type: 'vue-color',
label: '字体颜色',
name: 'subTextColor',
required: false,
placeholder: '',
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
name: 'subTextFontWeight',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
], ],
}, },
{ {

@ -310,7 +310,7 @@ export const widgetBarLineStack = {
{ {
type: 'el-input-text', type: 'el-input-text',
label: '轴别名', label: '轴别名',
name: 'xName', name: 'nameX',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: ''
@ -318,7 +318,7 @@ export const widgetBarLineStack = {
{ {
type: 'vue-color', type: 'vue-color',
label: '别名颜色', label: '别名颜色',
name: 'xNameColor', name: 'nameColorX',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#fff'
@ -326,7 +326,7 @@ export const widgetBarLineStack = {
{ {
type: 'el-input-number', type: 'el-input-number',
label: '别名字号', label: '别名字号',
name: 'xNameFontSize', name: 'nameFontSizeX',
required: false, required: false,
placeholder: '', placeholder: '',
value: 14 value: 14

@ -78,7 +78,7 @@ export const widgetBarStack = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
@ -86,7 +86,7 @@ export const widgetBarStack = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -100,6 +100,14 @@ export const widgetBarStack = {
placeholder: '', placeholder: '',
value: '#FFD700' value: '#FFD700'
}, },
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{ {
type: 'el-select', type: 'el-select',
label: '字体粗细', label: '字体粗细',
@ -115,12 +123,17 @@ export const widgetBarStack = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -137,7 +150,7 @@ export const widgetBarStack = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '副标题', label: '副标题',
name: 'subText', name: 'subText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -151,6 +164,14 @@ export const widgetBarStack = {
placeholder: '', placeholder: '',
value: 'rgba(30, 144, 255, 1)' value: 'rgba(30, 144, 255, 1)'
}, },
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{ {
type: 'el-select', type: 'el-select',
label: '字体粗细', label: '字体粗细',
@ -166,12 +187,17 @@ export const widgetBarStack = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'subTextFontSize', name: 'subTextFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
], ],
}, },

@ -74,7 +74,7 @@ export const widgetBarchart = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
@ -82,7 +82,7 @@ export const widgetBarchart = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -96,6 +96,14 @@ export const widgetBarchart = {
placeholder: '', placeholder: '',
value: '#FFD700' value: '#FFD700'
}, },
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{ {
type: 'el-select', type: 'el-select',
label: '字体粗细', label: '字体粗细',
@ -111,12 +119,17 @@ export const widgetBarchart = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -133,7 +146,7 @@ export const widgetBarchart = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '副标题', label: '副标题',
name: 'subText', name: 'subText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -147,6 +160,14 @@ export const widgetBarchart = {
placeholder: '', placeholder: '',
value: 'rgba(30, 144, 255, 1)' value: 'rgba(30, 144, 255, 1)'
}, },
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{ {
type: 'el-select', type: 'el-select',
label: '字体粗细', label: '字体粗细',
@ -162,12 +183,17 @@ export const widgetBarchart = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'subTextFontSize', name: 'subTextFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
], ],
}, },

@ -119,19 +119,19 @@ export const widgetBarlinechart = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
value: true value: true,
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: '',
}, },
{ {
type: 'vue-color', type: 'vue-color',
@ -139,7 +139,15 @@ export const widgetBarlinechart = {
name: 'textColor', name: 'textColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -156,12 +164,17 @@ export const widgetBarlinechart = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -174,11 +187,11 @@ export const widgetBarlinechart = {
{ code: 'left', name: '左对齐' }, { code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' }, { code: 'right', name: '右对齐' },
], ],
value: 'left' value: 'center'
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '副标题', label: '副标题',
name: 'subText', name: 'subText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -190,7 +203,15 @@ export const widgetBarlinechart = {
name: 'subTextColor', name: 'subTextColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -207,12 +228,17 @@ export const widgetBarlinechart = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'subTextFontSize', name: 'subTextFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
], ],
}, },

@ -66,7 +66,7 @@ export const widgetGradientBarchart = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
@ -74,7 +74,7 @@ export const widgetGradientBarchart = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -86,7 +86,15 @@ export const widgetGradientBarchart = {
name: 'textColor', name: 'textColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -103,12 +111,17 @@ export const widgetGradientBarchart = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 22 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -125,7 +138,7 @@ export const widgetGradientBarchart = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '副标题', label: '副标题',
name: 'subText', name: 'subText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -137,10 +150,18 @@ export const widgetGradientBarchart = {
name: 'subTextColor', name: 'subTextColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#90979c' value: 'rgba(30, 144, 255, 1)'
}, },
{ {
type: 'el-input-text', type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细', label: '字体粗细',
name: 'subTextFontWeight', name: 'subTextFontWeight',
required: false, required: false,
@ -154,12 +175,17 @@ export const widgetGradientBarchart = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'subTextFontSize', name: 'subTextFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
], ],
}, },

@ -111,19 +111,19 @@ export const widgetMoreBarLine = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
value: true value: true,
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: '',
}, },
{ {
type: 'vue-color', type: 'vue-color',
@ -131,7 +131,15 @@ export const widgetMoreBarLine = {
name: 'textColor', name: 'textColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -148,12 +156,17 @@ export const widgetMoreBarLine = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -166,11 +179,11 @@ export const widgetMoreBarLine = {
{ code: 'left', name: '左对齐' }, { code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' }, { code: 'right', name: '右对齐' },
], ],
value: 'left' value: 'center'
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '副标题', label: '副标题',
name: 'subText', name: 'subText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -182,7 +195,15 @@ export const widgetMoreBarLine = {
name: 'subTextColor', name: 'subTextColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -199,12 +220,17 @@ export const widgetMoreBarLine = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'subTextFontSize', name: 'subTextFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
], ],
}, },

@ -45,15 +45,15 @@ export const widgetFunnel = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
value: false, value: true,
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -67,6 +67,14 @@ export const widgetFunnel = {
placeholder: '', placeholder: '',
value: '#FFD700' value: '#FFD700'
}, },
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{ {
type: 'el-select', type: 'el-select',
label: '字体粗细', label: '字体粗细',
@ -82,12 +90,17 @@ export const widgetFunnel = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -104,7 +117,7 @@ export const widgetFunnel = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '副标题', label: '副标题',
name: 'subText', name: 'subText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -118,6 +131,14 @@ export const widgetFunnel = {
placeholder: '', placeholder: '',
value: 'rgba(30, 144, 255, 1)' value: 'rgba(30, 144, 255, 1)'
}, },
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{ {
type: 'el-select', type: 'el-select',
label: '字体粗细', label: '字体粗细',
@ -133,12 +154,17 @@ export const widgetFunnel = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'subTextFontSize', name: 'subTextFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 16 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
], ],
}, },

@ -37,19 +37,19 @@ export const widgetHeatmap = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
value: true value: true,
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: '',
}, },
{ {
type: 'vue-color', type: 'vue-color',
@ -57,7 +57,15 @@ export const widgetHeatmap = {
name: 'textColor', name: 'textColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -74,12 +82,17 @@ export const widgetHeatmap = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 16 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -96,7 +109,7 @@ export const widgetHeatmap = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '副标题', label: '副标题',
name: 'subText', name: 'subText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -108,7 +121,15 @@ export const widgetHeatmap = {
name: 'subTextColor', name: 'subTextColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -125,12 +146,17 @@ export const widgetHeatmap = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'subTextFontSize', name: 'subTextFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 16 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
], ],
}, },

@ -90,7 +90,7 @@ export const widgetLineCompare = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
@ -98,7 +98,7 @@ export const widgetLineCompare = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -112,6 +112,14 @@ export const widgetLineCompare = {
placeholder: '', placeholder: '',
value: '#FFD700' value: '#FFD700'
}, },
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{ {
type: 'el-select', type: 'el-select',
label: '字体粗细', label: '字体粗细',
@ -127,12 +135,17 @@ export const widgetLineCompare = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -147,6 +160,57 @@ export const widgetLineCompare = {
], ],
value: 'center' value: 'center'
}, },
{
type: 'el-input-text',
label: '副标题名',
name: 'subText',
required: false,
placeholder: '',
value: ''
},
{
type: 'vue-color',
label: '字体颜色',
name: 'subTextColor',
required: false,
placeholder: '',
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
name: 'subTextFontWeight',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
], ],
}, },
{ {

@ -98,7 +98,7 @@ export const widgetLineStack = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
@ -106,7 +106,7 @@ export const widgetLineStack = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -120,6 +120,14 @@ export const widgetLineStack = {
placeholder: '', placeholder: '',
value: '#FFD700' value: '#FFD700'
}, },
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{ {
type: 'el-select', type: 'el-select',
label: '字体粗细', label: '字体粗细',
@ -135,12 +143,17 @@ export const widgetLineStack = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -157,7 +170,7 @@ export const widgetLineStack = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '副标题', label: '副标题',
name: 'subText', name: 'subText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -171,6 +184,14 @@ export const widgetLineStack = {
placeholder: '', placeholder: '',
value: 'rgba(30, 144, 255, 1)' value: 'rgba(30, 144, 255, 1)'
}, },
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{ {
type: 'el-select', type: 'el-select',
label: '字体粗细', label: '字体粗细',
@ -186,12 +207,17 @@ export const widgetLineStack = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'subTextFontSize', name: 'subTextFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
], ],
}, },

@ -90,15 +90,15 @@ export const widgetLinechart = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
value: false value: true,
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -110,7 +110,15 @@ export const widgetLinechart = {
name: 'textColor', name: 'textColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -127,12 +135,17 @@ export const widgetLinechart = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -149,7 +162,7 @@ export const widgetLinechart = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '副标题', label: '副标题',
name: 'subText', name: 'subText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -161,7 +174,15 @@ export const widgetLinechart = {
name: 'subTextColor', name: 'subTextColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -178,12 +199,17 @@ export const widgetLinechart = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'subTextFontSize', name: 'subTextFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
], ],
}, },

@ -37,19 +37,19 @@ export const widgetAirbubbleMap = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
value: true value: true,
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: '',
}, },
{ {
type: 'vue-color', type: 'vue-color',
@ -57,7 +57,15 @@ export const widgetAirbubbleMap = {
name: 'textColor', name: 'textColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -74,12 +82,17 @@ export const widgetAirbubbleMap = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -92,11 +105,11 @@ export const widgetAirbubbleMap = {
{ code: 'left', name: '左对齐' }, { code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' }, { code: 'right', name: '右对齐' },
], ],
value: 'left' value: 'center'
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '副标题', label: '副标题',
name: 'subText', name: 'subText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -108,7 +121,15 @@ export const widgetAirbubbleMap = {
name: 'subTextColor', name: 'subTextColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -125,12 +146,17 @@ export const widgetAirbubbleMap = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'subTextFontSize', name: 'subTextFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 12 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
], ],
}, },

@ -36,19 +36,19 @@ export const widgetLineMap = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
value: true value: true,
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: '',
}, },
{ {
type: 'vue-color', type: 'vue-color',
@ -56,7 +56,15 @@ export const widgetLineMap = {
name: 'textColor', name: 'textColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -73,12 +81,17 @@ export const widgetLineMap = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -95,7 +108,7 @@ export const widgetLineMap = {
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '副标题', label: '副标题',
name: 'subText', name: 'subText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -107,7 +120,15 @@ export const widgetLineMap = {
name: 'subTextColor', name: 'subTextColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -124,12 +145,17 @@ export const widgetLineMap = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'subTextFontSize', name: 'subTextFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 12 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
], ],
}, },

@ -49,19 +49,19 @@ export const widgetPieNightingale = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
value: true value: true,
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: '',
}, },
{ {
type: 'vue-color', type: 'vue-color',
@ -69,7 +69,15 @@ export const widgetPieNightingale = {
name: 'textColor', name: 'textColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -86,12 +94,17 @@ export const widgetPieNightingale = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -104,11 +117,11 @@ export const widgetPieNightingale = {
{ code: 'left', name: '左对齐' }, { code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' }, { code: 'right', name: '右对齐' },
], ],
value: 'left' value: 'center'
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '副标题', label: '副标题',
name: 'subText', name: 'subText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -120,7 +133,15 @@ export const widgetPieNightingale = {
name: 'subTextColor', name: 'subTextColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -137,12 +158,17 @@ export const widgetPieNightingale = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'subTextFontSize', name: 'subTextFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 12 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
], ],
}, },

@ -49,19 +49,19 @@ export const widgetPiechart = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
value: true value: true,
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: '',
}, },
{ {
type: 'vue-color', type: 'vue-color',
@ -69,7 +69,15 @@ export const widgetPiechart = {
name: 'textColor', name: 'textColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -86,12 +94,17 @@ export const widgetPiechart = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -104,11 +117,11 @@ export const widgetPiechart = {
{ code: 'left', name: '左对齐' }, { code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' }, { code: 'right', name: '右对齐' },
], ],
value: 'left' value: 'center'
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '副标题', label: '副标题',
name: 'subText', name: 'subText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -120,7 +133,15 @@ export const widgetPiechart = {
name: 'subTextColor', name: 'subTextColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -137,12 +158,17 @@ export const widgetPiechart = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'subTextFontSize', name: 'subTextFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 12 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
], ],
}, },

@ -26,6 +26,134 @@ export const widgetRadar = {
value: '' value: ''
}, },
[ [
{
name: '标题设置',
list: [
{
type: 'el-switch',
label: '标题显示',
name: 'isNoTitle',
required: false,
placeholder: '',
value: true,
},
{
type: 'el-input-text',
label: '标题名',
name: 'titleText',
required: false,
placeholder: '',
value: '',
},
{
type: 'vue-color',
label: '字体颜色',
name: 'textColor',
required: false,
placeholder: '',
value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
name: 'textFontWeight',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-select',
label: '字体风格',
name: 'textFontStyle',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
{
type: 'el-select',
label: '字体位置',
name: 'textAlign',
required: false,
placeholder: '',
selectOptions: [
{ code: 'center', name: '居中' },
{ code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' },
],
value: 'center'
},
{
type: 'el-input-text',
label: '副标题名',
name: 'subText',
required: false,
placeholder: '',
value: ''
},
{
type: 'vue-color',
label: '字体颜色',
name: 'subTextColor',
required: false,
placeholder: '',
value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
},
{
type: 'el-select',
label: '字体粗细',
name: 'subTextFontWeight',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'bold', name: '粗体' },
{ code: 'bolder', name: '特粗体' },
{ code: 'lighter', name: '细体' }
],
value: 'normal'
},
{
type: 'el-select',
label: '字体风格',
name: 'subTextFontStyle',
required: false,
placeholder: '',
selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
},
],
},
{ {
name: '雷达设置', name: '雷达设置',
list: [ list: [

@ -29,19 +29,19 @@ export const widgetWordCloud = {
list: [ list: [
{ {
type: 'el-switch', type: 'el-switch',
label: '标题', label: '标题显示',
name: 'isNoTitle', name: 'isNoTitle',
required: false, required: false,
placeholder: '', placeholder: '',
value: true value: true,
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '标题', label: '标题',
name: 'titleText', name: 'titleText',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: '',
}, },
{ {
type: 'vue-color', type: 'vue-color',
@ -49,7 +49,15 @@ export const widgetWordCloud = {
name: 'textColor', name: 'textColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '#fff' value: '#FFD700'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'textFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -66,12 +74,17 @@ export const widgetWordCloud = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'textFontSize', name: 'textFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 20 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
{ {
type: 'el-select', type: 'el-select',
@ -84,11 +97,11 @@ export const widgetWordCloud = {
{ code: 'left', name: '左对齐' }, { code: 'left', name: '左对齐' },
{ code: 'right', name: '右对齐' }, { code: 'right', name: '右对齐' },
], ],
value: 'left' value: 'center'
}, },
{ {
type: 'el-input-text', type: 'el-input-text',
label: '副标题', label: '副标题',
name: 'subText', name: 'subText',
required: false, required: false,
placeholder: '', placeholder: '',
@ -100,7 +113,15 @@ export const widgetWordCloud = {
name: 'subTextColor', name: 'subTextColor',
required: false, required: false,
placeholder: '', placeholder: '',
value: '' value: 'rgba(30, 144, 255, 1)'
},
{
type: 'el-input-number',
label: '字体字号',
name: 'subTextFontSize',
required: false,
placeholder: '',
value: 20
}, },
{ {
type: 'el-select', type: 'el-select',
@ -117,12 +138,17 @@ export const widgetWordCloud = {
value: 'normal' value: 'normal'
}, },
{ {
type: 'el-input-number', type: 'el-select',
label: '字体字号', label: '字体风格',
name: 'subTextFontSize', name: 'subTextFontStyle',
required: false, required: false,
placeholder: '', placeholder: '',
value: 12 selectOptions: [
{ code: 'normal', name: '正常' },
{ code: 'italic', name: 'italic斜体' },
{ code: 'oblique', name: 'oblique斜体' },
],
value: 'normal'
}, },
], ],
}, },

@ -286,15 +286,23 @@ export default {
}, },
// //
setOptionsTitle() { setOptionsTitle() {
const optionsCollapse = this.optionsSetup; const optionsSetup = this.optionsSetup;
const title = {}; const title = {};
title.text = optionsCollapse.titleText; title.text = optionsSetup.titleText;
title.show = optionsCollapse.isNoTitle; title.show = optionsSetup.isNoTitle;
title.left = optionsCollapse.textAlign; title.left = optionsSetup.textAlign;
title.textStyle = { title.textStyle = {
color: optionsCollapse.textColor, color: optionsSetup.textColor,
fontSize: optionsCollapse.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsCollapse.textFontWeight fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },

@ -166,10 +166,10 @@ export default {
// //
show: optionsSetup.hideX, show: optionsSetup.hideX,
// //
name: optionsSetup.xName, name: optionsSetup.nameX,
nameTextStyle: { nameTextStyle: {
color: optionsSetup.xNameColor, color: optionsSetup.nameColorX,
fontSize: optionsSetup.xNameFontSize fontSize: optionsSetup.nameFontSizeX
}, },
// //
inverse: optionsSetup.reversalX, inverse: optionsSetup.reversalX,
@ -206,17 +206,22 @@ export default {
const yAxis = [ const yAxis = [
{ {
type: "value", type: "value",
splitNumber: optionsSetup.splitNumberLeft,// //
show: optionsSetup.isShowYLeft, // splitNumber: optionsSetup.splitNumberLeft,
name: optionsSetup.textNameYLeft, // //
nameTextStyle: { // show: optionsSetup.isShowYLeft,
//
name: optionsSetup.textNameYLeft,
//
nameTextStyle: {
color: optionsSetup.nameColorYLeft, color: optionsSetup.nameColorYLeft,
fontSize: optionsSetup.nameFontSizeYLeft fontSize: optionsSetup.nameFontSizeYLeft
}, },
axisLabel: { axisLabel: {
show: true, show: true,
textStyle: { textStyle: {
color: optionsSetup.colorYLeft, // y //
color: optionsSetup.colorYLeft,
fontSize: optionsSetup.fontSizeYLeft fontSize: optionsSetup.fontSizeYLeft
} }
}, },
@ -232,17 +237,22 @@ export default {
}, },
{ {
type: "value", type: "value",
splitNumber: optionsSetup.splitNumberRight,// //
show: optionsSetup.isShowYRight, // splitNumber: optionsSetup.splitNumberRight,
name: optionsSetup.textNameYRight, // //
nameTextStyle: { // show: optionsSetup.isShowYRight,
//
name: optionsSetup.textNameYRight,
//
nameTextStyle: {
color: optionsSetup.nameColorYRight, color: optionsSetup.nameColorYRight,
fontSize: optionsSetup.nameFontSizeYRight fontSize: optionsSetup.nameFontSizeYRight
}, },
axisLabel: { axisLabel: {
show: true, show: true,
textStyle: { textStyle: {
color: optionsSetup.colorYRight, // y //
color: optionsSetup.colorYRight,
fontSize: optionsSetup.fontSizeYRight fontSize: optionsSetup.fontSizeYRight
} }
}, },

@ -111,13 +111,15 @@ export default {
title.textStyle = { title.textStyle = {
color: optionsSetup.textColor, color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
}; };
title.subtext = optionsSetup.subText; title.subtext = optionsSetup.subText;
title.subtextStyle = { title.subtextStyle = {
color: optionsSetup.subTextColor, color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight, fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },

@ -111,15 +111,16 @@ export default {
title.textStyle = { title.textStyle = {
color: optionsSetup.textColor, color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
}; };
title.subtext = optionsSetup.subText; title.subtext = optionsSetup.subText;
title.subtextStyle = { title.subtextStyle = {
color: optionsSetup.subTextColor, color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight, fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },
// X // X

@ -152,15 +152,16 @@ export default {
title.textStyle = { title.textStyle = {
color: optionsSetup.textColor, color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
}; };
title.subtext = optionsSetup.subText; title.subtext = optionsSetup.subText;
title.subtextStyle = { title.subtextStyle = {
color: optionsSetup.subTextColor, color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight, fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },
// X // X
@ -168,20 +169,25 @@ export default {
const optionsSetup = this.optionsSetup; const optionsSetup = this.optionsSetup;
const xAxis = { const xAxis = {
type: "category", type: "category",
show: optionsSetup.hideX, // //
name: optionsSetup.xName, // show: optionsSetup.hideX,
//
name: optionsSetup.nameX,
nameTextStyle: { nameTextStyle: {
color: optionsSetup.nameColorX, color: optionsSetup.nameColorX,
fontSize: optionsSetup.nameFontSizeX fontSize: optionsSetup.nameFontSizeX
}, },
nameRotate: optionsSetup.textAngle, // //
inverse: optionsSetup.reversalX, // inverse: optionsSetup.reversalX,
axisLabel: { axisLabel: {
show: true, show: true,
interval: optionsSetup.textInterval, // //
rotate: optionsSetup.textAngle, // interval: optionsSetup.textInterval,
//
rotate: optionsSetup.textAngleX,
textStyle: { textStyle: {
color: optionsSetup.Xcolor, // x //
color: optionsSetup.colorX,
fontSize: optionsSetup.fontSizeX fontSize: optionsSetup.fontSizeX
} }
}, },
@ -206,25 +212,29 @@ export default {
const yAxis = [ const yAxis = [
{ {
type: "value", type: "value",
splitNumber: optionsSetup.splitNumberLeft,// //
show: optionsSetup.isShowYLeft, // splitNumber: optionsSetup.splitNumberLeft,
name: optionsSetup.textNameYLeft, // //
nameTextStyle: { // show: optionsSetup.isShowYLeft,
//
name: optionsSetup.textNameYLeft,
//
nameTextStyle: {
color: optionsSetup.nameColorYLeft, color: optionsSetup.nameColorYLeft,
fontSize: optionsSetup.namefontSizeYLeft fontSize: optionsSetup.nameFontSizeYLeft
}, },
inverse: optionsSetup.reversalY, //
axisLabel: { axisLabel: {
show: true, show: true,
textStyle: { textStyle: {
color: optionsSetup.colorY, // y //
fontSize: optionsSetup.fontSizeY color: optionsSetup.colorYLeft,
fontSize: optionsSetup.fontSizeYLeft
} }
}, },
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorY color: optionsSetup.lineColorYLeft
} }
}, },
splitLine: { splitLine: {
@ -233,25 +243,29 @@ export default {
}, },
{ {
type: "value", type: "value",
splitNumber: optionsSetup.splitNumberRight,// //
show: optionsSetup.isShowYRight, // splitNumber: optionsSetup.splitNumberRight,
name: optionsSetup.textNameYRight, // //
nameTextStyle: { // show: optionsSetup.isShowYRight,
//
name: optionsSetup.textNameYRight,
//
nameTextStyle: {
color: optionsSetup.nameColorYRight, color: optionsSetup.nameColorYRight,
fontSize: optionsSetup.namefontSizeYRight fontSize: optionsSetup.nameFontSizeYRight
}, },
inverse: optionsSetup.reversalY, //
axisLabel: { axisLabel: {
show: true, show: true,
textStyle: { textStyle: {
color: optionsSetup.colorY, // y //
fontSize: optionsSetup.fontSizeY color: optionsSetup.colorYRight,
fontSize: optionsSetup.fontSizeYRight
} }
}, },
axisLine: { axisLine: {
show: true, show: true,
lineStyle: { lineStyle: {
color: optionsSetup.lineColorY color: optionsSetup.lineColorYRight
} }
}, },
splitLine: { splitLine: {

@ -181,15 +181,16 @@ export default {
title.textStyle = { title.textStyle = {
color: optionsSetup.textColor, color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
}; };
title.subtext = optionsSetup.subText; title.subtext = optionsSetup.subText;
title.subtextStyle = { title.subtextStyle = {
color: optionsSetup.subTextColor, color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight, fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },
// X // X

@ -226,15 +226,16 @@ export default {
title.textStyle = { title.textStyle = {
color: optionsSetup.textColor, color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
}; };
title.subtext = optionsSetup.subText; title.subtext = optionsSetup.subText;
title.subtextStyle = { title.subtextStyle = {
color: optionsSetup.subTextColor, color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight, fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },
// X // X

@ -150,21 +150,22 @@ export default {
// //
setOptionsTitle() { setOptionsTitle() {
const optionsSetup = this.optionsSetup; const optionsSetup = this.optionsSetup;
const title = { const title = {};
text: optionsSetup.titleText, title.text = optionsSetup.titleText;
show: optionsSetup.isNoTitle, title.show = optionsSetup.isNoTitle;
left: optionsSetup.textAlign, title.left = optionsSetup.textAlign;
textStyle: { title.textStyle = {
color: optionsSetup.textColor, color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight fontWeight: optionsSetup.textFontWeight,
}, fontStyle: optionsSetup.textFontStyle,
subtext: optionsSetup.subText, };
subtextStyle: { title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor, color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight, fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize fontSize: optionsSetup.subTextFontSize,
}, fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },

@ -282,15 +282,23 @@ export default {
}, },
// //
setOptionsTitle() { setOptionsTitle() {
const optionsCollapse = this.optionsSetup; const optionsSetup = this.optionsSetup;
const title = {}; const title = {};
title.text = optionsCollapse.titleText; title.text = optionsSetup.titleText;
title.show = optionsCollapse.isNoTitle; title.show = optionsSetup.isNoTitle;
title.left = optionsCollapse.textAlign; title.left = optionsSetup.textAlign;
title.textStyle = { title.textStyle = {
color: optionsCollapse.textColor, color: optionsSetup.textColor,
fontSize: optionsCollapse.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsCollapse.textFontWeight fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },

@ -111,13 +111,15 @@ export default {
title.textStyle = { title.textStyle = {
color: optionsSetup.textColor, color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
}; };
title.subtext = optionsSetup.subText; title.subtext = optionsSetup.subText;
title.subtextStyle = { title.subtextStyle = {
color: optionsSetup.subTextColor, color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight, fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },

@ -117,13 +117,15 @@ export default {
title.textStyle = { title.textStyle = {
color: optionsSetup.textColor, color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
}; };
title.subtext = optionsSetup.subText; title.subtext = optionsSetup.subText;
title.subtextStyle = { title.subtextStyle = {
color: optionsSetup.subTextColor, color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight, fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },

@ -437,21 +437,23 @@ export default {
}, },
// //
setOptionsTitle() { setOptionsTitle() {
const optionsCollapse = this.optionsSetup; const optionsSetup = this.optionsSetup;
const title = {}; const title = {};
title.show = optionsCollapse.isNoTitle; title.text = optionsSetup.titleText;
title.text = optionsCollapse.titleText; title.show = optionsSetup.isNoTitle;
title.left = optionsCollapse.textAlign; title.left = optionsSetup.textAlign;
title.textStyle = { title.textStyle = {
color: optionsCollapse.textColor, color: optionsSetup.textColor,
fontSize: optionsCollapse.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsCollapse.textFontWeight fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
}; };
title.subtext = optionsCollapse.subText; title.subtext = optionsSetup.subText;
title.subtextStyle = { title.subtextStyle = {
color: optionsCollapse.subTextColor, color: optionsSetup.subTextColor,
fontWeight: optionsCollapse.subTextFontWeight, fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsCollapse.subTextFontSize fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },

@ -350,19 +350,21 @@ export default {
setOptionsTitle() { setOptionsTitle() {
const optionsSetup = this.optionsSetup; const optionsSetup = this.optionsSetup;
const title = {}; const title = {};
title.show = optionsSetup.isNoTitle;
title.text = optionsSetup.titleText; title.text = optionsSetup.titleText;
title.show = optionsSetup.isNoTitle;
title.left = optionsSetup.textAlign; title.left = optionsSetup.textAlign;
title.textStyle = { title.textStyle = {
color: optionsSetup.textColor, color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
}; };
title.subtext = optionsSetup.subText; title.subtext = optionsSetup.subText;
title.subtextStyle = { title.subtextStyle = {
color: optionsSetup.subTextColor, color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight, fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },

@ -100,13 +100,15 @@ export default {
title.textStyle = { title.textStyle = {
color: optionsSetup.textColor, color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
}; };
title.subtext = optionsSetup.subText; title.subtext = optionsSetup.subText;
title.subtextStyle = { title.subtextStyle = {
color: optionsSetup.subTextColor, color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight, fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },
@ -176,7 +178,7 @@ export default {
legend.orient = optionsSetup.layoutFront; legend.orient = optionsSetup.layoutFront;
legend.textStyle = { legend.textStyle = {
color: optionsSetup.legendColor, color: optionsSetup.legendColor,
fontSize: optionsSetup.fontSize fontSize: optionsSetup.legendFontSize
}; };
legend.itemWidth = optionsSetup.legendWidth; legend.itemWidth = optionsSetup.legendWidth;
}, },

@ -105,19 +105,21 @@ export default {
setOptionsTitle() { setOptionsTitle() {
const optionsSetup = this.optionsSetup; const optionsSetup = this.optionsSetup;
const title = {}; const title = {};
title.show = optionsSetup.isNoTitle;
title.text = optionsSetup.titleText; title.text = optionsSetup.titleText;
title.show = optionsSetup.isNoTitle;
title.left = optionsSetup.textAlign; title.left = optionsSetup.textAlign;
title.textStyle = { title.textStyle = {
color: optionsSetup.textColor, color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
}; };
title.subtext = optionsSetup.subText; title.subtext = optionsSetup.subText;
title.subtextStyle = { title.subtextStyle = {
color: optionsSetup.subTextColor, color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight, fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },
@ -175,7 +177,7 @@ export default {
legend.orient = optionsSetup.layoutFront; legend.orient = optionsSetup.layoutFront;
legend.textStyle = { legend.textStyle = {
color: optionsSetup.legendColor, color: optionsSetup.legendColor,
fontSize: optionsSetup.fontSize fontSize: optionsSetup.legendFontSize
}; };
legend.itemWidth = optionsSetup.legendWidth; legend.itemWidth = optionsSetup.legendWidth;
}, },

@ -61,6 +61,7 @@ export default {
}, },
methods: { methods: {
editorOptions() { editorOptions() {
this.setOptionsTitle();
this.setOptionIndicator(); this.setOptionIndicator();
this.setOptionsRadar(); this.setOptionsRadar();
this.setOptionsLegend(); this.setOptionsLegend();
@ -68,6 +69,28 @@ export default {
this.setOptionsMargin(); this.setOptionsMargin();
this.setOptionsData(); this.setOptionsData();
}, },
//
setOptionsTitle() {
const optionsSetup = this.optionsSetup;
const title = {};
title.text = optionsSetup.titleText;
title.show = optionsSetup.isNoTitle;
title.left = optionsSetup.textAlign;
title.textStyle = {
color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
};
title.subtext = optionsSetup.subText;
title.subtextStyle = {
color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
};
this.options.title = title;
},
// //
setOptionIndicator() { setOptionIndicator() {
const optionsSetup = this.optionsSetup; const optionsSetup = this.optionsSetup;
@ -105,7 +128,6 @@ export default {
this.options.radar.shape = optionsSetup.radarShape; this.options.radar.shape = optionsSetup.radarShape;
this.options.radar.splitNumber = optionsSetup.splitNumber; this.options.radar.splitNumber = optionsSetup.splitNumber;
}, },
// //
setOptionsLegend() { setOptionsLegend() {
const optionsSetup = this.optionsSetup; const optionsSetup = this.optionsSetup;

@ -111,8 +111,8 @@ export default {
setup: {}, setup: {},
data: {}, data: {},
position: {}, position: {},
leftMargin: null, /* leftMargin: null,
topMargin: null topMargin: null*/
} }
}; };
}, },
@ -124,10 +124,10 @@ export default {
return this.value.position.height; return this.value.position.height;
}, },
widgetsLeft() { widgetsLeft() {
return this.value.position.left >= this.leftMargin ? this.leftMargin : this.value.position.left; return this.value.position.left// >= this.leftMargin ? this.leftMargin : this.value.position.left;
}, },
widgetsTop() { widgetsTop() {
return this.value.position.top >= this.topMargin ? this.topMargin : this.value.position.top; return this.value.position.top// >= this.topMargin ? this.topMargin : this.value.position.top;
}, },
widgetsZIndex() { widgetsZIndex() {
return this.value.position.zIndex || 1; return this.value.position.zIndex || 1;
@ -140,7 +140,7 @@ export default {
this.$emit("onActivated", { index, left, top, width, height }); this.$emit("onActivated", { index, left, top, width, height });
this.$refs.draggable.setActive(true); this.$refs.draggable.setActive(true);
// widgetworkbench // widgetworkbench
this.handleBoundary({ index, left, top, width, height }) //this.handleBoundary({ index, left, top, width, height })
}, },
handleBoundary({ index, left, top, width, height }) { handleBoundary({ index, left, top, width, height }) {
// workbenchX // workbenchX

@ -154,15 +154,16 @@ export default {
title.textStyle = { title.textStyle = {
color: optionsSetup.textColor, color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
}; };
title.subtext = optionsSetup.subText; title.subtext = optionsSetup.subText;
title.subtextStyle = { title.subtextStyle = {
color: optionsSetup.subTextColor, color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight, fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },
// tooltip // tooltip

@ -103,13 +103,15 @@ export default {
title.textStyle = { title.textStyle = {
color: optionsSetup.textColor, color: optionsSetup.textColor,
fontSize: optionsSetup.textFontSize, fontSize: optionsSetup.textFontSize,
fontWeight: optionsSetup.textFontWeight fontWeight: optionsSetup.textFontWeight,
fontStyle: optionsSetup.textFontStyle,
}; };
title.subtext = optionsSetup.subText; title.subtext = optionsSetup.subText;
title.subtextStyle = { title.subtextStyle = {
color: optionsSetup.subTextColor, color: optionsSetup.subTextColor,
fontWeight: optionsSetup.subTextFontWeight, fontWeight: optionsSetup.subTextFontWeight,
fontSize: optionsSetup.subTextFontSize fontSize: optionsSetup.subTextFontSize,
fontStyle: optionsSetup.subTextFontStyle,
}; };
this.options.title = title; this.options.title = title;
}, },

Loading…
Cancel
Save