学员端小程序
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.

29 lines
870 B

1 year ago
  1. export default {
  2. props: {
  3. // 轮播的长度
  4. length: {
  5. type: [String, Number],
  6. default: uni.$u.props.swiperIndicator.length
  7. },
  8. // 当前处于活动状态的轮播的索引
  9. current: {
  10. type: [String, Number],
  11. default: uni.$u.props.swiperIndicator.current
  12. },
  13. // 指示器非激活颜色
  14. indicatorActiveColor: {
  15. type: String,
  16. default: uni.$u.props.swiperIndicator.indicatorActiveColor
  17. },
  18. // 指示器的激活颜色
  19. indicatorInactiveColor: {
  20. type: String,
  21. default: uni.$u.props.swiperIndicator.indicatorInactiveColor
  22. },
  23. // 指示器模式,line-线型,dot-点型
  24. indicatorMode: {
  25. type: String,
  26. default: uni.$u.props.swiperIndicator.indicatorMode
  27. }
  28. }
  29. }