index2.html
13.7 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
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
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta content="telephone=no" name="format-detection">
<meta name="wap-font-scale" content="no">
<title></title>
<link rel="stylesheet" href="https://app.ixiulive.com/static/css/reset.css">
<link rel="stylesheet" href="../../layer-v3.1.0/layer/theme/default/layer.css">
<link rel="stylesheet" href="css/index.css?v=202006101200" />
<script type="text/javascript" src="../../lib/fsize.js"></script>
</head>
<body>
<div class="main">
<div class="mTop">
<p class="allIncome ellipsis"></p>
<div class="mTopBox">
<p class="mTopBoxTitle"></p>
<p class="mTopBoxNum ellipsis"></p>
<p class="mTopBoxUsa ellipsis"></p>
</div>
</div>
<div class="mButton">
<div class="mBtn1"></div>
<div class="mBtn2"></div>
</div>
<p class="mBotton"></p>
</div>
<!--聯繫運營進行提現彈窗-->
<div class="mask mask1 hide">
<div class="mask1Title">
<p></p>
<p>LINE:aq787</p>
</div>
<div class="mask1Btn"></div>
</div>
<!--綁定手機號彈窗--->
<div class="mask mask2 hide">
<p class="mask2Title"></p>
<div class="mask2Info">
<p></p>
<p></p>
</div>
<div class="maskBtn mask2Btn">
<span></span>
<span></span>
</div>
</div>
<!--提現申請確定彈窗-->
<div class="mask mask3 hide">
<div class="mask3Title"></div>
<div class="maskBtn mask3Btn">
<span></span>
<span></span>
</div>
</div>
<!--提現申請成功彈窗-->
<div class="mask mask4 hide">
<div class="mask4Title">
<p></p>
<p></p>
</div>
<div class="mask4Btn"></div>
</div>
</body>
<script src="../../lib/jquery-3.1.1.min.js"></script>
<script src="../../layer-v3.1.0/layer/layer.js"></script>
<script src="../../lib/langchange.js?v=202006091225"></script>
<script>
$('title').html(langList[langType].draw1)
$('.mTopBoxTitle').html('<img src="../../img/huaban.png"/>'+langList[langType].draw3);
$('.mBtn1').html(langList[langType].draw4);
$('.mBtn2').html(langList[langType].draw5);
$('.mBotton').html(langList[langType].draw6);
$('.mask1Title p').eq(0).html(langList[langType].draw7);
$('.mask1Btn').html(langList[langType].draw8);
$('.mask2Title').html(langList[langType].draw9);
$('.mask2Info p').eq(0).html(langList[langType].draw10);
$('.mask2Info p').eq(1).html(langList[langType].draw11);
$('.mask2Btn span:eq(0),.mask3Btn span:eq(0)').html(langList[langType].draw12);
$('.mask2Btn span:eq(1),.mask3Btn span:eq(1)').html(langList[langType].draw8);
$('.mask4Title p').eq(0).html(langList[langType].draw13);
$('.mask4Title p').eq(1).html(langList[langType].draw14);
$('.mask4Btn').html(langList[langType].draw15)
//var $url = "http://ceshi.yabolive.tv";
var $url = "https://www.footseen.com";
//右上角记录图标
try{
var obj2 = {
"cid": 9,
"reqCode": new Date().getTime(),
"data": {
"msg": '是否分享或帮助',
"shareType": 0,
"helpType": 0,
"drawType":1,
"iconUrl":'https://app.ixiulive.com/static/images/tximg.png',
"toUrl":$url+'/footseen/Nesting/withdraw/fireflyRmb/takeOut.html'
}
}
var obj = JSON.stringify(obj2);
appCollaboration(obj);
}
catch(err){
console.log(err)
}
var priceObj = {
1:{
name:langList[langType].draw17,
unit:'¥'
},
2:{
name:langList[langType].draw18,
unit:'$'
}
}
var flag1= true;
var flag2 = true;
var data = getRequest()
if(sessionStorage.bbb==undefined || sessionStorage.bbb=="undefined"){
sessionStorage.bbb = data.uid;
sessionStorage.lang = data.lang;
sessionStorage.kkk = data.token;
}
inituserbindway();
function inituserbindway(){
$.ajax({
url:$ip+'/withdraw/inituserbindway.html',
type:'post',
data: {
os: "WEB",
cid: "web_gw",
lang: sessionStorage.lang,
uid: sessionStorage.bbb,
token: sessionStorage.kkk
},
dataType: "JSON",
success:function(res){
if(res.code == 1){
$('.allIncome').html(langList[langType].draw2+':'+res.bonds+' >');
$('.mTopBoxNum').html(res.havebonds+'<img src="img/next.png">');
$('.mTopBoxUsa').html(priceObj[res.currency].unit+res.total);
getbindway(res);
sessionStorage.currency = res.currency;
} else {
layer.msg(res.msg);
}
}
})
}
//获取绑定设置的提现方式
function getbindway(info){
$.ajax({
url:$ip+'/withdraw/checkuserbindway.html',
type:'post',
data: {
os: "WEB",
cid: "web_gw",
lang: sessionStorage.lang,
uid: sessionStorage.bbb,
token: sessionStorage.kkk
},
dataType: "JSON",
success:function(res){
$('.mBtn1').unbind('click');
if(res.code == 1){
if(info.bindcode == 102){
$('.mBtn1').on('click',function(){
layer.msg(langList[langType].draw19)
})
} else if(info.bindcode == 4) {
//支付宝提现
$('.mBtn1').on('click',function(){
if(!flag1)return;
flag1 = false;
var html = '';
var card = info.cardaddr;
var cardNum = info.cardaddr;
var str = '';
if(sessionStorage.lang!=2){
str += '<p class="ellipsis">'+langList[langType].draw20+'<span> '+info.cashmount+' </span>'+priceObj[info.currency].name+' '+langList[langType].draw21+'</p>';
} else {
str += '<p class="ellipsis">'+langList[langType].draw20+'<span>'+info.cashmount+'</span>'+priceObj[info.currency].name+langList[langType].draw21+'</p>';
}
if(card.length>7){
for(var i=0;i<card.length-7;i++){
html+='*';
}
cardNum = card.substring(0,3)+html+card.substring(card.length-4);
}
str += '<p class="ellipsis"><span>'+langList[langType].draw22+':'+cardNum+'</span>'+langList[langType].draw23+'</p>';
$('.mask3Title').html(str);
//支付寶提現提交
$('.mask3Btn span:eq(1)').unbind('click');
$('.mask3Btn span:eq(1)').on('click',function(){
withDrad(info.cashmount);
})
layer.open({
type: 1,
title: false,
shadeClose: true,
shade: .4,
area: ['7.2rem', ''],
closeBtn: 0,
content: $('.mask3'),
end: function() {
flag1 = true;
}
})
})
} else if(info.bindcode == 2){
//银行卡提现
$('.mBtn1').on('click',function(){
if(!flag1)return;
flag1 = false;
var html = '';
var card = info.cardaddr;
var cardNum = info.cardaddr;
var str = '';
if(sessionStorage.lang!=2){
str += '<p class="ellipsis">'+langList[langType].draw20+'<span> '+info.cashmount+' </span>'+priceObj[info.currency].name+' '+langList[langType].draw21+'</p>';
} else {
str += '<p class="ellipsis">'+langList[langType].draw20+'<span>'+info.cashmount+'</span>'+priceObj[info.currency].name+langList[langType].draw21+'</p>';
}
if(info.cardaddr.length>7){
for(var i=0;i<card.length-7;i++){
html+='*';
}
cardNum = card.substring(0,4)+html+card.substring(card.length-3);
}
str += '<p class="ellipsis"><span>'+info.cardfrom+':'+cardNum+'</span>'+langList[langType].draw23+'</p>';
$('.mask3Title').html(str);
//支付寶提現提交
$('.mask3Btn span:eq(1)').unbind('click');
$('.mask3Btn span:eq(1)').on('click',function(){
withDrad(info.cashmount);
})
layer.open({
type: 1,
title: false,
shadeClose: true,
shade: .4,
area: ['7.2rem', ''],
closeBtn: 0,
content: $('.mask3'),
end: function() {
flag1 = true;
}
})
})
} else if(info.bindcode == 3){
//绑定了paypal
$('.mBtn1').on('click',function(){
var obj = {
"cid":12,
"reqCode": new Date().getTime(),
"data": {
"msg":'跳转集合功能',
"jumptype":3,
"url":$url+'/footseen/Nesting/withdraw/fireflyRmb/payPalTrue.html'+location.search,
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
})
} else if(info.bindcode == 103){
//没有绑定提现方式
$('.mBtn1').on('click',function(){
var obj = {
"cid":12,
"reqCode": new Date().getTime(),
"data": {
"msg":'跳转集合功能',
"jumptype":3,
"url":$url+'/footseen/Nesting/withdraw/drawMethod.html'+location.search,
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
})
}
} else if(res.code == -70004){
//未绑定手机号
$('.mBtn1').on('click',function(){
layer.open({
type: 1,
title: false,
shadeClose: true,
shade: .4,
area: ['7.2rem', ''],
closeBtn: 0,
content: $('.mask2'),
end: function() {
}
})
})
} else if(res.code == -70016 || res.code == -70017){
//-70016 您的提現請聯繫平台運營處理 -70017 請聯繫您的公會長處理提現事宜,如有疑問請聯繫客服
$('.mBtn1').on('click',function(){
layer.open({
type: 1,
title: false,
shadeClose: true,
shade: .4,
area: ['7.2rem', ''],
closeBtn: 0,
content: $('.mask1'),
end: function() {
}
})
})
} else if(res.code == -70009){
$('.mBtn1').on('click',function(){
if(sessionStorage.currency == 1){
layer.msg(langList[langType].draw62);
} else if(sessionStorage.currency == 2){
layer.msg(langList[langType].draw63);
}
})
} else {
$('.mBtn1').on('click',function(){
layer.msg(res.msg);
})
}
}
})
}
//关闭弹窗
$('.mask1Btn,.mask2Btn span:eq(0),.mask5Btn,.mask3Btn span:eq(0),.mask4Btn').on('click',function(){
layer.closeAll();
})
//跳转到绑定手机页面
$('.mask2Btn span:eq(1)').on('click',function(){
var obj2 = {
"cid": 7,
"reqCode": new Date().getTime(),
"data": {
msg: '点击跳转绑定手机页面',
}
}
var obj = JSON.stringify(obj2);
appCollaboration(obj);
})
//打开兑换宝石页面
$('.mBtn2').on('click',function(){
var obj2 = {
"cid": 6,
"reqCode": new Date().getTime(),
"data":{
"msg":'打开兑换櫻花'
}
}
var obj = JSON.stringify(obj2);
appCollaboration(obj);
})
function appCollaboration(msg) {
var sUserAgent = navigator.userAgent.toLowerCase();
var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";
var bIsMidp = sUserAgent.match(/midp/i) == "midp";
var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb";
var bIsAndroid = sUserAgent.match(/android/i) == "android";
var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";
if (!(bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM)) {
}
else if (bIsAndroid) {
window.yazhai.appCollaboration(msg);
} else if (bIsIphoneOs || bIsIpad) {
window.webkit.messageHandlers.appCollaboration.postMessage(msg);
}
}
//確定提現
function withDrad(amount){
if(!flag2)return;
flag2 = false;
layer.closeAll();
$.ajax({
url:$ip+'/withdraw/applyE.html',
type:'post',
data: {
os: "WEB",
cid: "web_gw",
lang: sessionStorage.lang,
uid: sessionStorage.bbb,
token: sessionStorage.kkk,
amount:amount,
},
dataType: "JSON",
success:function(res){
if(res.code == 1){
flag2 = true;
layer.open({
type: 1,
title: false,
shadeClose: true,
shade: .4,
area: ['7.2rem', ''],
closeBtn: 0,
content: $('.mask4'),
end: function() {
flag2 = true;
inituserbindway();
}
})
} else {
layer.msg(res.msg);
flag2 = true;
}
}
})
}
//前往累计萤火页面
$('.allIncome').on('click',function(){
var obj = {
"cid":12,
"reqCode": new Date().getTime(),
"data": {
"msg":'跳转集合功能',
"jumptype":3,
"url":$url+'/footseen/Nesting/fireflyRmb/index.html'+location.search,
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
})
//前往可提现萤火页面
$('.mTopBoxNum').on('click',function(){
var obj = {
"cid":12,
"reqCode": new Date().getTime(),
"data": {
"msg":'跳转集合功能',
"jumptype":3,
"url":$url+'/footseen/Nesting/fireflyRmb/canFireFly.html'+location.search,
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2)
})
</script>
</html>