From 387794673cfcaa4b06927898c651b4948024293d Mon Sep 17 00:00:00 2001 From: dabai <dabai@yazhai.co> Date: Mon, 24 May 2021 16:11:29 +0800 Subject: [PATCH] footseen --- b2/content.html | 32 ++++++++++++++++++++++++++++++++ b2/downHelp.html | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ b2/download.html | 471 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ b2/images/Safari4.png | Bin 0 -> 31527 bytes b2/images/en/Safari4.png | Bin 0 -> 33384 bytes b2/images/en/down.png | Bin 0 -> 243 bytes b2/images/en/icon.png | Bin 0 -> 1576 bytes b2/images/en/up.png | Bin 0 -> 244 bytes b2/images/loading/1.png | Bin 0 -> 5100 bytes b2/images/loading/10.png | Bin 0 -> 5144 bytes b2/images/loading/11.png | Bin 0 -> 7807 bytes b2/images/loading/12.png | Bin 0 -> 8233 bytes b2/images/loading/2.png | Bin 0 -> 7868 bytes b2/images/loading/3.png | Bin 0 -> 7313 bytes b2/images/loading/4.png | Bin 0 -> 5181 bytes b2/images/loading/5.png | Bin 0 -> 7714 bytes b2/images/loading/6.png | Bin 0 -> 8142 bytes b2/images/loading/7.png | Bin 0 -> 5080 bytes b2/images/loading/8.png | Bin 0 -> 7847 bytes b2/images/loading/9.png | Bin 0 -> 7469 bytes b2/img/bg.png | Bin 0 -> 1142561 bytes b2/img/bg2.png | Bin 0 -> 588531 bytes b2/img/btn.png | Bin 0 -> 9771 bytes b2/img/button.png | Bin 0 -> 15054 bytes b2/img/text.png | Bin 0 -> 14188 bytes b2/js/newnewLang.js | 166 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 26 files changed, 731 insertions(+) create mode 100644 b2/content.html create mode 100644 b2/downHelp.html create mode 100644 b2/download.html create mode 100644 b2/images/Safari4.png create mode 100644 b2/images/en/Safari4.png create mode 100644 b2/images/en/down.png create mode 100644 b2/images/en/icon.png create mode 100644 b2/images/en/up.png create mode 100644 b2/images/loading/1.png create mode 100644 b2/images/loading/10.png create mode 100644 b2/images/loading/11.png create mode 100644 b2/images/loading/12.png create mode 100644 b2/images/loading/2.png create mode 100644 b2/images/loading/3.png create mode 100644 b2/images/loading/4.png create mode 100644 b2/images/loading/5.png create mode 100644 b2/images/loading/6.png create mode 100644 b2/images/loading/7.png create mode 100644 b2/images/loading/8.png create mode 100644 b2/images/loading/9.png create mode 100644 b2/img/bg.png create mode 100644 b2/img/bg2.png create mode 100644 b2/img/btn.png create mode 100644 b2/img/button.png create mode 100644 b2/img/text.png create mode 100644 b2/js/newnewLang.js diff --git a/b2/content.html b/b2/content.html new file mode 100644 index 0000000..3d3e470 --- /dev/null +++ b/b2/content.html @@ -0,0 +1,32 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <link rel="stylesheet" href="css/base.css"> + <style> + *{margin: 0px; padding:0px; font-family:"微软雅黑";font-size:16px;} + a {text-decoration: none; color: #1064A0;} + h1,h2 {margin:0;font-weight:normal; font-family: "微软雅黑" ; } + .errorpPage-box h1{font-size:44px; color:#0188DE; padding:20px 0px 10px;} + .errorpPage-box h2{color:#0188DE; font-size:16px; padding:10px 0px 40px;} + .errorpPage-box p{color:#666;} + .errorpPage-box{width:910px; padding:20px 20px 40px; margin-top:80px;border-style:dashed;border-color:#e4e4e4;line-height:30px;margin-left:auto; margin-right:auto;} + .errorpPage-operate .operateBtn{width:180px; height:28px; margin-left:0px; margin-top:10px; background:#009CFF; border-bottom:4px solid #0188DE; text-align:center;display:inline-block;font-size:14px; color:#fff; } + .errorpPage-operate .operateBtn:hover{ background:#5BBFFF;} + </style> +</head> +<body> +<div class="errorpPage-box"> + <h1>对不起!发生了一些意想不到的错误。</h1> + <h2>Sorry, the site now can not be accessed. </h2> + <p>请联系系统管理员进行处理,我们会尽快修复。您可以:</p> + <div class="errorpPage-operate"> + <a href="javascript:window.location.reload()" class="operateBtn" title="刷新试试">刷新试试</a> + <a href="http://www.baidu.com" class="operateBtn" title="返回首页">返回首页</a> + </div> +</div> + + +</body> + +</html> \ No newline at end of file diff --git a/b2/downHelp.html b/b2/downHelp.html new file mode 100644 index 0000000..7943239 --- /dev/null +++ b/b2/downHelp.html @@ -0,0 +1,62 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="googlebot" content="noindex,nofollow"> + <meta name="robots" content="noindex,nofollow"> + <meta property="og:title" content="Footseen秘密18X"> + <meta property="og:description" content="禮物秒加+剌激直播+福利不停"> + <meta property="og:url" content="https://sakura.show"> + <meta property="og:image" content="https://sakura.show/images/peach.png"> + <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"> + <script src="https://www.footseen.com/js/fsize.js"></script> + <link rel="stylesheet" href="https://www.footseen.com/css/base2.css"> + <link rel="stylesheet" href="https://www.footseen.com/layer-v3.1.0/layer.css"> + <title>Footseen直播【官方】</title> + <style type="text/css"> + .main{ + width: 10rem; + margin: 0 auto; + overflow: hidden; + position: relative; + font-size: 0; + background: url(img/bg2.png) no-repeat; + background-size: 100% 100%; + width: 10rem; + height: 23.493rem + } + .mCnLine{ + width: 9.093rem; + height: 12.946rem; + position: absolute; + left: 50%; + margin-left: -4.546rem; + top: 10.7rem; + } + .mCnLine a{ + position: absolute; + left: 1rem; + top: 1.85rem; + font-size: .3rem; + color: blue; + text-decoration: underline; + transform: scale(.6); + } + </style> +</head> +<body> +<div class="main"> + <div class="mCnLine"><a></a></div> +</div> +</body> +<script src="https://www.footseen.com/js/jquery-3.1.1.min.js"></script> +<script src='https://www.footseen.com/layer-v3.1.0/layer/layer.js'></script> +<script type="text/javascript"> + var url = window.location.hostname; + $('.mCnLine a').html(url); +</script> +</html> \ No newline at end of file diff --git a/b2/download.html b/b2/download.html new file mode 100644 index 0000000..11d74eb --- /dev/null +++ b/b2/download.html @@ -0,0 +1,471 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <!-- Global site tag (gtag.js) - Google Analytics --> + <script src="https://res.sharetrace.com/sharetrace.min.js"></script> + <script async src="https://www.googletagmanager.com/gtag/js?id=UA-135929443-1"></script> + <script> + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + + gtag('config', 'UA-135929443-1'); + </script> + + <script src="https://pv.sohu.com/cityjson?ie=utf-8"></script> + <script> + var ua = navigator.userAgent.toLowerCase(); + province = ['北京', '天津', '河北', '山西', '内蒙古', '辽宁', '吉林','深圳','广州','杭州','苏州', '黑龙江', '上海', '江苏', '浙江', '安徽', '福建', '江西', '山东 ', '河南', '湖北', '湖南', '广东', '广西', '海南 ', '重庆', '四川', '贵州', '云南', '西藏', '陕西', '甘肃', '青海', '宁夏', '新疆', 'CHINA'] + for(var i=0;i<province.length;i++){ + if(returnCitySN["cname"].indexOf(province[i])!=-1){ + window.location.href='content.html' + } + } + </script> + <meta charset="UTF-8"> + <meta name="googlebot" content="noindex,nofollow"> + <meta name="robots" content="noindex,nofollow"> + <meta property="og:title" content="Footseen浮心"> + <meta property="og:description" content="視頻直播約會視訊聊天社區"> + <meta property="og:url" content="https://www.footseen.com"> + <meta property="og:image" content="https://app.ixiulive.com/static/images/footseenB.png?v=20210429230111"> + <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"> + <script src="https://www.footseen.com/js/fsize.js"></script> + <link rel="stylesheet" href="https://www.footseen.com/css/base2.css"> + <link rel="stylesheet" href="https://www.footseen.com/layer-v3.1.0/layer.css"> + <title></title> + <style type="text/css"> + .main { + margin: 0 auto; + width: 10rem; + height: 100%; + position: relative; + font-size: 0; + background: url(img/bg.png) repeat-y; + background-size: 100% auto; +} +.langTitle { + position: absolute; + top: 0.6rem; + left: 0.4rem; + width: 2.5rem; + z-index: 100; + font-size: 0.4rem; + color: #FFF; +} + +.langTitle img { + width: 0.2rem; + height: 0.173rem; + vertical-align: middle; + margin-top: -.05rem; + margin-right: 0.266rem; +} + +.langList { + position: absolute; + left: 0.4rem; + top: 1.573rem; + width: 3.546rem; + height: 3.84rem; + background: rgba(255, 255, 255, .9); + z-index: 50; + border-radius: 0.213rem; + -webkit-border-radius: 0.213rem; + -moz-border-radius: 0.213rem; + display: none; +} + +.langList p { + width: 100%; + font-size: 0.4rem; + color: #333; + margin-top: 0.6rem; + text-indent: 0.426rem; + line-height: 1.1; +} +.langList p.check{ + color:#D82F66; +} + +.topUp { + position: absolute; + top: 0.6rem; + right: 0.653rem; + z-index: 100; + font-size:0.373rem; + color: #FFF; +} + +.mTextImg{ + width: 4.32rem; + height: 0.48rem; + position: absolute; + left: 50%; + margin-left: -2.16rem; + bottom: 3.66rem; +} + +.mBtn{ + background: url(img/button.png) no-repeat; + background-size: 100% 100%; + width: 7.173rem; + height: 1.333rem; + line-height: 1.333rem; + font-size: 0.64rem; + color: #D82F66; + text-align: center; + position: absolute; + left: 50%; + bottom: 1.8rem; + margin-left: -3.586rem; +} + .heartbeat { + animation-name: heartbeat; + -webkit-animation-name: heartbeat; + animation-duration: 1.5s; + -webkit-animation-duration: 1.5s; + animation-timing-function: linear; + -webkit-animation-timing-function: linear; + animation-iteration-count: infinite; + -webkit-animation-iteration-count: infinite; + visibility: visible!important; + } + @keyframes heartbeat { + 0% { + transform: scale(1) + } + 10% { + transform: scale(1.02) + } + 20% { + transform: scale(1.05) + } + 100% { + transform: scale(1) + } + } + + @-webkit-keyframes heartbeat { + 0% { + transform: scale(1) + } + 10% { + transform: scale(1.02) + } + 20% { + transform: scale(1.05) + } + 100% { + transform: scale(1) + } + } + .mBtn2{ + background: url(img/btn.png) no-repeat; + background-size: 100% 100%; + width: 1.2rem; + height: 1.24rem; + position: absolute; + right:0.28rem ; + bottom: 4.146rem; + } + .L_En .mBtn2{ + display: none; + } + + .mIosDesc{ + background: rgba(255,255,255,.16); + width: 9.2rem; + height: auto; + padding: 0.3rem 0 0.25rem; + font-size: .32rem; + color: rgba(255,255,255,.8); + position: absolute; + left: 50%; + bottom: 4.6rem; + transform: translate(-50%,0); + -webkit-transform: translate(-50%,0); + -moz-transform: translate(-50%,0); + -ms-transform: translate(-50%,0); + z-index: 10; + text-align: center; + border-radius: 0.213rem; + -webkit-border-radius: 0.213rem; + -moz-border-radius: 0.213rem; + -ms-border-radius: 0.213rem; + -o-border-radius: 0.213rem; + } + .mIosDesc p{ + font-size: 0.346rem; + color: #FFF; + width: 100%; + text-align: center; + width: 9rem; + margin: 0 auto; + } + .mIosDesc p:nth-child(2){ + margin-top: 0.2rem; + } + .mIosDesc p:nth-child(3){ + margin-top: 0.15em; + } + .mIosDesc p img { + width: 0.56rem; + height: 0.56rem; + vertical-align: middle; + margin: -.1rem 0 0 0.1rem; + } + .mIosDesc p span { + color:#fbde1b; + } + .L_En .mIosDesc p{ + font-size: .32rem; + } + + .mask{ + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + z-index: 10000; + background-color: rgba(0,0,0,.8); + display: none; + } + .mask img{ + width: 10rem; + height: 15.12rem; + } + .mask2{ + width: 4.746rem; + height: 4.746rem; + background-color: rgba(0,0,0,.6); + position: relative; + border-radius: 0.266rem; + -webkit-border-radius: 0.266rem; + -moz-border-radius: 0.266rem; + -ms-border-radius: 0.266rem; + position: fixed; + left: 50%; + top: 50%; + margin-left: -2.373rem; + margin-top: -2.373rem; + z-index: 10001; + display: none; + } + .mask2Box{ + position: absolute; + left: 0; + top: 50%; + width: 100%; + text-align: center; + transform: translate(0,-50%); + -webkit-transform: translate(0,-50%); + -moz-transform: translate(0,-50%); + -ms-transform: translate(0,-50%); + text-align: center; + } + .mask2Img{ + width: 1.466rem; + height: 1.466rem; + position: relative; + margin: 0 auto; + } + .mask2Img img{ + width: 100%; + height: 100%; + display: none; + } + .mask2Box p{ + font-size: 0.37rem; + color: #FFF; + + width: 100%; + margin-top: 0.4rem; + } + </style> +</head> +<body> +<div class="main"> + <span class="langTitle"></span> + <div class="langList hide"> + <p data-lang="2" class="check">繁體中文</p> + <p data-lang="1">English</p> + </div> + + + <div class="mDesc"></div> + <div class="mIosDesc" style="display: none;"></div> + <img src="img/text.png" class="mTextImg"/> + <div class="mBtn heartbeat" id="mBtn"></div> + + <a class="mBtn2" href="downHelp.html"></a> + + <div class="mask"></div> + + <div class="mask2"> + <div class="mask2Box"> + <div class="mask2Img"><img src="images/loading/1.png"/></div> + <p></p> + </div> + </div> +</div> +</body> +<script src="https://www.footseen.com/js/jquery-3.1.1.min.js"></script> +<script src='https://www.footseen.com/layer-v3.1.0/layer/layer.js'></script> +<script src="js/newnewLang.js"></script> +<script type="text/javascript"> + + 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; + } + + if( url_get_params().icid!=undefined){ + var params = url_get_params().icid.replace(/(^\s*)|(\s*$)/g, ""); + } else { + var params = ''; + } + + var iosData = ''; + var andoridData = ''; + if(params != undefined && params.length>0){ + //定义设备号 + if(params.indexOf('fts')==-1){ + if(params.substring(0,3) == 'ios'){ + iosData = 'iosfts'+params.substring(3,params.length); + andoridData = params.substring(3,params.length); + } else { + iosData = 'iosfts'+params; + andoridData = params; + } + } else { + if(params.substring(0,3) == 'ios'){ + iosData = 'ios'+params.substring(3,params.length); + andoridData = params.substring(3,params.length); + } else { + iosData = 'ios'+params; + andoridData = params; + } + } + } else { + iosData = 'iosftsB'; + andoridData = 'ftsB'; + } + + var btnType = true; + console.log(iosData,andoridData) + var clickFlag = true; + var ua = window.navigator.userAgent.toLowerCase(); + if(/iphone|ipad|ipod/.test(ua)){ + + var params = { + icid:iosData + } + + ShareTrace.init({ + appkey: "93adc025c1e699fe", // 此值必填 + param: JSON.stringify(params), + success: function() { + console.log('成功') + }, + error: function(msg) { + console.log('失败') + } + }); + $('.mBtn2').hide(); + $('.mIosDesc').show(); + var btnType = true; + var interval = null; + $('.mBtn').on('click',function(){ + + var $index = 1; + clearInterval(interval); + + $('.mask2').show(); + $('.mask2Box img').eq(0).show(); + interval = setInterval(function(){ + $('.mask2Box img').hide(); + $('.mask2Box img').eq($index).show(); + $index+=1; + if($index == 12){ + $index = 0 + } + },50) + setTimeout(function(){ + $('.mask2').hide(); + clearInterval(interval); + },10000) + + + if(btnType){ + copyText(iosData); + btnType = false; + } + setTimeout(function(){ +// window.location.href = 'https://testflight.apple.com/join/yQuQniSm'; + ShareTrace.download(); + },1500) + + }) + } else { + setTimeout(function(){ + toDown(); + },800) + $('.mBtn').on('click',function(){ + toDown(); + }) + } + + function toDown(){ + + if(andoridData!=='ftsB'){ + window.location.href = 'https://big.bgp.ourpow.com/apk/nf/Release-'+andoridData+'.apk' + } else { + window.location.href = 'https://www.footseen.com/apk'; + } + } + $('.topUp').on('click',function(){ + window.location.href = 'https://www.footseen.com/footseen/phonepay/applepay.html?lang='+sessionStorage.lang+'&gofrom=web'+'&gofrom=web&cidStr=h5_footseengw'; + }) + + function add0(m) { + return m < 10 ? '0' + m + "" : m + "" + } +// + 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> + +</html> diff --git a/b2/images/Safari4.png b/b2/images/Safari4.png new file mode 100644 index 0000000..2ebc316 Binary files /dev/null and b/b2/images/Safari4.png differ diff --git a/b2/images/en/Safari4.png b/b2/images/en/Safari4.png new file mode 100644 index 0000000..831a078 Binary files /dev/null and b/b2/images/en/Safari4.png differ diff --git a/b2/images/en/down.png b/b2/images/en/down.png new file mode 100644 index 0000000..6dc35c9 Binary files /dev/null and b/b2/images/en/down.png differ diff --git a/b2/images/en/icon.png b/b2/images/en/icon.png new file mode 100644 index 0000000..5c74afd Binary files /dev/null and b/b2/images/en/icon.png differ diff --git a/b2/images/en/up.png b/b2/images/en/up.png new file mode 100644 index 0000000..b05e04e Binary files /dev/null and b/b2/images/en/up.png differ diff --git a/b2/images/loading/1.png b/b2/images/loading/1.png new file mode 100644 index 0000000..75ec871 Binary files /dev/null and b/b2/images/loading/1.png differ diff --git a/b2/images/loading/10.png b/b2/images/loading/10.png new file mode 100644 index 0000000..5571c12 Binary files /dev/null and b/b2/images/loading/10.png differ diff --git a/b2/images/loading/11.png b/b2/images/loading/11.png new file mode 100644 index 0000000..1c0aa0f Binary files /dev/null and b/b2/images/loading/11.png differ diff --git a/b2/images/loading/12.png b/b2/images/loading/12.png new file mode 100644 index 0000000..81b62ff Binary files /dev/null and b/b2/images/loading/12.png differ diff --git a/b2/images/loading/2.png b/b2/images/loading/2.png new file mode 100644 index 0000000..288d7f7 Binary files /dev/null and b/b2/images/loading/2.png differ diff --git a/b2/images/loading/3.png b/b2/images/loading/3.png new file mode 100644 index 0000000..376f2b0 Binary files /dev/null and b/b2/images/loading/3.png differ diff --git a/b2/images/loading/4.png b/b2/images/loading/4.png new file mode 100644 index 0000000..6276e13 Binary files /dev/null and b/b2/images/loading/4.png differ diff --git a/b2/images/loading/5.png b/b2/images/loading/5.png new file mode 100644 index 0000000..3a01dcf Binary files /dev/null and b/b2/images/loading/5.png differ diff --git a/b2/images/loading/6.png b/b2/images/loading/6.png new file mode 100644 index 0000000..d3c0a4a Binary files /dev/null and b/b2/images/loading/6.png differ diff --git a/b2/images/loading/7.png b/b2/images/loading/7.png new file mode 100644 index 0000000..5728c60 Binary files /dev/null and b/b2/images/loading/7.png differ diff --git a/b2/images/loading/8.png b/b2/images/loading/8.png new file mode 100644 index 0000000..d49742f Binary files /dev/null and b/b2/images/loading/8.png differ diff --git a/b2/images/loading/9.png b/b2/images/loading/9.png new file mode 100644 index 0000000..3019d4c Binary files /dev/null and b/b2/images/loading/9.png differ diff --git a/b2/img/bg.png b/b2/img/bg.png new file mode 100644 index 0000000..5e87e1d Binary files /dev/null and b/b2/img/bg.png differ diff --git a/b2/img/bg2.png b/b2/img/bg2.png new file mode 100644 index 0000000..96603d3 Binary files /dev/null and b/b2/img/bg2.png differ diff --git a/b2/img/btn.png b/b2/img/btn.png new file mode 100644 index 0000000..3572077 Binary files /dev/null and b/b2/img/btn.png differ diff --git a/b2/img/button.png b/b2/img/button.png new file mode 100644 index 0000000..37c3e69 Binary files /dev/null and b/b2/img/button.png differ diff --git a/b2/img/text.png b/b2/img/text.png new file mode 100644 index 0000000..0760081 Binary files /dev/null and b/b2/img/text.png differ diff --git a/b2/js/newnewLang.js b/b2/js/newnewLang.js new file mode 100644 index 0000000..8636c26 --- /dev/null +++ b/b2/js/newnewLang.js @@ -0,0 +1,166 @@ +var langStr =(navigator.language || navigator.browserLanguage).toLowerCase(); +var langType = 0; +if(localStorage.lang != undefined){ + if(localStorage.lang == 2){ + $('.langList p').removeClass('check'); + $('.langTitle').html('<img src="images/en/down.png"/>繁體中文'); + $('.langList p').eq(0).addClass('check'); + langType = 0; + $('body').addClass('L_Cn'); + } else { + $('.langList p').removeClass('check'); + $('.langTitle').html('<img src="images/en/down.png"/>English'); + $('.langList p').eq(1).addClass('check'); + langType = 1; + $('body').addClass('L_En'); + } +} else { + //浏览器语言 为简体、繁体中文,默认为中文网页 ip如果为 新马台港澳,则默认显示中文网页 + + if(langStr.indexOf('zh')>=0 || langFlag()){ + $('.langList p').removeClass('check'); + $('.langTitle').html('<img src="images/en/down.png"/>繁體中文'); + $('.langList p').eq(0).addClass('check'); + langType = 0; + $('body').addClass('L_Cn'); + localStorage.lang = 2; + } else { + $('.langList p').removeClass('check'); + $('.langTitle').html('<img src="images/en/down.png"/>English'); + $('.langList p').eq(1).addClass('check'); + langType = 1; + localStorage.lang = 1; + $('body').addClass('L_En'); + } +} + + +var langList = [ + { + 'lang1':'下載APP', + 'lang2':'安裝前,需要先設定開啟新人外來未知安裝程序<br>如遇提示軟體有病毒請忽略<br>官方承諾本軟體不存在任何病毒', + 'lang5':'使用前請先收藏Footseen最新發佈地址', + 'lang6':'複製網址', + 'lang7':'Andorid 安裝教學', + 'lang8':'1 先至「設置」→「安全性與隱私權」', + 'lang9':'2 開啟「從位置來源下載應用程式」,並執行「確定」', + 'lang10':'3 在該頁面點擊「下載按鈕」並同意安裝即可', + 'lang11':'注:請將你的手機版本更新至安卓5.0以上,以獲得更好的體驗', + 'lang12':'"中國大陸用戶禁止下載"', + 'lang13':'App名稱<img src="images/en/icon.png" /><span>“茶城”</span>內部與Footseen內容完全一致。', + 'lang14':'內部與Footseen內容完全一致。', + 'lang15':'Footseen直播【官方】', + 'lang16':'images/Safari4.png', + 'lang17':'複製成功', + 'lang18':'下載鏈接已經複製到粘貼板,請打開手機瀏覽器粘貼訪問。', + 'lang19':'1、請連接WIFI進行下載,放心使用。', + 'lang20':'2、無法下載點擊右上角按鈕,選擇用默認瀏覽器打開', + 'lang21':'選擇用默認註瀏覽器打開<font style="visibility: hidden;">開1</font>', + 'lang22':'正在跳轉中...', + }, + { + 'lang1':'Download', + 'lang2':'Before installation, you need to set to allow new unknown installation procedure.If you encounter a warning that the software has a virus, please ignore it.We promise that the software does not contain any virus.', + 'lang5':'Please bookmark the latest link of Footseen before downloading', + 'lang6':'Copy Link', + 'lang7':'Andorid download tutrial', + 'lang8':'1 Enter 「Settings」→「Security&Privacy」', + 'lang9':'2 Allow「 Download apps from external sources」 ,and click「Sure」', + 'lang10':'3 Click 「Download 」and verify installing', + 'lang11':'4 Please upgrade your Phone OS to Android 5.0 or later,for a better experience', + 'lang12':'', + 'lang13':'Contents of<img src="images/en/icon.png" /><span>“茶城”</span>are totally the same as Footseen', + 'lang15':'Footseen【Official】', + 'lang16':'images/en/Safari4.png', + 'lang17':'Copy successfully', + 'lang18':'The download link has been copied to the sticker board. Please open the mobile browser paste and access.', + 'lang19':'1,Download APP only after WIFI connected', + 'lang20':'2,If download fail,click the button in the right-upper corner open it with default browser.', + 'lang21':'right-upper corner<img class="mIosDescBtn" src="images/btn.png">, open it with default browser.', + 'lang22':'Jumping to a new page...', + } +] +lang(); + +$('.langTitle').on('click',function(e){ + $('.langList').show(); + $('.langTitle img').attr('src','images/en/up.png'); + e.stopPropagation(); +}) +$('.langList p').on('click',function(e){ + $('body').removeClass('L_Cn L_En') + if($(this).index()==0){ + $('body').addClass('L_Cn'); + langType = 0; + localStorage.lang = 2; + } else if($(this).index()==1){ + $('body').addClass('L_En'); + langType = 1; + localStorage.lang = 1; + } + + $(this).addClass('check').siblings().removeClass('check'); + $('.langTitle').html('<img src="images/en/anicon.png"/>'+$(this).html()); + $('.langList').hide(); + $('.langTitle img').attr('src','images/en/down.png'); + + lang(); + e.stopPropagation(); +}) + +$(document).on('click',function(e){ + $('.langList').hide(); + $('.langTitle img').attr('src','images/en/down.png'); + + e.stopPropagation() +}) +var strImg = ''; +for(var i=1;i<13;i++){ + strImg += '<img src="images/loading/'+i+'.png"/>'; +} +$('.mask2Img').html(strImg) +function lang(){ + $('title').html(langList[langType].lang15) + $('.mBtn').html(langList[langType].lang1) + $('.anBtn').html('<img src="images/en/anicon.png"/>'+langList[langType].lang1); + $('.iosBtn2').html('<img src="images/en/ios.png"/>'+langList[langType].lang1); + $('.mask').html('<img src="'+langList[langType].lang16+'"/>') + $('.mask2Box p').html(langList[langType].lang22); + + $('.mDesc').html(langList[langType].lang2); + + $('.mEnTextTitle').html('<img src="images/en/t1.png"/>'+langList[langType].lang7); + var str2 = ''; + str2 += '<p>'+langList[langType].lang8+'</p>'; + str2 += '<p>'+langList[langType].lang9+'</p>'; + str2 += '<p>'+langList[langType].lang10+'</p>'; + $('.mEnTextInfo').html(str2); + + $('.mEnTextDesc').html(langList[langType].lang11); + + $('.bottomText').html(langList[langType].lang5); + $('.bottomUrl span').html(langList[langType].lang6); + + $('.tips img').attr('src',langList[langType].lang16) + + var str3 = ''; + str3 += '<p>'+langList[langType].lang13+'</p>'; + str3 += '<p>'+langList[langType].lang19+'</p>'; + str3 += '<p>'+langList[langType].lang20+'</p>'; + $('.mIosDesc').html(str3); +} + + + +function langFlag(){ + var cityName = ['台灣','台湾','香港','澳門','澳门','Singapore','SINGAPORE','Malaysia','MALAYSIA','未能识别的地区']; + var flagL = false; + for(var i=0;i<cityName.length;i++){ + if(returnCitySN["cname"].indexOf(cityName[i])>=0){ + flagL = true; + } + } + + + return flagL; +} -- libgit2 0.25.0