Feat(商品详情&店铺):来源模块数据埋点

This commit is contained in:
lifizer
2024-06-24 15:15:20 +08:00
parent 2226d665ad
commit 9ab00a372e
5 changed files with 131 additions and 8 deletions
+9 -1
View File
@@ -36,7 +36,7 @@
v-for="(item, index) in dataList"
:key="index"
class="item"
@click="$global.navToGoods(item.id)"
@click="goodItemClick(item.id)"
>
<image
:src="item.image"
@@ -135,6 +135,14 @@ export default {
duration: 1500
})
})
},
goodItemClick(productId) {
if (!productId) {
return
}
uni.navigateTo({
url: `/pages/shop/GoodsCon/index?id=${productId}&from=techan`
})
}
}
}