product-item-status.js 299 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 import router from '../router/router'; Component({ properties: { product: { type: Object }, tabIdx: String }, methods: { onClick() { router.go('detail', { tabIdx: +this.data.tabIdx + 1, actPrizeId: this.properties.product.id }); } } });