From d4ceae86a84c085d240ecf1e1a2c8b697b8a40bc Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 18 十一月 2021 12:59:46 +0800 Subject: [PATCH] 2021-11-18 --- src/menu/components/card/cardcellcomponent/formconfig.jsx | 38 ++++++++++++++++++++++++++------------ 1 files changed, 26 insertions(+), 12 deletions(-) diff --git a/src/menu/components/card/cardcellcomponent/formconfig.jsx b/src/menu/components/card/cardcellcomponent/formconfig.jsx index 4d4da5e..ac90789 100644 --- a/src/menu/components/card/cardcellcomponent/formconfig.jsx +++ b/src/menu/components/card/cardcellcomponent/formconfig.jsx @@ -176,11 +176,30 @@ 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', @@ -194,16 +213,11 @@ ] }, { - 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', -- Gitblit v1.8.0