zhangmeng
2024-04-19 e3ba120cb766a17e098e58d11c39ffc600a3070c
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
30
31
32
33
34
export default {
    props: {
        // 指示器的整体宽度
        indicatorWidth: {
            type: [String, Number],
            default: uni.$u.props.scrollList.indicatorWidth
        },
        // 滑块的宽度
        indicatorBarWidth: {
            type: [String, Number],
            default: uni.$u.props.scrollList.indicatorBarWidth
        },
        // 是否显示面板指示器
        indicator: {
            type: Boolean,
            default: uni.$u.props.scrollList.indicator
        },
        // 指示器非激活颜色
        indicatorColor: {
            type: String,
            default: uni.$u.props.scrollList.indicatorColor
        },
        // 指示器的激活颜色
        indicatorActiveColor: {
            type: String,
            default: uni.$u.props.scrollList.indicatorActiveColor
        },
        // 指示器样式,可通过bottom,left,right进行定位
        indicatorStyle: {
            type: [String, Object],
            default: uni.$u.props.scrollList.indicatorStyle
        }
    }
}