mirror of
https://gitee.com/TSpecific/tuniao-ui.git
synced 2026-09-06 12:02:45 +08:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0d09b34409 | ||
|
|
6142c5c654 |
@@ -89,6 +89,13 @@
|
||||
type: String,
|
||||
default: '#080808'
|
||||
},
|
||||
// 未选中的item样式
|
||||
inactiveItemStyle: {
|
||||
type: Object,
|
||||
default() {
|
||||
return {}
|
||||
}
|
||||
},
|
||||
// 选中的item样式
|
||||
activeItemStyle: {
|
||||
type: Object,
|
||||
@@ -171,6 +178,7 @@
|
||||
Object.assign(style, this.activeItemStyle)
|
||||
} else {
|
||||
style.color = this.inactiveColor
|
||||
Object.assign(style, this.inactiveItemStyle)
|
||||
}
|
||||
return style
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user