Authored by 周少峰

add point

@@ -56,6 +56,6 @@ @@ -56,6 +56,6 @@
56 {{/if}} 56 {{/if}}
57 {{/ payNotice}} 57 {{/ payNotice}}
58 </div> 58 </div>
59 -{{> pay/point}}  
60 {{> pay/pay-analysis}} 59 {{> pay/pay-analysis}}
61 -{{> layout/footer}}  
  60 +{{> layout/footer}}
  61 +{{> pay/point}}
@@ -35,5 +35,5 @@ @@ -35,5 +35,5 @@
35 </div> 35 </div>
36 {{/ payData}} 36 {{/ payData}}
37 </div> 37 </div>
  38 +{{> layout/footer}}
38 {{> pay/point}} 39 {{> pay/point}}
39 -{{> layout/footer}}  
1 {{# point}} 1 {{# point}}
2 <script type="text/javascript"> 2 <script type="text/javascript">
3 -// 埋点  
4 -window.addPoint('YB_SC_PAYMENT_TOPAY_CLICK', {ORDER_CODE: {{orderCode}}, PAY_RES: {{result}}, ORDER_AMOUNT: {{amount}}, PAY_STYLE: {{payWayId}}, PRD_SKN: {{proSkn}}, PRD_SKU: {{proSku}}}); 3 + window.onload = function () {
  4 + // 埋点
  5 + window.addPoint('YB_SC_PAYMENT_TOPAY_CLICK', {ORDER_CODE: "{{orderCode}}", PAY_RES: "{{result}}", ORDER_AMOUNT: "{{amount}}", PAY_STYLE: "{{payWayId}}", PRD_SKN: "{{proSkn}}", PRD_SKU: "{{proSku}}"});
  6 + }
5 </script> 7 </script>
6 -{{/point}}  
  8 +{{/ point}}