mkm
/
yanzhiAPP
Template
2
0
Fork 0
yanzhiAPP/node_modules/uview-plus/components/u-index-list/props.js

31 lines
860 B
JavaScript
Raw Permalink Normal View History

2023-10-17 16:02:55 +08:00
import defprops from '../../libs/config/props';
export default {
props: {
// 右边锚点非激活的颜色
inactiveColor: {
type: String,
default: defprops.indexList.inactiveColor
},
// 右边锚点激活的颜色
activeColor: {
type: String,
default: defprops.indexList.activeColor
},
// 索引字符列表,数组形式
indexList: {
type: Array,
default: defprops.indexList.indexList
},
// 是否开启锚点自动吸顶
sticky: {
type: Boolean,
default: defprops.indexList.sticky
},
// 自定义导航栏的高度
customNavHeight: {
type: [String, Number],
default: defprops.indexList.customNavHeight
}
}
}