From c4bde8e537658af12fba8d288d11b9c0220fa58c Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 13 五月 2022 10:57:45 +0800 Subject: [PATCH] 2022-05-13 --- src/menu/components/card/cardcellcomponent/formconfig.jsx | 2 -- src/menu/components/table/edit-table/options.jsx | 2 +- src/menu/components/table/normal-table/options.jsx | 2 +- src/templates/sharecomponent/settingcomponent/settingform/datasource/index.jsx | 2 +- src/assets/css/main.scss | 13 +++++++------ 5 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss index d9922e3..cdc3720 100644 --- a/src/assets/css/main.scss +++ b/src/assets/css/main.scss @@ -441,12 +441,13 @@ color: inherit!important; } } -// .ant-table.ant-table-mini .ant-table-thead > tr > th { -// padding: 8px 4px; -// } -// .ant-table.ant-table-mini .ant-table-tbody > tr > td { -// padding: 4px 4px; -// } +.ant-table.ant-table-mini .ant-table-thead > tr > th { + padding: 8px 8px; +} +.ant-table.ant-table-mini .ant-table-tbody > tr > td { + padding: 2px 8px; + line-height: 1.5; +} .mk-date-picker.minute { .ant-calendar-time-picker-combobox { .ant-calendar-time-picker-select { diff --git a/src/menu/components/card/cardcellcomponent/formconfig.jsx b/src/menu/components/card/cardcellcomponent/formconfig.jsx index 1bfeece..863b7e1 100644 --- a/src/menu/components/card/cardcellcomponent/formconfig.jsx +++ b/src/menu/components/card/cardcellcomponent/formconfig.jsx @@ -435,7 +435,6 @@ initVal: card.link || '', tooltip: '鍔ㄦ�佸湴鍧�涓虹粦瀹氬瓧娈靛�笺��', required: false, - // forbid: isApp, options: [ { value: '', text: '鏃�' }, { value: 'dynamic', text: '鍔ㄦ��' }, @@ -448,7 +447,6 @@ label: '閾炬帴绫诲瀷', initVal: card.linkType || 'other', required: false, - // forbid: isApp, options: [ { value: 'tel', text: '鐢佃瘽' }, { value: 'email', text: '閭' }, diff --git a/src/menu/components/table/edit-table/options.jsx b/src/menu/components/table/edit-table/options.jsx index 005bd9e..3ed37ec 100644 --- a/src/menu/components/table/edit-table/options.jsx +++ b/src/menu/components/table/edit-table/options.jsx @@ -191,7 +191,7 @@ {value: 'default', label: '澶�'}, {value: 'middle', label: '涓�'}, {value: 'small', label: '灏�'}, - // {value: 'mini', label: '寰�'}, + {value: 'mini', label: '杩蜂綘'}, ] }, { diff --git a/src/menu/components/table/normal-table/options.jsx b/src/menu/components/table/normal-table/options.jsx index 652172a..cf01415 100644 --- a/src/menu/components/table/normal-table/options.jsx +++ b/src/menu/components/table/normal-table/options.jsx @@ -114,7 +114,7 @@ {value: 'default', label: '澶�'}, {value: 'middle', label: '涓�'}, {value: 'small', label: '灏�'}, - // {value: 'mini', label: '寰�'}, + {value: 'mini', label: '杩蜂綘'}, ] }, { diff --git a/src/templates/sharecomponent/settingcomponent/settingform/datasource/index.jsx b/src/templates/sharecomponent/settingcomponent/settingform/datasource/index.jsx index 221db3c..4e7dce8 100644 --- a/src/templates/sharecomponent/settingcomponent/settingform/datasource/index.jsx +++ b/src/templates/sharecomponent/settingcomponent/settingform/datasource/index.jsx @@ -635,7 +635,7 @@ <Radio value="default">澶�</Radio> <Radio value="middle">涓�</Radio> <Radio value="small">灏�</Radio> - {/* <Radio value="mini">寰�</Radio> */} + <Radio value="mini">杩蜂綘</Radio> </Radio.Group>)} </Form.Item> </Col> -- Gitblit v1.8.0