...
|
...
|
@@ -459,6 +459,22 @@ export default { |
|
|
|
|
|
// 购买
|
|
|
buy() {
|
|
|
/**
|
|
|
* 数据埋点
|
|
|
* 商品详情页点击出售/购买/求购按钮
|
|
|
* event: XY_UFO_PRD_DT_SALE_C
|
|
|
* params: 1.TAB_ID:1-出售,2-购买,3-求购;
|
|
|
* 2.PRD_ID:商品ID;
|
|
|
*/
|
|
|
this.$store.dispatch('reportYas', {
|
|
|
params: {
|
|
|
appop: 'XY_UFO_PRD_DT_SALE_C',
|
|
|
param: {
|
|
|
TAB_ID: 2,
|
|
|
PRD_ID: this.productId
|
|
|
},
|
|
|
}
|
|
|
});
|
|
|
this.resetSelectedSize();
|
|
|
this.selectSizeConfig = {
|
|
|
dest: 'OrderBuyConfirm',
|
...
|
...
|
@@ -477,6 +493,22 @@ export default { |
|
|
return;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 数据埋点
|
|
|
* 商品详情页点击出售/购买/求购按钮
|
|
|
* event: XY_UFO_PRD_DT_SALE_C
|
|
|
* params: 1.TAB_ID:1-出售,2-购买,3-求购;
|
|
|
* 2.PRD_ID:商品ID;
|
|
|
*/
|
|
|
this.$store.dispatch('reportYas', {
|
|
|
params: {
|
|
|
appop: 'XY_UFO_PRD_DT_SALE_C',
|
|
|
param: {
|
|
|
TAB_ID: 1,
|
|
|
PRD_ID: this.productId
|
|
|
},
|
|
|
}
|
|
|
});
|
|
|
this.resetSelectedSize();
|
|
|
this.selectSizeConfig = {
|
|
|
dest: 'OrderSellConfirm',
|
...
|
...
|
@@ -490,17 +522,25 @@ export default { |
|
|
async onSelectTradeProduct(tradeProduct) {
|
|
|
/**
|
|
|
* 数据埋点
|
|
|
* 购买确认订单
|
|
|
* 购买-选择尺码生成订单
|
|
|
* 商品详情页-选择尺码确认后上报
|
|
|
* 商品详情页点击出售/购买/求购按钮
|
|
|
* event: XY_UFO_PRD_DT_SALE_C
|
|
|
* params: 1.TAB_ID:1-出售,2-购买,3-求购;
|
|
|
* 2.PRD_ID:商品ID;
|
|
|
* event: XY_UFO_PRD_DT_BUY_SEL_C
|
|
|
* 1.PRD_ID:商品ID;
|
|
|
* 2.PRD_SKU:商品SKU;
|
|
|
* 3.PRD_SIZE:尺码;
|
|
|
* 新增字段:
|
|
|
* 4.ORD_TYPE:订单类型;1-购买,2-出售,3-求购,4-变现;
|
|
|
*/
|
|
|
this.$store.dispatch('reportYas', {
|
|
|
params: {
|
|
|
appop: 'XY_UFO_PRD_DT_BUY_SEL_C',
|
|
|
param: {
|
|
|
TAB_ID: this.selectSizeConfig.type === 'buy' ? 2 : 1,
|
|
|
PRD_ID: tradeProduct.productId
|
|
|
PRD_ID: tradeProduct.productId,
|
|
|
PRD_SKU: tradeProduct.skup,
|
|
|
PRD_SIZE: tradeProduct.size_id,
|
|
|
ORD_TYPE: this.selectSizeConfig.type === 'buy' ? 1 : 2
|
|
|
},
|
|
|
}
|
|
|
});
|
...
|
...
|
@@ -573,6 +613,14 @@ export default { |
|
|
// 打开求购列表
|
|
|
qiugou() {
|
|
|
this.showBidSheet = true;
|
|
|
|
|
|
/**
|
|
|
* 数据埋点
|
|
|
* 商品详情页点击出售/购买/求购按钮
|
|
|
* event: XY_UFO_PRD_DT_SALE_C
|
|
|
* params: 1.TAB_ID:1-出售,2-购买,3-求购;
|
|
|
* 2.PRD_ID:商品ID;
|
|
|
*/
|
|
|
this.$store.dispatch('reportYas', {
|
|
|
params: {
|
|
|
appop: 'XY_UFO_PRD_DT_SALE_C',
|
...
|
...
|
|