Files
JayuCloud/WeChatProgram/components/product-card/product-card.js
T

23 lines
314 B
JavaScript
Raw Normal View History

2026-04-01 15:18:35 +08:00
Component({
properties: {
item: {
type: Object,
value: {}
},
showMeta: {
type: Boolean,
value: true
},
showStats: {
type: Boolean,
value: false
}
},
methods: {
handleTap() {
this.triggerEvent('select', this.properties.item)
}
}
})