Commit 3ee1325e by agan

修改

parent bcc0d737
Showing with 192 additions and 192 deletions
var langStr =(navigator.language || navigator.browserLanguage).toLowerCase();
var langStr = (navigator.language || navigator.browserLanguage).toLowerCase();
var langType = 0;
if(localStorage.lang != undefined){
if(localStorage.lang == 2){
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 {
} 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 {
} else {
//浏览器语言 为简体、繁体中文,默认为中文网页 ip如果为 新马台港澳,则默认显示中文网页
if(langStr.indexOf('zh')>=0 || langFlag()){
if (langStr.indexOf('zh') >= 0 || langFlag()) {
$('.langList p').removeClass('check');
$('.langTitle').html('<img src="images/en/down.png"/>繁體中文');
$('.langList p').eq(0).addClass('check');
......@@ -37,130 +37,130 @@ if(localStorage.lang != undefined){
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="img/nicon.png" /><span>“TeaStore”</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': '下載APP',
'lang2': '安裝前,需要先設定開啟新人外來未知安裝程序<br>如遇提示軟體有病毒請忽略<br>官方承諾本軟體不存在任何病毒',
'lang5': '使用前請先收藏Footseen最新發佈地址',
'lang6': '複製網址',
'lang7': 'Andorid 安裝教學',
'lang8': '1 先至「設置」→「安全性與隱私權」',
'lang9': '2 開啟「從位置來源下載應用程式」,並執行「確定」',
'lang10': '3 在該頁面點擊「下載按鈕」並同意安裝即可',
'lang11': '注:請將你的手機版本更新至安卓5.0以上,以獲得更好的體驗',
'lang12': '"中國大陸用戶禁止下載"',
'lang13': 'App名稱<img src="img/nicon.png" /><span>“TeaStore”</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="img/nicon.png" /><span>“TeaStore”</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...',
'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="img/nicon.png" /><span>“TeaStore”</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){
$('.langTitle').on('click', function (e) {
$('.langList').show();
$('.langTitle img').attr('src','images/en/up.png');
$('.langTitle img').attr('src', 'images/en/up.png');
e.stopPropagation();
})
$('.langList p').on('click',function(e){
$('.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();
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){
$(document).on('click', function (e) {
$('.langList').hide();
$('.langTitle img').attr('src','images/en/down.png');
$('.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"/>';
for (var i = 1; i < 13; i++) {
strImg += '<img src="images/loading/' + i + '.png"/>';
}
$('.mask2Img').html(strImg)
function lang(){
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+'"/>')
$('.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);
$('.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>';
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)
$('.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>';
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','未能识别的地区'];
function langFlag() {
// var cityName = ['台灣','台湾','香港','澳門','澳门','Singapore','SINGAPORE','Malaysia','MALAYSIA','未能识别的地区'];
var flagL = false;
for(var i=0;i<cityName.length;i++){
if(checkIp2()){
flagL = true;
}
// for(var i=0;i<cityName.length;i++){
if (checkIp2()) {
flagL = true;
}
// }
return flagL;
}
var langStr =(navigator.language || navigator.browserLanguage).toLowerCase();
var langStr = (navigator.language || navigator.browserLanguage).toLowerCase();
var langType = 0;
if(localStorage.lang != undefined){
if(localStorage.lang == 2){
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 {
} 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 {
} else {
//浏览器语言 为简体、繁体中文,默认为中文网页 ip如果为 新马台港澳,则默认显示中文网页
if(langStr.indexOf('zh')>=0 || langFlag()){
if (langStr.indexOf('zh') >= 0 || langFlag()) {
$('.langList p').removeClass('check');
$('.langTitle').html('<img src="images/en/down.png"/>繁體中文');
$('.langList p').eq(0).addClass('check');
......@@ -37,130 +37,130 @@ if(localStorage.lang != undefined){
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="img/nicon.png" /><span>“TeaStore”</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': '下載APP',
'lang2': '安裝前,需要先設定開啟新人外來未知安裝程序<br>如遇提示軟體有病毒請忽略<br>官方承諾本軟體不存在任何病毒',
'lang5': '使用前請先收藏Footseen最新發佈地址',
'lang6': '複製網址',
'lang7': 'Andorid 安裝教學',
'lang8': '1 先至「設置」→「安全性與隱私權」',
'lang9': '2 開啟「從位置來源下載應用程式」,並執行「確定」',
'lang10': '3 在該頁面點擊「下載按鈕」並同意安裝即可',
'lang11': '注:請將你的手機版本更新至安卓5.0以上,以獲得更好的體驗',
'lang12': '"中國大陸用戶禁止下載"',
'lang13': 'App名稱<img src="img/nicon.png" /><span>“TeaStore”</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="img/nicon.png" /><span>“TeaStore”</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...',
'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="img/nicon.png" /><span>“TeaStore”</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){
$('.langTitle').on('click', function (e) {
$('.langList').show();
$('.langTitle img').attr('src','images/en/up.png');
$('.langTitle img').attr('src', 'images/en/up.png');
e.stopPropagation();
})
$('.langList p').on('click',function(e){
$('.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();
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){
$(document).on('click', function (e) {
$('.langList').hide();
$('.langTitle img').attr('src','images/en/down.png');
$('.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"/>';
for (var i = 1; i < 13; i++) {
strImg += '<img src="images/loading/' + i + '.png"/>';
}
$('.mask2Img').html(strImg)
function lang(){
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+'"/>')
$('.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);
$('.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>';
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)
$('.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>';
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','未能识别的地区'];
function langFlag() {
var flagL = false;
for(var i=0;i<cityName.length;i++){
if(checkIp2()){
flagL = true;
}
// var cityName = ['台灣','台湾','香港','澳門','澳门','Singapore','SINGAPORE','Malaysia','MALAYSIA','未能识别的地区'];
// for(var i=0;i<cityName.length;i++){
if (checkIp2()) {
flagL = true;
}
// }
return flagL;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment