Files
taimed/uni_modules/uview-ui/components/u-index-list/props.js
liuyuan 060344610a 提交
2025-05-21 16:35:35 +08:00

35 lines
924 B
JavaScript

export default {
props: {
// 右边锚点非激活的颜色
inactiveColor: {
type: String,
default: uni.$u.props.indexList.inactiveColor
},
// 右边锚点激活的颜色
activeColor: {
type: String,
default: uni.$u.props.indexList.activeColor
},
// 索引字符列表,数组形式
indexList: {
type: Array,
default: []
},
// 是否开启锚点自动吸顶
sticky: {
type: Boolean,
default: uni.$u.props.indexList.sticky
},
// 自定义导航栏的高度
customNavHeight: {
type: [String, Number],
default: uni.$u.props.indexList.customNavHeight
},
// 自定义导航栏的高度
uIndexStyle: {
type:Object,
default: {}
}
}
}