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.

39 lines
1.0 KiB

9 months ago
  1. export default {
  2. props: {
  3. // 排列方向
  4. direction: {
  5. type: String,
  6. default: uni.$u.props.steps.direction
  7. },
  8. // 设置第几个步骤
  9. current: {
  10. type: [String, Number],
  11. default: uni.$u.props.steps.current
  12. },
  13. // 激活状态颜色
  14. activeColor: {
  15. type: String,
  16. default: uni.$u.props.steps.activeColor
  17. },
  18. // 未激活状态颜色
  19. inactiveColor: {
  20. type: String,
  21. default: uni.$u.props.steps.inactiveColor
  22. },
  23. // 激活状态的图标
  24. activeIcon: {
  25. type: String,
  26. default: uni.$u.props.steps.activeIcon
  27. },
  28. // 未激活状态图标
  29. inactiveIcon: {
  30. type: String,
  31. default: uni.$u.props.steps.inactiveIcon
  32. },
  33. // 是否显示点类型
  34. dot: {
  35. type: Boolean,
  36. default: uni.$u.props.steps.dot
  37. }
  38. }
  39. }