index.js 474 B

12345678910111213141516171819202122232425262728
  1. "use strict";
  2. var _component = require("../common/component");
  3. (0, _component.VantComponent)({
  4. props: {
  5. dot: Boolean,
  6. info: null,
  7. size: null,
  8. color: String,
  9. customStyle: String,
  10. classPrefix: {
  11. type: String,
  12. value: "van-icon"
  13. },
  14. score: Number,
  15. hidden: {
  16. type: Boolean,
  17. value: true
  18. },
  19. name: String
  20. },
  21. methods: {
  22. onClick: function onClick(action) {
  23. this.$emit("click", action);
  24. }
  25. }
  26. });