Commit e3a8db78 by dabai

xx

parent 4cbe3dd8
Showing with 38 additions and 0 deletions
......@@ -165,6 +165,44 @@ function add0(m) {
return m < 10 ? '0' + m + "" : m + ""
}
//多語言
var langList = [
{
"upright1":"活動",
"upright2":"客服",
"upright3":"說明",
"upright4":"記錄",
"upright5":"分享",
"upright6":"在線客服",
"upright7":"Hi,請問有什麼可以幫到您?",
},
{
"upright1":"Activity",
"upright2":"Online service",
"upright3":"Rules",
"upright4":"Record",
"upright5":"Share",
"upright6":"Customer service",
"upright7":"Hi, what can I do for you?",
}
]
var langType = 0;
var langCon = getRequest().lang;
if(langCon==undefined || langCon == 'undefined'){
langCon = sessionStorage.lang;
}
//当没有语言参数时 默认为繁体
if(langCon==undefined || langCon == 'undefined'){
langCon = 2;
}
if(langCon == 2){
langType = 0;
} else {
langType = 1;
}
//获取url参数
function getRequest() {
var url = location.href;
......
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