36 lines
1.1 KiB
JavaScript
36 lines
1.1 KiB
JavaScript
|
import defprops from '../../libs/config/props';
|
|||
|
export default {
|
|||
|
props: {
|
|||
|
// 指示器的整体宽度
|
|||
|
indicatorWidth: {
|
|||
|
type: [String, Number],
|
|||
|
default: defprops.scrollList.indicatorWidth
|
|||
|
},
|
|||
|
// 滑块的宽度
|
|||
|
indicatorBarWidth: {
|
|||
|
type: [String, Number],
|
|||
|
default: defprops.scrollList.indicatorBarWidth
|
|||
|
},
|
|||
|
// 是否显示面板指示器
|
|||
|
indicator: {
|
|||
|
type: Boolean,
|
|||
|
default: defprops.scrollList.indicator
|
|||
|
},
|
|||
|
// 指示器非激活颜色
|
|||
|
indicatorColor: {
|
|||
|
type: String,
|
|||
|
default: defprops.scrollList.indicatorColor
|
|||
|
},
|
|||
|
// 指示器的激活颜色
|
|||
|
indicatorActiveColor: {
|
|||
|
type: String,
|
|||
|
default: defprops.scrollList.indicatorActiveColor
|
|||
|
},
|
|||
|
// 指示器样式,可通过bottom,left,right进行定位
|
|||
|
indicatorStyle: {
|
|||
|
type: [String, Object],
|
|||
|
default: defprops.scrollList.indicatorStyle
|
|||
|
}
|
|||
|
}
|
|||
|
}
|