Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

libai / Static

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • Static
  • superTurn
  • js
  • lang.js
Find file
BlameHistoryPermalink
  • dabai's avatar
    转盘 · 4ec28324
    dabai committed 5 years ago
    4ec28324
lang.js 3.89 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
var superCdn = 'https://app.ixiulive.com/static/superTurn/';
var langList = [
//中文
	{
		'img1':superCdn+'img/2.png',
		'img2':superCdn+'img/3.png',
		'img3':superCdn+'img/7.png',
		'img4':superCdn+'img/18.png',
		'img5':superCdn+'img/history.png',
		'img6':superCdn+'img/history_title.png',
		'img7':superCdn+'img/ranking.png',
		'img8':superCdn+'img/result.png',
		'img9':superCdn+'img/rule_title.png',
		'img10':superCdn+'img/victory.png',
		'img11':superCdn+'img/xz.png?v=201909272107',
		'img12':superCdn+'img/ranking_list_title.png',
		'img13':superCdn+'img/rotarytable.png',
		'img14':superCdn+'img/victory_bg.png',
		'img15':superCdn+'img/chaal_list.png',
		'img16':superCdn+'img/chaal_record.png',
		'super1':'2倍',
		'super2':'3倍',
		'super3':'7倍',
		'super4':'18倍',
		'super5':'序號',
		'super6':'用戶名',
		'super7':'票數',
		'super8':'打賞主播運氣更佳哦',
		'super9':'遊戲過程中點擊你認為能中獎的倍數',
		'super10':'1寶石=10螢火票',
		'super11':'每盤轉盤隨機轉動,停止轉動後所指的',
		'super12':'數字即對應相應的倍數,如果猜對了',
		'super13':'即可獲得2-18倍的寶石獎勵哦!',
		'super14':'溫馨提示:遊戲僅供娛樂,請勿沉迷。',
		'super15':'請稍後',
		'super16':'即将开始競猜,请稍后',
		'super17':'開獎中',
		'super18':'啊哦猜錯了,再接再厲!',
		'super19':'負',
		'super20':'暫無記錄',
		'super21':'競猜成功',	 
		'super22':'超級轉盤',
		'super23':'期數',
		'super24':'競猜記錄',
		'super25':'結果',
		'super26':'競猜',
		'super27':'倍',
		'super28':'票',
		'super29':'遺憾敗北',
	},
	{
		'img1':superCdn+'img/2_en.png',
		'img2':superCdn+'img/3_en.png',
		'img3':superCdn+'img/7_en.png',
		'img4':superCdn+'img/18_en.png',
		'img5':superCdn+'img/history_en.png',
		'img6':superCdn+'img/history_title_en.png',
		'img7':superCdn+'img/ranking_en.png',
		'img8':superCdn+'img/result_en.png',
		'img9':superCdn+'img/rule_title_en.png',
		'img10':superCdn+'img/victory_en.png',
		'img11':superCdn+'img/xz_en.png',
		'img12':superCdn+'img/ranking_list_title_en.png',
		'img13':superCdn+'img/rotarytable_en.png',
		'img14':superCdn+'img/victory_bg_en.png?v=201910151540',
		'img15':superCdn+'img/chaal_list_en.png',
		'img16':superCdn+'img/chaal_record_en.png',
		'super1':'X2',
		'super2':'X3',
		'super3':'X7',
		'super4':'X18',
		'super5':'Item',
		'super6':'Username',
		'super7':'Tickets',
		'super8':'Send little gifts to broadcaster will bring more luckiness~',
		'super9':'Guess on the lucky number 2,3,7,18 that you think will win.',
		'super10':'1 GEMs=10 Firefly Tickets',
		'super11':'The winning number of the round is the symbol where the super',
		'super12':'wheel stops at.If you guess right,',
		'super13':'you will get corresponding GEMs Reward.',
		'super14':'Reminder:Just play the game for fun',
		'super15':'Wait',
		'super16':'Guessing will begin soon,please wait',
		'super17':'Result...',
		'super18':'Failed,what a pity ,come on !',
		'super19':'Lose',
		'super20':'No record yet',
		'super21':'Guess done',	 
		'super22':'Superwheel',
		'super23':'Stage',
		'super24':'Record',
		'super25':'Results',
		'super26':'Guess',
		'super27':'X',
		'super28':'Tickets',
		'super29':'Failed',
	}
]

var langType = 0;
var langCon = getRequest().lang;
if(langCon==undefined || langCon == 'undefined'){
	langCon = sessionStorage.lang;
}
//当没有语言参数时 默认为繁体
if(langCon==undefined || langCon == 'undefined'){
	langCon = 2;
}
sessionStorage.lang = langCon;

if(langCon == 0 || langCon == 2){
	langType = 0;
} else {
	langType = 1;
}

function getRequest() {
  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;
}