Authored by shuaiguo

feat(article/detail): 文章详情商品点击埋点

... ... @@ -12,7 +12,7 @@
</div>
<div class="slide-container">
<associated-item :items="detailInfo.productList"></associated-item>
<associated-item :items="detailInfo.productList" :articleId="articleId"></associated-item>
</div>
<div class="note-container">
... ...
... ... @@ -33,13 +33,29 @@ export default {
default() {
return [];
}
},
articleId: {
type: Number,
default: ''
}
},
methods: {
imageformatError() {
console.log(6666);
},
goToDetail(item) {
goToDetail(item, index) {
this.$store.dispatch('reportYas', {
params: {
appop: 'XY_STROLL_ARC_RLT_PRD_C',
param: {
P_NAME: 'XY_UFOArticleDetail',
P_PARAM: this.articleId,
I_INDEX: index + 1,
PRD_ID: item.productSkn
},
},
});
this.$router.push({
name: 'ProductDetail',
params: {
... ... @@ -48,8 +64,6 @@ export default {
});
}
},
mounted() {
}
};
</script>
... ...