-
Notifications
You must be signed in to change notification settings - Fork 0
/
industry.html
393 lines (393 loc) · 15.3 KB
/
industry.html
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="applicable-device" content="mobile" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
<meta content="telephone=no" name="format-detection" />
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<title>TalkingData Industry</title>
<link rel="stylesheet" href="css/public_head.css" />
<link rel="stylesheet" href="css/public_body.css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/phone.js"></script>
<script type="text/javascript" src="js/TalkingDataSDK.js"></script>
<script type="text/javascript" src="js/TalkingDataSearch.js"></script>
<script type="text/javascript" src="js/TalkingDataShoppingCart.js"></script>
<script type="text/javascript" src="js/TalkingDataOrder.js"></script>
<script type="text/javascript" src="js/TalkingDataTransaction.js"></script>
</head>
<body>
<div class="head_line">
<p class="head_line_p">
TalkingDataSDK
</p>
</div>
<div class="new_index">
<div class="wd_title">
<img src="images/industry.png">电商零售
</div>
<div class="wd_index">
<div class="btn_line">
<input id="btn_retail_search" type="button" class="bottom_btn" value="搜索">
</div>
<div class="btn_line">
<input id="btn_retail_contact" type="button" class="bottom_btn" value="联系">
</div>
<div class="btn_line">
<input id="btn_retail_chargeBack" type="button" class="bottom_btn" value="退单">
</div>
<div class="btn_line">
<input id="btn_retail_booking" type="button" class="bottom_btn" value="预订">
</div>
<div class="btn_line">
<input id="btn_retail_viewItem" type="button" class="bottom_btn" value="查看商品">
</div>
<div class="btn_line">
<input id="btn_retail_addItemToShoppingCart" type="button" class="bottom_btn" value="添加到购物车">
</div>
<div class="btn_line">
<input id="btn_retail_viewShoppingCart" type="button" class="bottom_btn" value="查看购物车">
</div>
<div class="btn_line">
<input id="btn_retail_placeOrder" type="button" class="bottom_btn" value="下订单">
</div>
<div class="btn_line">
<input id="btn_retail_orderPay" type="button" class="bottom_btn" value="支付订单">
</div>
<div class="btn_line">
<input id="btn_retail_cancelOrder" type="button" class="bottom_btn" value="取消订单">
</div>
<div class="btn_line">
<input id="btn_retail_trialFinished" type="button" class="bottom_btn" value="完成试用体验">
</div>
</div>
</div>
<div class="new_index">
<div class="wd_title">
<img src="images/industry.png">游戏娱乐
</div>
<div class="wd_index">
<div class="btn_line">
<input id="btn_game_pay" type="button" class="bottom_btn" value="付费">
</div>
<div class="btn_line">
<input id="btn_game_createRole" type="button" class="bottom_btn" value="创建角色">
</div>
<div class="btn_line">
<input id="btn_game_levelPass" type="button" class="bottom_btn" value="通过关卡">
</div>
<div class="btn_line">
<input id="btn_game_guideFinished" type="button" class="bottom_btn" value="完成新手教程">
</div>
<div class="btn_line">
<input id="btn_game_achievementUnlock" type="button" class="bottom_btn" value="解锁成就">
</div>
</div>
</div>
<div class="new_index">
<div class="wd_title">
<img src="images/industry.png">金融借贷
</div>
<div class="wd_index">
<div class="btn_line">
<input id="btn_finance_contact" type="button" class="bottom_btn" value="联系">
</div>
<div class="btn_line">
<input id="btn_finance_chargeBack" type="button" class="bottom_btn" value="退单">
</div>
<div class="btn_line">
<input id="btn_finance_reservation" type="button" class="bottom_btn" value="预约">
</div>
<div class="btn_line">
<input id="btn_finance_credit" type="button" class="bottom_btn" value="授信">
</div>
<div class="btn_line">
<input id="btn_finance_transaction" type="button" class="bottom_btn" value="交易">
</div>
<div class="btn_line">
<input id="btn_finance_browse" type="button" class="bottom_btn" value="浏览详情">
</div>
<div class="btn_line">
<input id="btn_finance_trialFinished" type="button" class="bottom_btn" value="完成试用体验">
</div>
</div>
</div>
<div class="new_index">
<div class="wd_title">
<img src="images/industry.png">旅游出行
</div>
<div class="wd_index">
<div class="btn_line">
<input id="btn_tour_search" type="button" class="bottom_btn" value="搜索">
</div>
<div class="btn_line">
<input id="btn_tour_contact" type="button" class="bottom_btn" value="联系">
</div>
<div class="btn_line">
<input id="btn_tour_pay" type="button" class="bottom_btn" value="付费">
</div>
<div class="btn_line">
<input id="btn_tour_chargeBack" type="button" class="bottom_btn" value="退单">
</div>
<div class="btn_line">
<input id="btn_tour_booking" type="button" class="bottom_btn" value="预订">
</div>
<div class="btn_line">
<input id="btn_tour_browse" type="button" class="bottom_btn" value="浏览详情">
</div>
<div class="btn_line">
<input id="btn_tour_trialFinished" type="button" class="bottom_btn" value="完成试用体验">
</div>
</div>
</div>
<div class="new_index">
<div class="wd_title">
<img src="images/industry.png">在线教育
</div>
<div class="wd_index">
<div class="btn_line">
<input id="btn_edu_contact" type="button" class="bottom_btn" value="联系">
</div>
<div class="btn_line">
<input id="btn_edu_pay" type="button" class="bottom_btn" value="付费">
</div>
<div class="btn_line">
<input id="btn_edu_chargeBack" type="button" class="bottom_btn" value="退单">
</div>
<div class="btn_line">
<input id="btn_edu_reservation" type="button" class="bottom_btn" value="预约">
</div>
<div class="btn_line">
<input id="btn_edu_learn" type="button" class="bottom_btn" value="课程学习">
</div>
<div class="btn_line">
<input id="btn_edu_previewFinished" type="button" class="bottom_btn" value="完成课程试听">
</div>
<div class="btn_line">
<input id="btn_edu_achievementUnlock" type="button" class="bottom_btn" value="解锁成就">
</div>
</div>
</div>
<div class="new_index">
<div class="wd_title">
<img src="images/industry.png">小说阅读
</div>
<div class="wd_index">
<div class="btn_line">
<input id="btn_reading_pay" type="button" class="bottom_btn" value="付费">
</div>
<div class="btn_line">
<input id="btn_reading_read" type="button" class="bottom_btn" value="文章阅读">
</div>
<div class="btn_line">
<input id="btn_reading_freeFinished" type="button" class="bottom_btn" value="完成免费阅读">
</div>
</div>
</div>
<div class="new_index">
<div class="wd_title">
<img src="images/industry.png">其他行业
</div>
<div class="wd_index">
<div class="btn_line">
<input id="btn_other_pay" type="button" class="bottom_btn" value="付费">
</div>
<div class="btn_line">
<input id="btn_other_browse" type="button" class="bottom_btn" value="浏览详情">
</div>
<div class="btn_line">
<input id="btn_other_trialFinished" type="button" class="bottom_btn" value="完成试用体验">
</div>
</div>
</div>
<div class="new_index">
<div class="wd_title">
</div>
<div class="btn_line">
<input id="btn_back" type="button" class="bottom_btn" value="返回">
</div>
</div>
<script src="cordova.js"></script>
<script>
$('#btn_retail_search').on('click', function(){
var search = TalkingDataSearch.createSearch();
search.setCategory("服装类");
search.setContent("2021新款");
search.setItemId("123456");
search.setItemLocationId("456789");
TalkingDataSDK.onSearch(search);
});
$('#btn_retail_contact').on('click', function(){
TalkingDataSDK.onContact("user01", "联系店铺");
});
$('#btn_retail_chargeBack').on('click', function(){
TalkingDataSDK.onChargeBack("user01", "order01", "缺货", "仅退款");
});
$('#btn_retail_booking').on('click', function(){
TalkingDataSDK.onBooking("user01", "booking01", "服装类", 1000, "2021新款");
});
$('#btn_retail_viewItem').on('click', function(){
var eventValue = {
key : "value"
};
TalkingDataSDK.onViewItem("item01", "手机", "华为 P50", 748800, eventValue);
});
$('#btn_retail_addItemToShoppingCart').on('click', function(){
var eventValue = {
key : "value"
};
TalkingDataSDK.onAddItemToShoppingCart("item02", "电脑", "MacBook Pro", 1899900, 1, eventValue);
});
$('#btn_retail_viewShoppingCart').on('click', function(){
var shoppingCart = TalkingDataShoppingCart.createShoppingCart();
shoppingCart.addItem("item01", "手机", "华为 P50", 748800, 2);
shoppingCart.addItem("item02", "电脑", "MacBook Pro", 1899900, 1);
TalkingDataSDK.onViewShoppingCart(shoppingCart);
});
$('#btn_retail_placeOrder').on('click', function(){
var order = TalkingDataOrder.createOrder("order01", 3397500, "CNY");
order.addItem("item01", "手机", "华为 P50", 748800, 2);
order.addItem("item02", "电脑", "MacBook Pro", 1899900, 1);
var eventValue = {
key : "value"
};
TalkingDataSDK.onPlaceOrder(order, "user01", eventValue);
});
$('#btn_retail_orderPay').on('click', function(){
var order = TalkingDataOrder.createOrder("order01", 3397500, "CNY");
order.addItem("item01", "手机", "华为 P50", 748800, 2);
order.addItem("item02", "电脑", "MacBook Pro", 1899900, 1);
TalkingDataSDK.onOrderPaySucc(order, "WeChat", "user01");
});
$('#btn_retail_cancelOrder').on('click', function(){
var order = TalkingDataOrder.createOrder("order01", 3397500, "CNY");
order.addItem("item01", "手机", "华为 P50", 748800, 2);
order.addItem("item02", "电脑", "MacBook Pro", 1899900, 1);
TalkingDataSDK.onCancelOrder(order);
});
$('#btn_retail_trialFinished').on('click', function(){
TalkingDataSDK.onTrialFinished("user01", "试用体验结束");
});
$('#btn_game_pay').on('click', function(){
TalkingDataSDK.onPay("user01", "order02", 1077600, "CNY", "Alipay", null, 0);
});
$('#btn_game_createRole').on('click', function(){
TalkingDataSDK.onCreateRole("role01");
});
$('#btn_game_levelPass').on('click', function(){
TalkingDataSDK.onLevelPass("user01", "99");
});
$('#btn_game_guideFinished').on('click', function(){
TalkingDataSDK.onGuideFinished("user01", "新手教程");
});
$('#btn_game_achievementUnlock').on('click', function(){
TalkingDataSDK.onAchievementUnlock("user01", "achievement01");
});
$('#btn_finance_contact').on('click', function(){
TalkingDataSDK.onContact("user01", "理财咨询");
});
$('#btn_finance_chargeBack').on('click', function(){
TalkingDataSDK.onChargeBack("user01", "order03", "更换产品", "犹豫期退单");
});
$('#btn_finance_reservation').on('click', function(){
TalkingDataSDK.onReservation("user01", "reservation01", "货币基金", 1000000, "202118期");
});
$('#btn_finance_credit').on('click', function(){
TalkingDataSDK.onCredit("user01", 100000, "酒店");
});
$('#btn_finance_transaction').on('click', function(){
var transaction = TalkingDataTransaction.createTransaction();
transaction.setTransactionId("transaction01");
transaction.setCategory("定期存款");
transaction.setAmount(1000000);
transaction.setPersonA("甲方");
transaction.setPersonB("乙方");
transaction.setStartDate(1631234567890);
transaction.setEndDate(1631234567890);
transaction.setCurrencyType("CNY");
transaction.setContent("一年期");
TalkingDataSDK.onTransaction("user01", transaction);
});
$('#btn_finance_browse').on('click', function(){
TalkingDataSDK.onBrowse("user01", "详情页", 1631234567890, 1000);
});
$('#btn_finance_trialFinished').on('click', function(){
TalkingDataSDK.onTrialFinished("user01", "体验金");
});
$('#btn_tour_search').on('click', function(){
var search = TalkingDataSearch.createSearch();
search.setCategory("景点");
search.setContent("游乐园");
search.setDestination("上海");
search.setOrigin("北京");
search.setStartDate(1631234567890);
search.setEndDate(1631234567890);
TalkingDataSDK.onSearch(search);
});
$('#btn_tour_contact').on('click', function(){
TalkingDataSDK.onContact("user01", "联系店家");
});
$('#btn_tour_pay').on('click', function(){
TalkingDataSDK.onPay("user01", "order04", 89900, "CNY", "ApplePay", null, 0);
});
$('#btn_tour_chargeBack').on('click', function(){
TalkingDataSDK.onChargeBack("user01", "order04", "航班取消", "退款");
});
$('#btn_tour_booking').on('click', function(){
TalkingDataSDK.onBooking("user01", "booking02", "酒店", 1000, "标准间");
});
$('#btn_tour_browse').on('click', function(){
TalkingDataSDK.onBrowse("user01", "景点介绍", 1631234567890, 110);
});
$('#btn_tour_trialFinished').on('click', function(){
TalkingDataSDK.onTrialFinished("user01", "新户体验");
});
$('#btn_edu_contact').on('click', function(){
TalkingDataSDK.onContact("user01", "联系老师");
});
$('#btn_edu_pay').on('click', function(){
TalkingDataSDK.onPay("user01", "order05", 366600, "CNY", "UnionPay", null, 0);
});
$('#btn_edu_chargeBack').on('click', function(){
TalkingDataSDK.onChargeBack("user01", "order05", "客户原因", "退余款");
});
$('#btn_edu_reservation').on('click', function(){
TalkingDataSDK.onReservation("user01", "reservation02", "成人教育", 150000, "10课时");
});
$('#btn_edu_learn').on('click', function(){
TalkingDataSDK.onLearn("user01", "计算机基础第一课", 1631234567890, 3600);
});
$('#btn_edu_previewFinished').on('click', function(){
TalkingDataSDK.onPreviewFinished("user01", "课程试听");
});
$('#btn_edu_achievementUnlock').on('click', function(){
TalkingDataSDK.onAchievementUnlock("user01", "achievement02");
});
$('#btn_reading_pay').on('click', function(){
TalkingDataSDK.onPay("user01", "order06", 100, "CNY", "WeChat", null, 0);
});
$('#btn_reading_read').on('click', function(){
TalkingDataSDK.onRead("user01", "西游记第一章", 1631234567890, 1230);
});
$('#btn_reading_freeFinished').on('click', function(){
TalkingDataSDK.onFreeFinished("user01", "第一章");
});
$('#btn_other_pay').on('click', function(){
TalkingDataSDK.onPay("user01", "order07", 10000, "CNY", "Alipay", null, 0);
});
$('#btn_other_browse').on('click', function(){
TalkingDataSDK.onBrowse("user01", "详情页", 1631234567890, 110);
});
$('#btn_other_trialFinished').on('click', function(){
TalkingDataSDK.onTrialFinished("user01", "试用体验");
});
$('#btn_back').on("click", function(){
window.history.back();
});
</script>
</body>
</html>