export interface ICollapseParentData { headStyle: Record; bodyStyle: Record; itemStyle: Record; arrow: boolean; arrowColor: string; hoverClass: string; } export const collapseProps = { // 是否为手风琴 accordion: { type: Boolean, default: true }, // 头部样式 headStyle: { type: Object, default() { return {} } }, // 主题样式 bodyStyle: { type: Object, default() { return {} } }, // 每一个item的样式 itemStyle: { type: Object, default() { return {} } }, // 显示箭头 arrow: { type: Boolean, default: true }, // 箭头颜色 arrowColor: { type: String, default: '#AAAAAA' }, // 点击标题栏时的按压样式 hoverClass: { type: String, default: 'tn-hover' } }