update 样式

This commit is contained in:
lb
2023-01-16 17:01:14 +08:00
parent 795fb5642e
commit 712b5937da
7 changed files with 78 additions and 23 deletions

View File

@@ -72,7 +72,7 @@ export default {
h('el-button',
{
props: { type: 'text' },
style: { color: this.colors[opt.name] || '#409EFF' },
style: { color: this.colors[opt.name] || '#0b58ff' },
on: { click: this.emit.bind(null, opt) }
},
this.text[opt.name]
@@ -85,7 +85,7 @@ export default {
h('el-button',
{
props: { type: 'text' },
style: { color: this.colors[opt] || '#409EFF' },
style: { color: this.colors[opt] || '#0b58ff' },
on: { click: this.emit.bind(null, opt) }
},
this.text[opt]

View File

@@ -40,7 +40,7 @@ export default {
return h('el-tag',
{
props:
{ type: this.isEnabled ? this.statusType[0] : this.statusType[1] }
{ size: 'small', type: this.isEnabled ? this.statusType[0] : this.statusType[1] }
},
this.isEnabled ? this.statusText[0] : this.statusText[1])
}