index.js 435 B

123456789101112131415161718192021
  1. import { VantComponent } from '../common/component';
  2. VantComponent({
  3. classes: ['info-class'],
  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. name: String,
  15. },
  16. methods: {
  17. onClick() {
  18. this.$emit('click');
  19. },
  20. },
  21. });