江西小程序管理端
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.

28 lines
801 B

1 year ago
  1. export default {
  2. props: {
  3. // 激活部分的颜色
  4. activeColor: {
  5. type: String,
  6. default: uni.$u.props.lineProgress.activeColor
  7. },
  8. inactiveColor: {
  9. type: String,
  10. default: uni.$u.props.lineProgress.color
  11. },
  12. // 进度百分比,数值
  13. percentage: {
  14. type: [String, Number],
  15. default: uni.$u.props.lineProgress.inactiveColor
  16. },
  17. // 是否在进度条内部显示百分比的值
  18. showText: {
  19. type: Boolean,
  20. default: uni.$u.props.lineProgress.showText
  21. },
  22. // 进度条的高度,单位px
  23. height: {
  24. type: [String, Number],
  25. default: uni.$u.props.lineProgress.height
  26. }
  27. }
  28. }