| | |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'showType', |
| | | label: '展现形式', |
| | | initVal: card.showType || 'line', |
| | | required: false, |
| | | options: [ |
| | | { value: 'line', text: '进度条' }, |
| | | { value: 'circle', text: '进度圈' }, |
| | | { value: 'dashboard', text: '仪表盘' }, |
| | | ] |
| | | }, |
| | | { |
| | | type: 'color', |
| | | key: 'color', |
| | | label: '颜色', |
| | | initVal: card.color || 'rgba(0, 0, 0, 0.85)', |
| | | label: '进度条颜色', |
| | | initVal: card.color || '#1890ff', |
| | | required: true |
| | | }, |
| | | { |
| | | type: 'color', |
| | | key: 'trailColor', |
| | | label: '未完成颜色', |
| | | initVal: card.trailColor || '#f5f5f5', |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'radio', |
| | |
| | | ] |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | key: 'showType', |
| | | label: '展现形式', |
| | | initVal: card.showType || 'line', |
| | | required: false, |
| | | options: [ |
| | | { value: 'line', text: '进度条' }, |
| | | { value: 'circle', text: '进度圈' }, |
| | | { value: 'dashboard', text: '仪表盘' }, |
| | | ] |
| | | type: 'color', |
| | | key: 'infoColor', |
| | | label: '进度值颜色', |
| | | initVal: card.infoColor || 'rgba(0, 0, 0, 0.65)', |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'radio', |