123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263 |
- const title = '指标卡二'
- const setting = [
- {
- label: '背景色',
-
- type: 'colorPicker',
-
- field: 'customize_bgColor',
- optionField: 'customize.bgColor',
-
- multiple: false,
-
- value: '',
-
- tabName: 'custom'
- },
- {
- label: '边框颜色',
-
- type: 'colorPicker',
-
- field: 'customize_borderColor',
- optionField: 'customize.borderColor',
-
- multiple: false,
-
- value: '',
-
- tabName: 'custom'
- },
- {
- label: '边框粗细',
-
- type: 'inputNumber',
-
- field: 'customize_borderWidth',
- optionField: 'customize.borderWidth',
-
- multiple: false,
-
- value: 0,
-
- tabName: 'custom'
- },
- {
- label: '边框圆角',
-
- type: 'inputNumber',
-
- field: 'customize_borderRadius',
- optionField: 'customize.borderRadius',
-
- multiple: false,
-
- value: 0,
-
- tabName: 'custom'
- },
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {
- label: '上下间距',
-
- type: 'inputNumber',
-
- field: 'customize_lineDistance',
- optionField: 'customize.lineDistance',
-
- multiple: false,
-
- value: 25,
-
- tabName: 'custom'
- },
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {
- label: '首行字段',
-
- type: 'select',
-
- field: 'yField',
- optionField: 'yField',
-
- multiple: false,
-
- value: '',
-
- tabName: 'data'
- },
- {
- label: '首行文字大小',
-
- type: 'inputNumber',
-
- field: 'customize_firstSize',
- optionField: 'customize.firstSize',
-
- multiple: false,
-
- value: 50,
-
- tabName: 'custom'
- },
- {
- label: '首行字体颜色',
-
- type: 'colorPicker',
-
- field: 'customize_firstColor',
- optionField: 'customize.firstColor',
-
- multiple: false,
-
- value: '#fff',
-
- tabName: 'custom'
- },
- {
- label: '首行字体粗细',
-
- type: 'inputNumber',
-
- field: 'customize_firstWeight',
- optionField: 'customize.firstWeight',
-
- multiple: false,
-
- value: 500,
-
- tabName: 'custom'
- },
- {
- label: '第二行文字内容',
-
- type: 'input',
-
- field: 'customize_secondLine',
- optionField: 'customize.secondLine',
-
- multiple: false,
-
- value: '装机处理及时率',
-
- tabName: 'custom'
- },
- {
- label: '第二行文字大小',
-
- type: 'inputNumber',
-
- field: 'customize_secondSize',
- optionField: 'customize.secondSize',
-
- multiple: false,
-
- value: 36,
-
- tabName: 'custom'
- },
- {
- label: '第二行字体颜色',
-
- type: 'colorPicker',
-
- field: 'customize_secondColor',
- optionField: 'customize.secondColor',
-
- multiple: false,
-
- value: '#fff',
-
- tabName: 'custom'
- },
- {
- label: '第二行字体粗细',
-
- type: 'inputNumber',
-
- field: 'customize_secondWeight',
- optionField: 'customize.secondWeight',
-
- multiple: false,
-
- value: 500,
-
- tabName: 'custom'
- }
- ]
- const option = {
-
- customize: {
- borderRadius: 0,
- borderWidth: 0,
- lineDistance: 25,
- borderColor: '',
- bgColor: '',
-
-
- firstSize: 50,
- firstColor: '#ffffff',
- firstWeight: 500,
- secondSize: 50,
- secondColor: '#ffffff',
- secondWeight: 500,
- secondLine: '装机处理及时率'
- }
- }
- export default {
- title,
- setting,
- option: {
- ...option,
- displayOption: {
- dataAllocation: {
- enable: false
- }
- }
- }
- }
|