c7add6cf
“wangming”
初始版本开发完毕
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
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: uni.$u.props.indexList.indexList
},
// 是否开启锚点自动吸顶
sticky: {
type: Boolean,
default: uni.$u.props.indexList.sticky
},
// 自定义导航栏的高度
customNavHeight: {
type: [String, Number],
default: uni.$u.props.indexList.customNavHeight
}
}
}
|