pay-center.hbs
2.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<div class="pay-page yoho-page">
{{#if orderCode}}
<input id='ordercode' type="hidden" value="{{orderCode}}">
<input id="ordertype" type="hidden" value="{{orderType}}">
{{/if}}
<div class="payapp-list">
{{# payAppInfo}}
<div class="box{{# disable}} disable{{/ disable}}" id="{{appId}}" data-href="{{payLink}}">
<div class="icon">
{{#if appIcon}}
<img src="{{appIcon}}" alt="app图标">
{{else}}
<div></div>
{{/if}}
</div>
<div class="app">{{app}}</div>
<div class="hint">
{{hint}}
{{#if subHint}}
<br>
{{subHint}}
{{/if}}
</div>
<div class="iconfont"></div>
</div>
{{/ payAppInfo}}
</div>
<div class="loading-toast hide"></div>
</div>
{{> rich_tip}}
<input type="hidden" class="order-code" value="{{orderCode}}">
<input type="hidden" class="order-total" value="{{orderTotal}}">
<script>_ozprm="orderid={{orderCode}}&ordertotal={{orderTotal}}";</script>
<script type="text/javascript" src ="//static.yohobuy.com/m/v1/js/AG_Tracking.js"></script>
<script type="text/javascript">
var _agq = _agq || [];
_agq.push(['_cid', '415']); //生成value
_agq.push(['_eid', '102']); //生成value
_agq.push(['_orderSum',"{{orderTotal}}"]);//订单金额,客户在页面填写
_agq.push(['_orderNo',"{{orderCode}}"]);//订单号,客户在页面填写
_agq.push(['_orderNew',"{{isOldUser}}"]);//是否新客单,客户标记是为true否为false
_agq.push(['_orderCount',"{{orderCount}}"]);//订单货品数目,客户填写
ag_send(_agq);
var __order_code = "{{orderCode}}";
var __order_amount = "{{orderTotal}}";
var __order_user = "{{isOldUser}}";
var __order_goods_num = "{{orderCount}}";
var __order_uid = "{{uid}}";
var _fxcmd=_fxcmd||[];
_fxcmd.push(['trackOrder', {
oid: "{{orderCode}}",
otp : "{{orderTotalFormat}}",
unid : "{{uid}}"
}]);
</script>