优化样式
This commit is contained in:
@@ -63,6 +63,12 @@ const baTable = new baTableClass(
|
||||
width: 110,
|
||||
operator: 'eq',
|
||||
render: 'tag',
|
||||
custom: {
|
||||
string: 'primary',
|
||||
int: 'success',
|
||||
decimal: 'warning',
|
||||
json: 'info',
|
||||
},
|
||||
replaceValue: {
|
||||
string: t('game.config.value_type string'),
|
||||
int: t('game.config.value_type int'),
|
||||
|
||||
@@ -100,6 +100,15 @@ const baTable = new baTableClass(
|
||||
width: 110,
|
||||
operator: 'eq',
|
||||
render: 'tag',
|
||||
effect: 'dark',
|
||||
custom: {
|
||||
'0': 'success',
|
||||
'1': 'warning',
|
||||
'2': 'info',
|
||||
'3': 'primary',
|
||||
'4': 'warning',
|
||||
'5': 'danger',
|
||||
},
|
||||
replaceValue: {
|
||||
'0': t('game.period.status 0'),
|
||||
'1': t('game.period.status 1'),
|
||||
@@ -116,6 +125,10 @@ const baTable = new baTableClass(
|
||||
width: 110,
|
||||
operator: 'eq',
|
||||
render: 'tag',
|
||||
custom: {
|
||||
'0': 'info',
|
||||
'1': 'warning',
|
||||
},
|
||||
replaceValue: {
|
||||
'0': t('game.period.draw_mode 0'),
|
||||
'1': t('game.period.draw_mode 1'),
|
||||
|
||||
Reference in New Issue
Block a user