From 5902ba5c3ff85efc78c95364196cd6ab5d2d1601 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 11 十月 2020 12:21:17 +0800 Subject: [PATCH] 2020-10-11 --- src/menu/components/card/cardcellcomponent/formconfig.jsx | 53 +---------------------------------------------------- 1 files changed, 1 insertions(+), 52 deletions(-) diff --git a/src/menu/components/card/cardcellcomponent/formconfig.jsx b/src/menu/components/card/cardcellcomponent/formconfig.jsx index 082a0c0..81020a7 100644 --- a/src/menu/components/card/cardcellcomponent/formconfig.jsx +++ b/src/menu/components/card/cardcellcomponent/formconfig.jsx @@ -148,54 +148,11 @@ ] }, { - type: 'radio', - key: 'align', - label: '瀵归綈鏂瑰紡', - initVal: card.align || 'left', - required: true, - options: [ - { value: 'left', text: '宸﹀榻�' }, - { value: 'center', text: '灞呬腑' }, - { value: 'right', text: '鍙冲榻�' }, - ] - }, - { - type: 'number', - key: 'fontSize', - min: 12, - max: 50, - label: '瀛椾綋澶у皬', - initVal: card.fontSize || 14, - required: true, - }, - { - type: 'select', - key: 'fontWeight', - label: '瀛椾綋绮楃粏', - initVal: card.fontWeight || 'normal', - required: true, - options: [ - { value: 'normal', text: '姝e父' }, - { value: 'bold', text: 'bold' }, - { value: 'bolder', text: 'bolder' }, - { value: 'lighter', text: 'lighter' }, - { value: '100', text: '100' }, - { value: '200', text: '200' }, - { value: '300', text: '300' }, - { value: '400', text: '400' }, - { value: '500', text: '500' }, - { value: '600', text: '600' }, - { value: '700', text: '700' }, - { value: '800', text: '800' }, - { value: '900', text: '900' } - ] - }, - { type: 'color', key: 'color', label: '棰滆壊', initVal: card.color, - required: false + required: true }, { type: 'number', @@ -249,14 +206,6 @@ { value: 'true', text: '鏈�' }, { value: 'false', text: '鏃�' } ] - }, - { - type: 'text', - key: 'padding', - label: '鍐呰竟璺�', - initVal: card.padding, - tooltip: '鍐呰竟璺濋渶瑕佹寜鐓у浐瀹氭牸寮忓~鍐欙紝渚嬶細5px锛堜笂涓嬪乏鍙冲潎涓�5鍍忕礌锛夛紝5px 10px锛堜笂涓�5鍍忕礌锛屽乏鍙�10鍍忕礌锛夛紝5px 10px 15px锛堜笂5鍍忕礌锛屽乏鍙�10鍍忕礌锛屼笅15鍍忕礌锛夛紝5px 10px 5px 10px锛堜笂5鍍忕礌锛屽彸10鍍忕礌锛屼笅5鍍忕礌锛屽乏10鍍忕礌锛�', - required: false }, ] -- Gitblit v1.8.0