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
6cd8c2ef
authored
4 years ago
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
邀请分享
parent
192393df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
3 deletions
js/langAndorid.js
test2.html
js/langAndorid.js
View file @
6cd8c2ef
...
...
@@ -181,4 +181,17 @@ function lang(){
str2
+=
'<p class="andoridDescText andoridDescText2">'
+
langList
[
langType
].
foot11
+
'</p>'
;
str2
+=
'<p class="andoridDescText2">'
+
langList
[
langType
].
foot12
+
'</p>'
;
$
(
'.andoridDesc'
).
html
(
str2
);
}
\ No newline at end of file
}
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
This diff is collapsed.
Click to expand it.
test2.html
View file @
6cd8c2ef
...
...
@@ -90,7 +90,7 @@
</body>
<script
src=
"https://www.footseen.com/js/jquery-3.1.1.min.js"
></script>
<script
src=
"https://www.footseen.com/js/swiper.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://www.footseen.com/js/langIos.js?v=2020
03301517
"
></script>
<script
type=
"text/javascript"
src=
"https://www.footseen.com/js/langIos.js?v=2020
10201649
"
></script>
<script
src=
'https://www.footseen.com/layer-v3.1.0/layer/layer.js'
></script>
<script
type=
"text/javascript"
>
...
...
@@ -117,8 +117,35 @@
}
},
data
);
})
$
(
'.code img'
).
on
(
'click'
,
function
(){
copyText
(
getRequest
().
agentCode
);
setTimeout
(
function
(){
layer
.
msg
(
langList
[
langType
].
foot7
);
},
100
)
})
$
(
'.topUp'
).
on
(
'click'
,
function
(){
window
.
location
.
href
=
'https://www.footseen.com/footseen/phonepay/applepay.html?lang='
+
sessionStorage
.
lang
+
'&gofrom=web'
+
'&gofrom=web&cidStr=h5_footseengw'
;
})
function
copyText
(
text
)
{
var
textarea
=
document
.
createElement
(
"textarea"
);
var
currentFocus
=
document
.
activeElement
;
document
.
body
.
appendChild
(
textarea
);
textarea
.
value
=
text
;
textarea
.
focus
();
if
(
textarea
.
setSelectionRange
)
textarea
.
setSelectionRange
(
0
,
textarea
.
value
.
length
);
else
textarea
.
select
();
try
{
var
flag
=
document
.
execCommand
(
"copy"
);
}
catch
(
eo
){
var
flag
=
false
;
}
document
.
body
.
removeChild
(
textarea
);
currentFocus
.
focus
();
return
flag
;
}
</script>
</html>
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