海鲜小程序

index.js 495B

12345678910111213141516171819202122232425262728
  1. import { VantComponent } from '../common/component';
  2. import { BLUE } from '../common/color';
  3. VantComponent({
  4. props: {
  5. inactive: Boolean,
  6. percentage: Number,
  7. pivotText: String,
  8. pivotColor: String,
  9. trackColor: String,
  10. showPivot: {
  11. type: Boolean,
  12. value: true,
  13. },
  14. color: {
  15. type: String,
  16. value: BLUE,
  17. },
  18. textColor: {
  19. type: String,
  20. value: '#fff',
  21. },
  22. strokeWidth: {
  23. type: null,
  24. value: 4,
  25. },
  26. },
  27. });