...
|
...
|
@@ -17,8 +17,9 @@ var $ = require('yoho.jquery'), |
|
|
activeTab,
|
|
|
imgAlt,
|
|
|
imgSrc,
|
|
|
orderCode,
|
|
|
payment;
|
|
|
payment,
|
|
|
orderCode = $('.order-num').text(),
|
|
|
orderCount = $('.order-num').siblings('strong').text();
|
|
|
|
|
|
$.jqtab = function(tabtit, tabcon) {
|
|
|
|
...
|
...
|
@@ -91,6 +92,10 @@ $('#btnby').click(function() { |
|
|
payment = $('.choose-type').attr('data-id');
|
|
|
orderCode = $('.order-num').text();
|
|
|
getData(payment, orderCode);
|
|
|
|
|
|
// 埋点
|
|
|
window.addPoint('YB_SC_PAYMENT_TOPAY_CLICK', {ORDER_CODE: orderCode, ORDER_AMOUNT: orderCount, PAY_STYLE: payment});
|
|
|
|
|
|
window.open($payUrl + '?order_code=' + orderCode + '&payment_type=' + $showValue);
|
|
|
$lightBox.show();
|
|
|
});
|
...
|
...
|
@@ -108,4 +113,7 @@ $('.pay-over').unbind('click').bind('click', function() { |
|
|
window.location.href = $(_this).data('url');
|
|
|
}
|
|
|
);
|
|
|
}); |
|
|
\ No newline at end of file |
|
|
});
|
|
|
|
|
|
// 默认埋点
|
|
|
window.addPoint('YB_SC_PAYMENT', {ORDER_CODE: orderCode, ORDER_AMOUNT: orderCount}); |
|
|
\ No newline at end of file |
...
|
...
|
|