You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.0 KiB

9 months ago
  1. export default {
  2. props: {
  3. // 指示器的整体宽度
  4. indicatorWidth: {
  5. type: [String, Number],
  6. default: uni.$u.props.scrollList.indicatorWidth
  7. },
  8. // 滑块的宽度
  9. indicatorBarWidth: {
  10. type: [String, Number],
  11. default: uni.$u.props.scrollList.indicatorBarWidth
  12. },
  13. // 是否显示面板指示器
  14. indicator: {
  15. type: Boolean,
  16. default: uni.$u.props.scrollList.indicator
  17. },
  18. // 指示器非激活颜色
  19. indicatorColor: {
  20. type: String,
  21. default: uni.$u.props.scrollList.indicatorColor
  22. },
  23. // 指示器的激活颜色
  24. indicatorActiveColor: {
  25. type: String,
  26. default: uni.$u.props.scrollList.indicatorActiveColor
  27. },
  28. // 指示器样式,可通过bottom,left,right进行定位
  29. indicatorStyle: {
  30. type: [String, Object],
  31. default: uni.$u.props.scrollList.indicatorStyle
  32. }
  33. }
  34. }