Feat(商品详情&店铺):来源模块数据埋点
This commit is contained in:
@@ -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`
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user