wechatPhone.html
34.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<script type="text/javascript" charset="UTF-8" src="https://web.cdn.openinstall.io/openinstall.js"></script>
<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="shortcut icon" type="image/x-icon" href="../images/icon.jpg?v='20180427'" />
<link rel="stylesheet" type="text/css" href="css/newpccss/base.css" />
<link rel="stylesheet" type="text/css" href="css/newpccss/phone.css?v=202008032114" />
<link rel="stylesheet" href="layer-v3.1.0/layer.css">
</style>
<script type="text/javascript" src="js/newpcjs/fsize.js"></script>
</head>
<body>
<div class="main">
<!--首頁顯示-->
<div class="mHome">
<span class="mHomeLang"></span>
<div class="langList hide">
<div class="langBox">
<p data-lang="2" data-type="0">繁體中文</p>
<p data-lang="1" data-type="1">English</p>
<p data-lang="7" data-type="2">العربية</p>
</div>
</div>
<span class="mHomeTop"><img src="pcimg/phone/gem.png"/>儲值</span>
<div class="mHomeDown">Download App</div>
<p class="mHomeText">A Live Streaming APP for dating</p>
<img src="pcimg/phone/btext.png" class="mHomeImg" />
</div>
<div class="mCon">
<div class="mConCant">
<img class="mConLogo" src="pcimg/phone/logo.png" />
<img class="mConKeep" src="pcimg/phone/keep.png"/>
</div>
<img class="return hide" src="pcimg/phone/return.png"/>
<!--关于我们-->
<div class="mBox mBox1 hide">
<p class="mBoxTitle"></p>
<div class="mText mText1">
<p>A few years ago, a group of young boys who loved to chat with beautiful women came together to form the Yazhai Group. Yes, the FIREFLY LIVE you see just comes from this team. After products development, they created the entertainment community of FIREFLY, which is a big live broadcast platform. FIREFLY LIVE appears in Taiwan, appears in Malaysia, also appears in India.It expect favor of you. Come to this live broadcast community, we can make friends of beautiful women and handsome guys, we can group, experience freedom and shine.</p>
<p>Today, Yazhai Group finally has nearly 100 entrepreneurial followers, and luckily have big support by two heavyweight investors. Here are a group of interesting young people with continuous passion and continuous sunshine .We want to bring the passion and sunshine to the world .Especially ,together with you.</p>
</div>
<div class="mText mText2">
<p>数年前,一群非常热爱与美女聊天的青年男孩聚到一起,组成了Yazhai Group。是啊,您现在看到的FIREFLY LIVE 出自于这个团队。他们经过开发产品,打造了FIREFLY这个直播平台的娱乐社区。FIREFLY LIVE它出现在台湾,它出现在马来西亚,它出现在印度,它也希望受到你的欢迎。来这个直播社区,我们认识美女和帅哥们,我们组团交友,体会自由,绽放光彩。 如今,Yazhai Group终于有了近百名的创业跟随者,幸运的迎来两位重量级的投资人支持,这里都是一群有趣的年轻人。持续激情,持续阳光,让我们一起谱写保持自己持续发出光亮的人生。对,和你一起。</p>
</div>
<div class="mText mText3">
<p></p>
</div>
</div>
<!--主播合作-->
<div class="mBox mBox2 hide"></div>
<!--商務合作-->
<div class="mBox mBox3 hide">
<div class="mBox3Con">
<div>
<img class="mBox3Img" src=""/>
</div>
<span></span>
</div>
</div>
<!--用戶協議-->
<div class="mBox mBox4 hide">
<div class="mBoxTitle">User Agreement</div>
<p class="mBox4Desc">1. Special Notices</p>
<p>This FIREFLY LIVE User Agreement (this “Agreement”) governs your usage of our services, (hereinafter, “Services”) including FIREFLY LIVE App, a video streaming application and social network developed by us. You are one party and the other party is Hong Kong Yabo Interactive Technology Co.,Ltd. or one of its affiliates (“we” or “FIREFLY LIVE”), a company with its registered address at RM 1005, 10/F HO KING COMM CTR, 2-16 FA YUEN ST MONGKOK, KL, HK. For the purposes of this Agreement, you and FIREFLY LIVE will be jointly referred to as the “Parties” and respectively as a “Party”.</p>
<p>When using the Services, you will be subject to FIREFLY LIVE’s Privacy Policy, FIREFLY LIVE’s Community Conventions, Broadcaster Agreement and you be subject to additional guidelines or rules that are posted on the Services or made available to you, or applicable to specific services and features that are disclosed to you in connection with such services. We may also offer certain paid services, which are subject to any additional terms or conditions that are disclosed to you in connection with such services.</p>
<p>By using our Services, or by clicking on "Sign Up" during the registration process, you agree to all terms of this Agreement. We, at our sole discretion, may revise this Agreement from time to time, and the current version will be found at the following link: About us>User Agreement. By continuing to avail our Services, you agree to be bound by the revised Agreement.</p>
<p>You may only use our Service if you are 18 years or older, and if you are not subject to statutory age limit to enter into this Agreement according to the applicable laws and regulations in your country. If you are below the aforementioned minimum age, you may only use FIREFLY LIVE if your guardian has provided us with valid consent for you to use FIREFLY LIVE. You may not falsely claim you have reached the minimum age.</p>
<p>You shall be solely responsible for the safekeeping of your FIREFLY LIVE account and password. All behaviors and activities conducted through your FIREFLY LIVE account will be deemed as your behaviors and activities for which you shall be solely responsible.</p>
<p>We do not accept payments or do business with individuals or entities in Cuba, Iran, North Korea, Sudan, Syria, and the Crimean region. If you are from such regions, you may be prohibited from using the Services.</p>
<p class="mBox4Desc">2. Services Content</p>
<p>Our mission is to give people the power to build community, connect the world and share their beautiful moments. To help advance this mission with a vision to be a content platform inspiring one billion people's lives, we provide the services described below to you:</p>
<p>i. User Generated Content.</p>
<p>FIREFLY LIVE allows users to distribute streaming live, use services, such as chat, bulletin boards, forum postings, voice interactive services, and to participate in other activities in which you may create, post, transmit, perform, or store content, messages, text, sound, images, applications, code or other data or materials on the Services (“User Content”). Users of the Services may also overlay music, graphics, stickers, virtual items and other features provided by FIREFLY LIVE (“FIREFLY LIVE Features”) onto this User Content and transmit this User Content through the Services. The views expressed by other users on the Services (including through use of the virtual gifts) do not represent our views or values.</p>
<p>ii. Help you discover content, products, and services that may interest you.</p>
<p>We show you ads, offers, and other sponsored content to help you discover content, products, and services that are offered by the many businesses and organizations that use FIREFLY LIVE.</p>
<p>iii. Combat harmful conduct and protect and support our community.</p>
<p>We employ dedicated teams around the world and develop advanced technical systems to detect misuse of our Services, harmful conduct towards others, and situations where we may be able to help support or protect our community. If we learn of content or conduct like this, we will take appropriate action - for example, offering help, removing content, removing or restricting access to certain features, disabling an account, or contacting law enforcement.</p>
<p>iv. Global access to our Services</p>
<p>To operate our global service, we need to store and distribute content and data in our data centers and systems around the world, including outside your country of residence. This infrastructure may be operated or controlled by Hong Kong Yabo Interactive Technology Co.,Ltd. and its affiliates.</p>
<p class="mBox4Desc">3. Account</p>
<p>In order to open an account, you will be asked to provide us with certain information such as an account name and password.</p>
<p>You are solely responsible for maintaining the confidentiality of your account and password, for restricting access to your computer, and for all activities that occur under your account or password. Please make sure the information you provide to FIREFLY LIVE upon registration and at all other times is true, accurate, current, and complete to the best of your knowledge.</p>
<p>We may permit you to register for and log on to the Services via certain third party services. The third party’s collection, use and disclosure of your information will be subject to that third party service’s privacy policy. Further information about how FIREFLY LIVE collects, uses and discloses your personal information when you link your FIREFLY LIVE account and with your account on any third party service can be found in our Privacy Policy.</p>
<p>We reserve the right to disable your user account at any time, including if you have failed to comply with any of the provisions of these terms, or if activities occur on your account which, in our sole discretion, would or might cause damage to or impair the Services or infringe or violate any third party rights, or violate any applicable laws or regulations.</p>
<p>If you no longer want to use our Services again, and would like your account deleted, we can take care of this for you. Please contact us via basi@yazhai.co, and we will provide you with further assistance and guide you through the process. Once you choose to delete your account, you will not be able to reactivate your account or retrieve any of the content or information you have added.</p>
<p class="mBox4Desc">4. Privacy</p>
<p>Your privacy is important to FIREFLY LIVE. Please see our Privacy Policy for information relating to how we collect, use, and disclose your personal information, and how you can manage your online privacy when you use the Services.</p>
<p class="mBox4Desc">5. Use of the Services</p>
<p>Your access to and use of the Services is subject to these terms and all applicable laws and regulations. You agree that you will comply with these terms of Services and FIREFLY LIVE’s Community Guidelines and will not:</p>
<p>i. create, upload, transmit, distribute, or store any content that is inaccurate, unlawful, infringing, defamatory, obscene, pornographic, invasive of privacy or publicity rights, harassing, threatening, abusive, inflammatory, or otherwise objectionable;</p>
<p>ii. impersonate any person or entity, falsely claim an affiliation with any person or entity, or access FIREFLY LIVE accounts of others without permission, forge another person’s identity, or content of information transmitted via the Services, or perform any other similar fraudulent activity;</p>
<p>iii. defame, harass, abuse, threaten or defraud users of FIREFLY LIVE, or collect, or attempt to collect, personal information about users or third parties without their consent;</p>
<p>iv. remove, circumvent, disable, damage or otherwise interfere with security-related features of the the Services or User Content, features that prevent or restrict use or copying of any content accessible through the Services, features that enforce limitations on the use of the Services or User Content, or delete the copyright or other proprietary rights notices on the Services or User Content;</p>
<p>v. reverse engineer, decompile, disassemble or otherwise attempt to discover the source code of the Services or any part thereof, except and only to the extent that this activity is expressly permitted by the law of your jurisdiction of residence;</p>
<p>vi. modify, adapt, translate or create derivative works based upon the Services or any part thereof, except and only to the extent that such activity is expressly permitted by applicable law notwithstanding this limitation;</p>
<p>vii. nterfere with or damage operation of the Services or any user’s enjoyment of them, by any means, including uploading or otherwise disseminating viruses, adware, spyware, worms, or other malicious code;</p>
<p>viii. manipulate identifiers in order to disguise the origin of any User Content transmitted through the Twitch Services;</p>
<p>ix. interfere with or disrupt the Services or servers or networks connected to the Services, or disobey any requirements, procedures, policies or regulations of networks connected to the Services; use the Services in any manner that could interfere with, disrupt, negatively affect or inhibit other users from fully enjoying the Services, or that could damage, disable, overburden or impair the functioning of the Services in any manner;</p>
<p>x. attempt to circumvent any content filtering techniques we employ, or attempt to access any service or area of the Services that you are not authorized to access;</p>
<p>xi. use the Services for any illegal purpose, or in violation of any local, state, national, or international law or regulation, including, without limitation, laws governing intellectual property and other proprietary rights, data protection and privacy.</p>
<p>FIREFLY LIVE takes no responsibility and assumes no liability for any User Content or for any loss or damage resulting therefrom, nor is FIREFLY LIVE liable for any mistakes, defamation, slander, libel, omissions, falsehoods, obscenity, pornography or profanity you may encounter when using the Services. Your use of the Services is at your own risk. In addition, these rules do not create any private right of action on the part of any third party or any reasonable expectation that the Services will not contain any content that is prohibited by such rules.</p>
<p>FIREFLY LIVE is not liable for any statements or representations included in User Content. FIREFLY LIVE does not endorse any User Content, opinion, recommendation, or advice expressed therein, and FIREFLY LIVE expressly disclaims any and all liability in connection with User Content. To the fullest extent permitted by applicable law, FIREFLY LIVE reserves the right to remove, screen or edit any User Content posted or stored on the Services at any time and without notice, including where such User Content violates these terms of Use of the Services or applicable law, and you are solely responsible for creating backup copies of and replacing any User Content you post or store on the Services at your sole cost and expense. Any use of the Services in violation of the foregoing violates these terms of Use of the Services and may result in, among other things, termination or suspension of your rights to use the Services.</p>
<p class="mBox4Desc">6. Virtual Items</p>
<p>You can only buy virtual gems (“GEMs”) and virtual gifts (Gifits), send Gifts to others, receive Gifts with monetary value, earn virtual FIREs (“FIREs”) and withdraw FIREs if you are aged 18 (or age of majority in your jurisdiction) or older.</p>
<p>The price of the GEMs will be displayed at the point of purchase. All charges and payments for GEMs will be made in the currency specified at the point of purchase through the relevant payment mechanism. Currency exchange settlements, foreign transaction fees and payment channel fees, if any, are based on your agreement with the applicable payment provider.</p>
<p>You will be responsible for the payment of any GEMs purchased by you. Once your purchase has been completed, your user account will be credited with GEMs. GEMs can be used to purchase Gifts. GEMs cannot be exchanged for cash, or legal tender, or currency of any state, region, or any political entity, or any other form of credit. GEMs can only be used on FIREFLY LIVE and as part of our Services, and cannot be combined or used in conjunction with other promotions, coupons, discounts or special offers, except those designated by us.</p>
<p>Except as otherwise set out in this Agreement, all sales of GEMs and Gifts are final, and we do not offer refunds for any purchased GEMs and Gifts. GEMs and Gifts cannot be converted into or exchanged for cash, or be refunded or reimbursed by us for any reason.</p>
<p class="mBox4Desc">7. Payment Terms</p>
<p>We accept major credit cards, certain debit cards and/or such other payment methods we may make available to you from time-to-time through our site, as forms of payment. You are subject to all terms and conditions of the payment method you choose. By submitting an order through the Service, you authorize us, or our designated payment processor, to charge the account you specify for the purchase amount. All payments are to be made in United States Dollars, except where other currencies are offered via the payment methods made available by FIREFLY LIVE.</p>
<p>Our payment processing partners may request that you provide certain personal data (e.g., a valid government issued ID, your legal name, address, and date of birth) for the purpose of making payment through its financial institutions and complying with applicable international, national, federal, state, and local laws and regulations. They may also communicate directly with you regarding any issues with a payment.</p>
<p>If a purchase has been declined online due to issues with your payment method, please ensure all data is correct and resubmit. If the transaction is not accepted online, please contact customer support via the email address made available to you in connection with the purchase. For purchases on the Service, you may contact basi@yazhai.co.</p>
<p class="mBox4Desc">8. Intellectual Property Rights</p>
<p>All text, data, images, graphics, audio and/or video information and other materials within the Services provided by FIREFLY LIVE are property of FIREFLY LIVE are protected by copyright, trademark and/or other property rights laws. Nothing in this Agreement shall be construed as conferring any license of any intellectual property rights or such materials by FIREFLY LIVE to you.</p>
<p>By using and/or uploading any live stream content or other content through a FIREFLY LIVE Services to publicly accessible areas of FIREFLY LIVE website, you grant to FIREFLY LIVE and its sub-licensees the permission, free, permanent, irrevocable, non-exclusive and fully sub-licensable rights and license, without any territorial or time limitations and without requiring any approvals and/or compensations, to use, copy, modify, adapt, publish, translate, edit, dispose, create derivate works of, distribute, perform and publicly display such content (in whole or in part), and/or incorporate such content into existing or future forms of work, media or technology.</p>
<p class="mBox4Desc">9. Terminating Services</p>
<p>To the fullest extent permitted by applicable law, FIREFLY LIVE reserves the right, without notice and in our sole discretion, to terminate your license to use the Services (including to post User Content), and to block or prevent your future access to and use of the Services, including where we reasonably consider that: (a) your use of the Services violates this Agreement or applicable law; (b) you fraudulently use or misuse the Services; or (c) we are unable to continue providing the Services to you due to technical or legitimate business reasons. This includes the ability to terminate or to suspend your access to any purchased products or services. To the fullest extent permitted by applicable law, your only remedy with respect to any dissatisfaction with (i) the Services, (ii) any term of these terms of Services, (iii) any policy or practice of FIREFLY LIVE in operating the Services, or (iv) any content or information transmitted through the Services, is to terminate your account and to discontinue use of any and all parts of the Services.</p>
<p class="mBox4Desc">10. Disclaimers</p>
<p>You shall be fully responsible for any risks involved in using FIREFLY LIVE Services. Any use or reliance on FIREFLY LIVE Services will be at your own risk.</p>
<p>Under no circumstance does FIREFLY LIVE guarantee that the Services will satisfy your requirements, or guarantee that the Services will be uninterrupted. The timeliness, security and accuracy of the Services are also not guaranteed. You acknowledge and agree that the Services is provided by FIREFLY LIVE on an “as is” basis. FIREFLY LIVE make no representations or warranties of any kind express or implied as to the operation and the providing of such Services or any part thereof. FIREFLY LIVE shall not be liable in any way for the quality, timeliness, accuracy or completeness of the Services and shall not be responsible for any consequences which may arise from your use of such Services.</p>
<p>FIREFLY LIVE does not guarantee the accuracy and integrity of any external links that may be accessible by using the Services and/or any external links that have been placed for the convenience of you. FIREFLY LIVE shall not be responsible for the content of any linked site or any link contained in a linked site, and FIREFLY LIVE shall not be held responsible or liable, directly or indirectly, for any loss or damage in connection with the use of the Services by you. Moreover, FIREFLY LIVE shall not bear any responsibility for the content of any webpage that you are directed via an external link that is not under the control of FIREFLY LIVE.</p>
<p>FIREFLY LIVE shall not bear any liability for the interruption of or other inadequacies in the Services caused by circumstances of force majeure, or that are otherwise beyond the control of FIREFLY LIVE. However, as far as possible, FIREFLY LIVE shall reasonably attempt to minimize the resulting losses of and impact upon you.</p>
<p class="mBox4Desc">11. Legal Jurisdiction</p>
<p>This Agreement shall be governed by and construed in accordance with the laws of HONG KONG, without regard to choice of law principles. Any dispute arising out of or in connection with this Agreement, including any question regarding its existence, validity or termination, shall be referred to and finally resolved by arbitration administered by the HONG KONG International Arbitration Centre in accordance with the Arbitration Rules of the HONG KONG International Arbitration Centre for the time being in force, which rules are deemed to be incorporated by reference in this clause. The seat of the arbitration shall be HONG KONG. The language of the arbitration shall be English. </p>
<p class="mBox4Desc">12. Request for information</p>
<p>All requests for information or documents related to potential, anticipated or current legal proceedings, investigations or disputes, or for third party user information, from any FIREFLY LIVE Services must be made using the appropriate level of legal process, and must be properly served on FIREFLY LIVE via Hong Kong Yabo Interactive Technology Co.,Ltd.</p>
<p class="mBox4Desc">13. Modification of the Agreement</p>
<p>We amend these terms of the Agreement from time to time, for instance when we update the functionality of our Services, when we combine multiple apps or services operated by us or our affiliates into a single combined service or app, or when there are regulatory changes. We will use commercially reasonable efforts to generally notify all users of any material changes to these terms, such as through a notice on FIREFLY LIVE platform. However, you should look at the Agreement regularly to check for such changes. Your continued access or use of the Services after the date of the new terms constitutes your acceptance of the new terms. If you do not agree to the new terms, you must stop accessing or using the Services.</p>
<p class="mBox4Desc">14. Other Terms</p>
<p>This Agreement constitutes the entire agreement of agreed items and other relevant matters between both parties. Other than as stipulated by this Agreement, no other rights are vested in either Party to this Agreement.</p>
<p>If any provision of this Agreement is rendered void or unenforceable by competent authorities, in whole or in part, for any reason, the remaining provisions of this Agreement shall remain valid and binding.</p>
<p>The headings within this Agreement have been set for the sake of convenience, and shall be disregarded in the interpretation of this Agreement.</p>
</div>
</div>
<div class="mBottom hide">
<div class="mBottonNav">
<p>关于我们</p>
<p>主播合作</p>
<p>商务合作</p>
<p>用戶協議</p>
</div>
<div class="mBottomIcon">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
<div class="mBottomImg"></div>
</div>
</div>
<div class="maskDown hide">
<div class="maskBox">
<div class="maskBtn maskBtn1"><img src="pcimg/phone/d1.png"/>Google Play</div>
<div class="maskBtn maskBtn2"><img src="pcimg/phone/d2.png"/>APK</div>
</div>
</div>
<div class="masking">
<img src="pcimg/goll.png"/>
</div>
<script type="text/javascript" src="js/newpcjs/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="js/newpcjs/phoneLang.js?v=202008032114" ></script>
<script type="text/javascript" src="layer-v3.1.0/layer/layer.js"></script>
<script src="https://pv.sohu.com/cityjson?ie=utf-8"></script>
<script type="text/javascript">
var ua = navigator.userAgent.toLowerCase();
var cityFlag = true;
province = ['北京', '天津', '河北', '山西', '内蒙古', '辽宁', '吉林','深圳','广州','杭州','苏州', '黑龙江', '上海', '江苏', '浙江', '安徽', '福建', '江西', '山东 ', '河南', '湖北', '湖南', '广东', '广西', '海南 ', '重庆', '四川', '贵州', '云南', '西藏', '陕西', '甘肃', '青海', '宁夏', '新疆', 'CHINA']
for(var i=0;i<province.length;i++){
if(returnCitySN["cname"].indexOf(province[i])>-1){
cityFlag = false;
}
}
console.log(cityFlag)
isWeiXin()
//判断是否是微信浏览器的函数
function isWeiXin(){
//window.navigator.userAgent属性包含了浏览器类型、版本、操作系统类型、浏览器引擎类型等信息,这个属性可以用来判断浏览器类型
var ua = window.navigator.userAgent.toLowerCase();
//通过正则表达式匹配ua中是否含有MicroMessenger字符串
if(ua.match(/MicroMessenger/i) == 'micromessenger'){
$('.mHomeTop').hide();
return true;
}else{
$('.mHomeTop').show();
return false;
}
}
isIPhone8();
function isIPhone8(){
var u = navigator.userAgent;
var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
if (isIOS) {
if (screen.height == 736 && screen.width == 414){
console.log('ipone8')
$('body').addClass('ipone8')
}else{
console.log('ipone')
}
}else{
console.log('安卓')
}
}
$('.mHomeTop').on('click',function(){
window.location.href = 'https://firefly.live/h5pay/phonepay/applepay.html?lang='+sessionStorage.lang+'&payStatus=1&cidStr=h5_fireflygw';
})
$('.mBottomIcon span').eq(0).on('click',function(){
window.location.href = 'https://twitter.com/live_firefly'
})
$('.mBottomIcon span').eq(1).on('click',function(){
window.location.href = 'https://www.facebook.com/%E8%9E%A2%E7%81%AB%E8%9F%B2%E7%9B%B4%E6%92%AD-%E9%9D%A2%E5%B0%8D%E9%9D%A2%E8%A6%96%E9%A0%BB%E8%81%8A%E5%A4%A9App-2045213789094686'
})
$('.mBottomIcon span').eq(2).on('click',function(){
window.location.href = 'https://www.instagram.com/firefly_live_official/'
})
$('.mBottomIcon span').eq(3).on('click',function(){
window.location.href = 'https://www.youtube.com/channel/UCKod5vMnUK9fYiwYNduVNag'
})
var flagT = true;
touchBottom();
function touchBottom() {
$(".mCon").on("touchstart", function(e) {
console.log(1)
e.preventDefault();
startX = e.originalEvent.changedTouches[0].pageX, startY = e.originalEvent.changedTouches[0].pageY;
});
$(".mCon").on("touchmove", function(e) {
e.preventDefault();
moveEndX = e.originalEvent.changedTouches[0].pageX,
moveEndY = e.originalEvent.changedTouches[0].pageY,
X = moveEndX - startX,
Y = moveEndY - startY;
if(Math.abs(X) > Math.abs(Y) && X > 0) {}
else if(Math.abs(X) > Math.abs(Y) && X < 0) {}
else if(Math.abs(Y) > Math.abs(X) && Y > 0) {
$('.mBottom').slideUp();
$('.mHome').removeClass('hide');
if(!flagT){
flagT = true;
$('.mBottomIcon span').removeClass('slideUp1 slideUp2 slideUp3 slideUp4');
$('.mBottonNav p').removeClass('slideUpT1 slideUpT2 slideUpT3 slideUpT4')
}
}
else if(Math.abs(Y) > Math.abs(X) && Y < 0) { //alert("bottom 2 top");
$('.mBottom').slideDown();
$('.mHome').addClass('hide');
$('.mBottonNav p').removeClass('check');
$(".mBottonNav").animate({ scrollLeft: 0 }, 0); // 亲测有效
if(flagT){
for(var i=0;i<4;i++){
$('.mBottomIcon span').eq(i).addClass('slideUp'+(i+1));
$('.mBottonNav p').eq(i).addClass('slideUpT'+(i+1));
}
flagT = false;
}
}
else { }
});
}
$('.mBottonNav p').on('click',function(){
$('.return').removeClass('hide');
$('.mCon').unbind('touchmove touchstart');
$(this).addClass('check').siblings().removeClass('check');
$('.mBox,.mConCant').addClass('hide');
$('.mBox'+($(this).index()+1)).removeClass('hide');
})
$('.return').on('click',function(){
touchBottom();
$('.mBox,.return').addClass('hide');
$('.mConCant,.mHome').removeClass('hide');
$('.mBottom').slideUp();
})
//下載
var openData = OpenInstall.parseUrlParams();
var params = '';
var iosData = '';
var andoridData = '';
if(openData.icid != undefined){
params = openData.icid.replace(/(^\s*)|(\s*$)/g, "");
if(params != undefined && params.length>0){
//定义设备号
if(params.substring(0,6) == 'iosFFL'){
iosData = params;
andoridData = params.substring(3,params.length);
} else if(params.substring(0,3) == 'FFL'){
iosData = 'ios'+params;
andoridData = params;
} else {
iosData = 'iosyhczb';
andoridData = 'gf';
}
} else {
iosData = 'iosyhczb';
andoridData = 'gf';
}
} else {
iosData = 'iosyhczb';
andoridData = 'gf';
}
console.log(iosData,andoridData);
$('.mHomeDown').on('click',function(){
var ua = window.navigator.userAgent.toLowerCase();
if(ua.match(/MicroMessenger/i) == 'micromessenger'){
$('.masking').show();
} else if(/iphone|ipad|ipod/.test(ua)){
var cityStr = (navigator.language || navigator.browserLanguage).toLowerCase();
if(!cityFlag || cityStr.indexOf('zh')>=0){
copyText('iosFFLTF');
window.location.href = 'https://testflight.apple.com/join/uwADUjw6';
} else {
openData.icid = iosData;
copyText(openData.icid);
new OpenInstall({
appKey: "ssvd7x",
preferWakeup: true,
mask: function () {
return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
},
onready: function () {
var m = this, button = document.getElementById("iosDown");
m.schemeWakeup();
m.wakeupOrInstall();
return false;
}
}, openData);
}
} else {
layer.open({
type: 1,
title: false,
shadeClose: true,
shade: .9,
area: ['7.786rem', ''],
closeBtn: 0,
content: $('.maskDown'),
end: function() {
}
})
$('.maskBtn1').unbind('click').on('click',function(){
openData.icid = andoridData;
copyText(openData.icid);
//console.log(openData);
new OpenInstall({
appKey: "egro0h",
preferWakeup: true,
mask: function () {
return '<div id="openinstall_shadow" class="shadow-img"><img src="images/share-img.png" alt=""></div>'
},
onready: function () {
var m = this, button = document.getElementById("iosDown");
m.schemeWakeup();
m.wakeupOrInstall();
return false;
}
}, openData);
})
$('.maskBtn2').unbind('click').on('click',function(){
if(andoridData!='FFLSZPAUL'){
window.location.href="https://www.firefly.live/yhc.apk";
} else {
window.location.href="https://zhibocdn.yabolive.net/apk/nf/firefly-FFLSZPAUL.apk";
}
})
}
})
//獲取URL參數
function url_get_params() {
var url = location.href;
var theRequest = new Object();
if(url.indexOf("?") != -1) {
var str = url.substr(url.indexOf("?") + 1);
strs = str.split("&");
for(var i = 0; i < strs.length; i++) {
theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
}
}
return theRequest;
}
//複製到剪切板
function copyText(text) {
var textarea = document.createElement("textarea");
var currentFocus = document.activeElement;
document.body.appendChild(textarea);
textarea.value = text;
textarea.focus();
if (textarea.setSelectionRange)
textarea.setSelectionRange(0, textarea.value.length);
else
textarea.select();
try {
var flag = document.execCommand("copy");
} catch(eo){
var flag = false;
}
document.body.removeChild(textarea);
currentFocus.focus();
return flag;
}
</script>
</body>
</html>