shoppingCartProductCell.js
553 Bytes
Component({
properties: {
data: {
type: null,
}
},
data: {
},
attached: function () {
},
methods: {
shoppingCartProductAction: function(event) {
console.log('===cell====');
console.log(event);
console.log('====================================');
this.triggerEvent('shoppingCartProductAction', event);
},
onMoveStart: function(event) {
this.triggerEvent('moveStart', event);
},
onMoveEnd: function(event) {
this.triggerEvent('moveEnd', event);
}
}
})