人民医院前端

props.ts 638B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // import { CircleProps} from './type';
  2. // import { PropType } from 'vue';
  3. export default {
  4. percent: {
  5. type: Number,
  6. default: 0
  7. },
  8. size: {
  9. type: String,
  10. default: '120px'
  11. },
  12. lineCap: {
  13. type: String,
  14. default: 'round'
  15. },
  16. strokeWidth: {
  17. type: [String, Number],
  18. default: 6
  19. },
  20. strokeColor: {
  21. type: [String , Array],
  22. default: '#2db7f5'
  23. },
  24. trailWidth: {
  25. type: [String, Number],
  26. default: 6
  27. },
  28. trailColor: {
  29. type: String,
  30. default: '#ddd'
  31. },
  32. dashborad: Boolean,
  33. clockwise: {
  34. type: Boolean,
  35. default: true
  36. },
  37. duration: {
  38. type: Number,
  39. default: 300
  40. },
  41. max: {
  42. type: Number,
  43. default: 100
  44. }
  45. }