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 @@
...
@@ -140,7 +140,7 @@
</div>
</div>
<!--箭头-->
<!--箭头-->
<div
class=
"wipeUp"
></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://www.footseen.com/layer-v3.1.0/layer/layer.js'
></script>
<script>
<script>
...
...
b/downloadIos.html
View file @
0109e223
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
</div>
</div>
<!--箭头-->
<!--箭头-->
<div
class=
"wipeUp"
></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://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>
<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 @@
...
@@ -2,22 +2,22 @@
var
langList
=
[
var
langList
=
[
//中文 英文 阿拉伯文
//中文 英文 阿拉伯文
{
{
foot1
:
'儲值'
,
foot1
:
'儲值'
,
foot2
:
'下載APP'
,
foot2
:
'下載APP'
,
foot3
:
'邀請碼:'
,
foot3
:
'邀請碼:'
,
foot4
:
'複製成功'
,
foot4
:
'複製成功'
,
},
},
{
{
foot1
:
'Top-up'
,
foot1
:
'Top-up'
,
foot2
:
'Download APP'
,
foot2
:
'Download APP'
,
foot3
:
'Invitation code:'
,
foot3
:
'Invitation code:'
,
foot4
:
'Copy success'
,
foot4
:
'Copy success'
,
},
},
{
{
foot1
:
'شحن'
,
foot1
:
'شحن'
,
foot2
:
'تحميل التطبيق'
,
foot2
:
'تحميل التطبيق'
,
foot3
:
'شفرة الدعوة:'
,
foot3
:
'شفرة الدعوة:'
,
foot4
:
'تم النسخ بنجاح'
,
foot4
:
'تم النسخ بنجاح'
,
},
},
{
{
foot1
:
"giá trị được lưu trữ"
,
foot1
:
"giá trị được lưu trữ"
,
...
@@ -25,14 +25,14 @@ var langList = [
...
@@ -25,14 +25,14 @@ var langList = [
}
}
]
]
var
langType
=
0
;
var
langType
=
0
;
var
langStr
=
(
navigator
.
language
||
navigator
.
browserLanguage
).
toLowerCase
();
var
langStr
=
(
navigator
.
language
||
navigator
.
browserLanguage
).
toLowerCase
();
if
(
sessionStorage
.
lang
==
undefined
||
sessionStorage
.
lang
==
'undefined'
)
{
if
(
sessionStorage
.
lang
==
undefined
||
sessionStorage
.
lang
==
'undefined'
)
{
if
(
langStr
.
indexOf
(
'ar'
)
>=
0
)
{
if
(
langStr
.
indexOf
(
'ar'
)
>=
0
)
{
sessionStorage
.
lang
=
7
;
sessionStorage
.
lang
=
7
;
$
(
'.langTitle font'
).
html
(
'العربية'
);
$
(
'.langTitle font'
).
html
(
'العربية'
);
langType
=
2
;
langType
=
2
;
$
(
'.langList p'
).
eq
(
2
).
addClass
(
'check'
);
$
(
'.langList p'
).
eq
(
2
).
addClass
(
'check'
);
}
else
if
(
langStr
.
indexOf
(
'zh'
)
>=
0
)
{
}
else
if
(
langStr
.
indexOf
(
'zh'
)
>=
0
)
{
sessionStorage
.
lang
=
2
;
sessionStorage
.
lang
=
2
;
$
(
'.langTitle font'
).
html
(
'繁體中文'
);
$
(
'.langTitle font'
).
html
(
'繁體中文'
);
langType
=
0
;
langType
=
0
;
...
@@ -44,15 +44,15 @@ if(sessionStorage.lang == undefined || sessionStorage.lang == 'undefined'){
...
@@ -44,15 +44,15 @@ if(sessionStorage.lang == undefined || sessionStorage.lang == 'undefined'){
$
(
'.langList p'
).
eq
(
1
).
addClass
(
'check'
);
$
(
'.langList p'
).
eq
(
1
).
addClass
(
'check'
);
}
}
}
else
{
}
else
{
if
(
sessionStorage
.
lang
==
7
)
{
if
(
sessionStorage
.
lang
==
7
)
{
langType
=
2
;
langType
=
2
;
$
(
'.langTitle font'
).
html
(
'العربية'
);
$
(
'.langTitle font'
).
html
(
'العربية'
);
$
(
'.langList p'
).
eq
(
2
).
addClass
(
'check'
);
$
(
'.langList p'
).
eq
(
2
).
addClass
(
'check'
);
}
else
if
(
sessionStorage
.
lang
==
2
)
{
}
else
if
(
sessionStorage
.
lang
==
2
)
{
langType
=
0
;
langType
=
0
;
$
(
'.langTitle font'
).
html
(
'繁體中文'
);
$
(
'.langTitle font'
).
html
(
'繁體中文'
);
$
(
'.langList p'
).
eq
(
0
).
addClass
(
'check'
);
$
(
'.langList p'
).
eq
(
0
).
addClass
(
'check'
);
}
else
if
(
sessionStorage
.
lang
==
8
)
{
}
else
if
(
sessionStorage
.
lang
==
8
)
{
langType
=
3
;
langType
=
3
;
$
(
'.langTitle font'
).
html
(
'Tiếng Việt'
);
$
(
'.langTitle font'
).
html
(
'Tiếng Việt'
);
$
(
'.langList p'
).
eq
(
3
).
addClass
(
'check'
);
$
(
'.langList p'
).
eq
(
3
).
addClass
(
'check'
);
...
@@ -63,53 +63,55 @@ if(sessionStorage.lang == undefined || sessionStorage.lang == 'undefined'){
...
@@ -63,53 +63,55 @@ if(sessionStorage.lang == undefined || sessionStorage.lang == 'undefined'){
}
}
}
}
$
(
function
()
{
$
(
function
()
{
lang
();
lang
();
$
(
'.langTitle'
).
on
(
'click'
,
function
(
e
)
{
$
(
'.langTitle'
).
on
(
'click'
,
function
(
e
)
{
$
(
'.langList'
).
show
();
$
(
'.langList'
).
show
();
$
(
'.langTitle img'
).
attr
(
'src'
,
'https://footseen.com/img/up2.png'
);
$
(
'.langTitle img'
).
attr
(
'src'
,
'https://footseen.com/img/up2.png'
);
e
.
stopPropagation
();
e
.
stopPropagation
();
})
})
$
(
'.langList p'
).
on
(
'click'
,
function
(
e
)
{
$
(
'.langList p'
).
on
(
'click'
,
function
(
e
)
{
$
(
this
).
addClass
(
'check'
).
siblings
().
removeClass
(
'check'
);
$
(
this
).
addClass
(
'check'
).
siblings
().
removeClass
(
'check'
);
$
(
'.langTitle font'
).
html
(
$
(
this
).
html
());
$
(
'.langTitle font'
).
html
(
$
(
this
).
html
());
$
(
'.langList'
).
hide
();
$
(
'.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'
);
sessionStorage
.
lang
=
$
(
this
).
attr
(
'data-lang'
);
lang
();
lang
();
e
.
stopPropagation
();
e
.
stopPropagation
();
})
})
$
(
document
).
on
(
'click'
,
function
(
e
)
{
$
(
document
).
on
(
'click'
,
function
(
e
)
{
$
(
'.langList'
).
hide
();
$
(
'.langList'
).
hide
();
$
(
'.langTitle img'
).
attr
(
'src'
,
'https://footseen.com/img/down2.png'
);
$
(
'.langTitle img'
).
attr
(
'src'
,
'https://footseen.com/img/down2.png'
);
e
.
stopPropagation
();
e
.
stopPropagation
();
})
})
})
})
function
lang
(){
function
lang
()
{
if
(
sessionStorage
.
lang
==
1
)
{
if
(
sessionStorage
.
lang
==
1
)
{
langType
=
1
;
langType
=
1
;
}
else
if
(
sessionStorage
.
lang
==
2
)
{
}
else
if
(
sessionStorage
.
lang
==
2
)
{
langType
=
0
;
langType
=
0
;
}
else
if
(
sessionStorage
.
lang
==
7
)
{
}
else
if
(
sessionStorage
.
lang
==
7
)
{
langType
=
2
;
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
);
$
(
'.topUp'
).
html
(
langList
[
langType
].
foot1
);
$
(
'.iosDown'
).
html
(
langList
[
langType
].
foot2
);
$
(
'.iosDown'
).
html
(
langList
[
langType
].
foot2
);
$
(
'.btnPage2'
).
html
(
langList
[
langType
].
foot2
);
$
(
'.btnPage2'
).
html
(
langList
[
langType
].
foot2
);
}
}
function
getRequest
()
{
function
getRequest
()
{
var
url
=
location
.
href
;
var
url
=
location
.
href
;
var
theRequest
=
new
Object
();
var
theRequest
=
new
Object
();
if
(
url
.
indexOf
(
"?"
)
!=
-
1
)
{
if
(
url
.
indexOf
(
"?"
)
!=
-
1
)
{
var
str
=
url
.
substr
(
url
.
indexOf
(
"?"
)
+
1
);
var
str
=
url
.
substr
(
url
.
indexOf
(
"?"
)
+
1
);
strs
=
str
.
split
(
"&"
);
strs
=
str
.
split
(
"&"
);
for
(
var
i
=
0
;
i
<
strs
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
strs
.
length
;
i
++
)
{
theRequest
[
strs
[
i
].
split
(
"="
)[
0
]]
=
unescape
(
strs
[
i
].
split
(
"="
)[
1
]);
theRequest
[
strs
[
i
].
split
(
"="
)[
0
]]
=
unescape
(
strs
[
i
].
split
(
"="
)[
1
]);
}
}
}
}
return
theRequest
;
return
theRequest
;
}
}
\ No newline at end of file
\ 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