diff --git a/tuniao-ui/components/tn-tabs/tn-tabs.vue b/tuniao-ui/components/tn-tabs/tn-tabs.vue index 04243ad..26993a7 100644 --- a/tuniao-ui/components/tn-tabs/tn-tabs.vue +++ b/tuniao-ui/components/tn-tabs/tn-tabs.vue @@ -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 }