dykj-outsource-12123/uni_modules/uview-plus/components/u-scroll-list/props.js
2024-06-28 14:18:30 +08:00

36 lines
1.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import defProps from '../../libs/config/props.js';
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
},
// 指示器样式可通过bottomleftright进行定位
indicatorStyle: {
type: [String, Object],
default: () => defProps.scrollList.indicatorStyle
}
}
}