Component({ properties: { show: Boolean, type: { type: String, value: 'top-right' },//红点位置 默认在top-right,可以设置top-left,可以自己扩展 count: Number }, data: {}, methods: {} });