Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
Static
This project
Loading...
Sign in
Toggle navigation
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
Commit
e3a8db78
authored
3 years ago
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xx
parent
4cbe3dd8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
js/common2.js
js/common2.js
View file @
e3a8db78
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment