commit | author | age
|
e3ba12
|
1 |
export default { |
Z |
2 |
props: { |
|
3 |
// 右边锚点非激活的颜色 |
|
4 |
inactiveColor: { |
|
5 |
type: String, |
|
6 |
default: uni.$u.props.indexList.inactiveColor |
|
7 |
}, |
|
8 |
// 右边锚点激活的颜色 |
|
9 |
activeColor: { |
|
10 |
type: String, |
|
11 |
default: uni.$u.props.indexList.activeColor |
|
12 |
}, |
|
13 |
// 索引字符列表,数组形式 |
|
14 |
indexList: { |
|
15 |
type: Array, |
|
16 |
default: uni.$u.props.indexList.indexList |
|
17 |
}, |
|
18 |
// 是否开启锚点自动吸顶 |
|
19 |
sticky: { |
|
20 |
type: Boolean, |
|
21 |
default: uni.$u.props.indexList.sticky |
|
22 |
}, |
|
23 |
// 自定义导航栏的高度 |
|
24 |
customNavHeight: { |
|
25 |
type: [String, Number], |
|
26 |
default: uni.$u.props.indexList.customNavHeight |
|
27 |
} |
|
28 |
} |
|
29 |
} |