mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:09:08 +08:00
fix: 【配置面板】grid组件布局方式&button角标配置样式 (#7874)
* fix: 配置面板grid组件布局方式 * fix: 配置面板button角标配置样式 --------- Co-authored-by: huangying11 <huangying11@baidu.com>
This commit is contained in:
parent
774d08de2b
commit
f02c917300
@ -313,6 +313,7 @@ export class GridPlugin extends BasePlugin {
|
||||
label: '水平对齐',
|
||||
tiled: true,
|
||||
pipeIn: defaultValue('left'),
|
||||
inputClassName: 'flex-nowrap',
|
||||
options: [
|
||||
{
|
||||
value: 'left',
|
||||
@ -339,6 +340,7 @@ export class GridPlugin extends BasePlugin {
|
||||
label: '垂直对齐',
|
||||
tiled: true,
|
||||
pipeIn: defaultValue('top'),
|
||||
inputClassName: 'flex-nowrap',
|
||||
options: [
|
||||
{
|
||||
value: 'top',
|
||||
@ -522,6 +524,7 @@ export class GridPlugin extends BasePlugin {
|
||||
label: false,
|
||||
tiled: true,
|
||||
clearable: true,
|
||||
inputClassName: 'flex-nowrap',
|
||||
options: [
|
||||
{
|
||||
value: 'top',
|
||||
|
@ -217,6 +217,7 @@ export default class BadgeControl extends React.Component<
|
||||
mode: 'row',
|
||||
tiled: true,
|
||||
className: 'ae-BadgeControl-buttonGroup',
|
||||
inputClassName: 'flex-nowrap',
|
||||
options: [
|
||||
{label: '点', value: 'dot', icon: 'fa fa-circle'},
|
||||
{label: '文字', value: 'text', icon: 'fa fa-font'},
|
||||
@ -237,13 +238,14 @@ export default class BadgeControl extends React.Component<
|
||||
}
|
||||
},
|
||||
{
|
||||
label: '角标主题',
|
||||
label: '主题',
|
||||
name: 'level',
|
||||
type: 'button-group-select',
|
||||
size: 'sm',
|
||||
mode: 'row',
|
||||
tiled: true,
|
||||
className: 'ae-BadgeControl-buttonGroup',
|
||||
inputClassName: 'flex-nowrap',
|
||||
options: [
|
||||
{label: '成功', value: 'success'},
|
||||
{label: '警告', value: 'warning'},
|
||||
@ -253,13 +255,14 @@ export default class BadgeControl extends React.Component<
|
||||
pipeIn: defaultValue('danger')
|
||||
},
|
||||
{
|
||||
label: '角标位置',
|
||||
label: '位置',
|
||||
name: 'position',
|
||||
type: 'button-group-select',
|
||||
size: 'sm',
|
||||
mode: 'row',
|
||||
tiled: true,
|
||||
className: 'ae-BadgeControl-buttonGroup',
|
||||
inputClassName: 'flex-nowrap',
|
||||
options: [
|
||||
{
|
||||
label: '',
|
||||
|
Loading…
Reference in New Issue
Block a user