steps.scheme.js 1015 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. export const propsScheme = {
  2. active: {
  3. type: Number,
  4. default: 0,
  5. intro: '设置当前激活步骤'
  6. },
  7. space: {
  8. type: [Number, String],
  9. intro: '每个 step 的间距,不填写将自适应间距。 支持百分比。'
  10. },
  11. direction: {
  12. type: String,
  13. default: 'horizontal',
  14. intro: '显示方向'
  15. },
  16. processStatus: {
  17. type: String,
  18. default: 'process',
  19. intro: '设置当前步骤的状态'
  20. },
  21. finishStatus: {
  22. type: String,
  23. default: 'success', // 为配合ui规范
  24. intro: '设置结束步骤的状态'
  25. },
  26. alignCenter: {
  27. type: Boolean,
  28. default: false,
  29. intro: '进行居中对齐'
  30. },
  31. simple: {
  32. type: Boolean,
  33. default: false,
  34. intro: '是否应用简洁风格'
  35. },
  36. titleUp: {
  37. type: Boolean,
  38. default: false,
  39. intro: '文字提到图标右边,对应ui标准样式二,只适用于横向'
  40. }
  41. }
  42. export const slotsScheme = {
  43. default: {}
  44. }
  45. export const componentScheme = {
  46. propsScheme,
  47. slotsScheme
  48. }