Commit 5da7b125 authored by Xuguangxing's avatar Xuguangxing

Merge branch 'feat/group-buy' of git.quantgroup.cn:ui/group-buy-ui into feat/group-buy

parents cd18a063 be6e9df0
...@@ -119,7 +119,7 @@ export default { ...@@ -119,7 +119,7 @@ export default {
}, },
getAvatorItem(ele) { getAvatorItem(ele) {
return { return {
src: ele.data('src') || '', avatar: ele.data('src') || '',
name: ele.data('name') || '' name: ele.data('name') || ''
}; };
}, },
......
...@@ -124,7 +124,7 @@ export default { ...@@ -124,7 +124,7 @@ export default {
} }
if (s === 3) { if (s === 3) {
message = '您选的商品太火爆了,已经卖完了呢,您可以选择其他的团品重新开团哦~'; message = '您选的商品太火爆了,已经卖完了呢,您可以选择其他的团品重新开团哦~';
confirmButtonText = '选择更多'; confirmButtonText = '知道了';
} }
this.$dialog({ this.$dialog({
......
...@@ -204,11 +204,15 @@ export default { ...@@ -204,11 +204,15 @@ export default {
} }
}, },
async openShareEvent(item) { async openShareEvent(item) {
saTrackEvent('H5_MyPuzzlePageInviteFriendsBtnClick', { try {
sku_no: item.skuList[0].skuNo, saTrackEvent('H5_MyPuzzlePageInviteFriendsBtnClick', {
group_id: item.activityHundredGroupId sku_no: item.skuList[0].skuNo,
}); group_id: item.activityHundredGroupId
this.$emit('option-click', { ...item.skuList[0], eventType: 'share' }); });
this.$emit('option-click', { ...item.skuList[0], eventType: 'share' });
} catch (err) {
console.log(err);
}
}, },
toDetail(goodsItem) { toDetail(goodsItem) {
...@@ -218,21 +222,21 @@ export default { ...@@ -218,21 +222,21 @@ export default {
sku_no: skuList[0].skuNo, sku_no: skuList[0].skuNo,
group_id: activityHundredGroupId group_id: activityHundredGroupId
}); });
this.$router.push({
path: '/groupBuy/skuInfoSmallPic',
query: {
skuNo: skuList[0].skuNo,
groupBuyGroupId: activityHundredGroupId,
goodsSpecialId: skuList[0].goodsSpecialId,
activityId: activityInfoId,
templateId: skuList[0].activityTemplateInfoId,
templateDetailId: skuList[0].activityTemplateDetailId,
vccToken: localStorage.get('vccToken') || ''
}
});
} catch (e) { } catch (e) {
console.log(e); console.log(e);
} }
this.$router.push({
path: '/groupBuy/skuInfoSmallPic',
query: {
skuNo: skuList[0].skuNo,
groupBuyGroupId: activityHundredGroupId,
goodsSpecialId: skuList[0].goodsSpecialId,
activityId: activityInfoId,
templateId: skuList[0].activityTemplateInfoId,
templateDetailId: skuList[0].activityTemplateDetailId,
vccToken: localStorage.get('vccToken') || ''
}
});
}, },
onLoad() { onLoad() {
this.$emit(EVENT_LOADING); this.$emit(EVENT_LOADING);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment