index.js 525 B

12345678910111213141516171819202122232425262728293031
  1. "use strict";
  2. var _component = require("../common/component");
  3. var _color = require("../common/color");
  4. (0, _component.VantComponent)({
  5. props: {
  6. inactive: Boolean,
  7. percentage: Number,
  8. pivotText: String,
  9. pivotColor: String,
  10. trackColor: String,
  11. showPivot: {
  12. type: Boolean,
  13. value: true
  14. },
  15. color: {
  16. type: String,
  17. value: _color.BLUE
  18. },
  19. textColor: {
  20. type: String,
  21. value: "#fff"
  22. },
  23. strokeWidth: {
  24. type: null,
  25. value: 4
  26. }
  27. }
  28. });