Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footsen
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
0109e223
authored
Oct 14, 2022
by
agan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 添加越南语
parent
e14a413a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
46 deletions
b/download.html
b/downloadIos.html
js/new/lang.js
b/download.html
View file @
0109e223
...
...
@@ -140,7 +140,7 @@
</div>
<!--箭头-->
<div
class=
"wipeUp"
></div>
<script
src=
"https://www.footseen.com/js/new/lang.js?v=20221014172
4
"
></script>
<script
src=
"https://www.footseen.com/js/new/lang.js?v=20221014172
5
"
></script>
<script
src=
'https://www.footseen.com/layer-v3.1.0/layer/layer.js'
></script>
<script>
...
...
b/downloadIos.html
View file @
0109e223
...
...
@@ -138,7 +138,7 @@
</div>
<!--箭头-->
<div
class=
"wipeUp"
></div>
<script
src=
"https://www.footseen.com/js/new/lang.js?v=20221014172
4
"
></script>
<script
src=
"https://www.footseen.com/js/new/lang.js?v=20221014172
5
"
></script>
<script
src=
'https://www.footseen.com/layer-v3.1.0/layer/layer.js'
></script>
<script
src=
"https://cdn.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js"
></script>
...
...
js/new/lang.js
View file @
0109e223
...
...
@@ -2,22 +2,22 @@
var
langList
=
[
//中文 英文 阿拉伯文
{
foot1
:
'儲值'
,
foot2
:
'下載APP'
,
foot3
:
'邀請碼:'
,
foot4
:
'複製成功'
,
foot1
:
'儲值'
,
foot2
:
'下載APP'
,
foot3
:
'邀請碼:'
,
foot4
:
'複製成功'
,
},
{
foot1
:
'Top-up'
,
foot2
:
'Download APP'
,
foot3
:
'Invitation code:'
,
foot4
:
'Copy success'
,
foot1
:
'Top-up'
,
foot2
:
'Download APP'
,
foot3
:
'Invitation code:'
,
foot4
:
'Copy success'
,
},
{
foot1
:
'شحن'
,
foot2
:
'تحميل التطبيق'
,
foot3
:
'شفرة الدعوة:'
,
foot4
:
'تم النسخ بنجاح'
,
foot1
:
'شحن'
,
foot2
:
'تحميل التطبيق'
,
foot3
:
'شفرة الدعوة:'
,
foot4
:
'تم النسخ بنجاح'
,
},
{
foot1
:
"giá trị được lưu trữ"
,
...
...
@@ -25,14 +25,14 @@ var langList = [
}
]
var
langType
=
0
;
var
langStr
=
(
navigator
.
language
||
navigator
.
browserLanguage
).
toLowerCase
();
if
(
sessionStorage
.
lang
==
undefined
||
sessionStorage
.
lang
==
'undefined'
)
{
if
(
langStr
.
indexOf
(
'ar'
)
>=
0
)
{
var
langStr
=
(
navigator
.
language
||
navigator
.
browserLanguage
).
toLowerCase
();
if
(
sessionStorage
.
lang
==
undefined
||
sessionStorage
.
lang
==
'undefined'
)
{
if
(
langStr
.
indexOf
(
'ar'
)
>=
0
)
{
sessionStorage
.
lang
=
7
;
$
(
'.langTitle font'
).
html
(
'العربية'
);
langType
=
2
;
$
(
'.langList p'
).
eq
(
2
).
addClass
(
'check'
);
}
else
if
(
langStr
.
indexOf
(
'zh'
)
>=
0
)
{
}
else
if
(
langStr
.
indexOf
(
'zh'
)
>=
0
)
{
sessionStorage
.
lang
=
2
;
$
(
'.langTitle font'
).
html
(
'繁體中文'
);
langType
=
0
;
...
...
@@ -44,15 +44,15 @@ if(sessionStorage.lang == undefined || sessionStorage.lang == 'undefined'){
$
(
'.langList p'
).
eq
(
1
).
addClass
(
'check'
);
}
}
else
{
if
(
sessionStorage
.
lang
==
7
)
{
if
(
sessionStorage
.
lang
==
7
)
{
langType
=
2
;
$
(
'.langTitle font'
).
html
(
'العربية'
);
$
(
'.langList p'
).
eq
(
2
).
addClass
(
'check'
);
}
else
if
(
sessionStorage
.
lang
==
2
)
{
}
else
if
(
sessionStorage
.
lang
==
2
)
{
langType
=
0
;
$
(
'.langTitle font'
).
html
(
'繁體中文'
);
$
(
'.langList p'
).
eq
(
0
).
addClass
(
'check'
);
}
else
if
(
sessionStorage
.
lang
==
8
)
{
}
else
if
(
sessionStorage
.
lang
==
8
)
{
langType
=
3
;
$
(
'.langTitle font'
).
html
(
'Tiếng Việt'
);
$
(
'.langList p'
).
eq
(
3
).
addClass
(
'check'
);
...
...
@@ -63,53 +63,55 @@ if(sessionStorage.lang == undefined || sessionStorage.lang == 'undefined'){
}
}
$
(
function
()
{
$
(
function
()
{
lang
();
$
(
'.langTitle'
).
on
(
'click'
,
function
(
e
)
{
$
(
'.langTitle'
).
on
(
'click'
,
function
(
e
)
{
$
(
'.langList'
).
show
();
$
(
'.langTitle img'
).
attr
(
'src'
,
'https://footseen.com/img/up2.png'
);
$
(
'.langTitle img'
).
attr
(
'src'
,
'https://footseen.com/img/up2.png'
);
e
.
stopPropagation
();
})
$
(
'.langList p'
).
on
(
'click'
,
function
(
e
)
{
$
(
'.langList p'
).
on
(
'click'
,
function
(
e
)
{
$
(
this
).
addClass
(
'check'
).
siblings
().
removeClass
(
'check'
);
$
(
'.langTitle font'
).
html
(
$
(
this
).
html
());
$
(
'.langList'
).
hide
();
$
(
'.langTitle img'
).
attr
(
'src'
,
'https://footseen.com/img/down2.png'
);
$
(
'.langTitle img'
).
attr
(
'src'
,
'https://footseen.com/img/down2.png'
);
sessionStorage
.
lang
=
$
(
this
).
attr
(
'data-lang'
);
lang
();
e
.
stopPropagation
();
})
$
(
document
).
on
(
'click'
,
function
(
e
)
{
$
(
'.langList'
).
hide
();
$
(
'.langTitle img'
).
attr
(
'src'
,
'https://footseen.com/img/down2.png'
);
$
(
document
).
on
(
'click'
,
function
(
e
)
{
$
(
'.langList'
).
hide
();
$
(
'.langTitle img'
).
attr
(
'src'
,
'https://footseen.com/img/down2.png'
);
e
.
stopPropagation
();
})
})
function
lang
(){
if
(
sessionStorage
.
lang
==
1
)
{
function
lang
()
{
if
(
sessionStorage
.
lang
==
1
)
{
langType
=
1
;
}
else
if
(
sessionStorage
.
lang
==
2
)
{
}
else
if
(
sessionStorage
.
lang
==
2
)
{
langType
=
0
;
}
else
if
(
sessionStorage
.
lang
==
7
)
{
}
else
if
(
sessionStorage
.
lang
==
7
)
{
langType
=
2
;
}
else
if
(
sessionStorage
.
lang
==
7
)
{
langType
=
3
;
}
$
(
'.code span'
).
html
(
langList
[
langType
].
foot3
+
getRequest
().
agentCode
);
$
(
'.code span'
).
html
(
langList
[
langType
].
foot3
+
getRequest
().
agentCode
);
$
(
'.topUp'
).
html
(
langList
[
langType
].
foot1
);
$
(
'.iosDown'
).
html
(
langList
[
langType
].
foot2
);
$
(
'.btnPage2'
).
html
(
langList
[
langType
].
foot2
);
}
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
;
}
\ No newline at end of file
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
;
}
\ No newline at end of file
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