product-item-status.js
347 Bytes
import router from '../router/router';
Component({
properties: {
product: {
type: Object
},
tabIdx: String
},
methods: {
onClick() {
router.go('detail', {
tabIdx: +this.data.tabIdx + 1,
fromPageParam: +this.data.tabIdx + 1,
actPrizeId: this.properties.product.id
});
}
}
});