Authored by 郭成尧

point-push

... ... @@ -245,6 +245,19 @@ orderHammer.on('tap', function(e) {
} else if ($cur.closest('.refund').length > 0) {
// 申请退款
$refundReaMask.css('visibility', 'visible');
/**
* 埋点
*/
if (window._yas && window._yas.sendCustomInfo) {
window._yas.sendCustomInfo({
op: 'YB_ORDER_REFUND_C',
param: JSON.stringify({
C_ID: window._ChannelVary[window.cookie('_Channel')],
ORD_NUM: id
})
}, true);
}
} else if ($cur.closest('.order-goods').length > 0) {
// Location to order detail
... ...
... ... @@ -120,6 +120,19 @@ optHammer.on('tap', function(e) {
$reaMask.css('visibility', 'visible');
} else if ($cur.hasClass('btn-refund')) {
$refundReaMask.css('visibility', 'visible');
/**
* 埋点
*/
if (window._yas && window._yas.sendCustomInfo) {
window._yas.sendCustomInfo({
op: 'YB_ORDER_REFUND_C',
param: JSON.stringify({
C_ID: window._ChannelVary[window.cookie('_Channel')],
ORD_NUM: orderId
})
}, true);
}
} else if ($cur.hasClass('btn-rebuy')) {
$.ajax({
type: 'GET',
... ... @@ -141,6 +154,19 @@ optHammer.on('tap', function(e) {
if ($ownerInfo.data('changeable') === true) {
$ownerInfo.find('.rest').show();
$ownerInfo.on('touchend', function() {
/**
* 埋点
*/
if (window._yas && window._yas.sendCustomInfo) {
window._yas.sendCustomInfo({
op: 'YB_ORDER_MODIFY_ADDRESS_C',
param: JSON.stringify({
C_ID: window._ChannelVary[window.cookie('_Channel')],
ORD_NUM: orderId
})
}, true);
}
location.href = $ownerInfo.data('url');
});
}
... ...