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
372c1036
authored
Oct 16, 2020
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
footseen邀请测试
parent
0f27fd87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
16 deletions
test.html
test2.html
test.html
View file @
372c1036
...
...
@@ -76,8 +76,7 @@
</div>
<img
src=
"https://www.footseen.com/img/logo.png"
class=
"logo"
/>
<a
class=
"topUp"
></a>
<div
class=
"iosDown heartbeat"
data-clipboard-action=
"copy"
data-clipboard-target=
"#target"
id=
"copy_btn"
></div>
<span
id=
"target"
></span>
<div
class=
"iosDown heartbeat"
></div>
<div
class=
"swiper-container androidSwiper hide"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-slide"
>
...
...
@@ -96,14 +95,11 @@
<div
class=
"andoridBottom"
></div>
<div
class=
"arBottom"
></div>
</div>
</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
src=
"js/clipboard.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://www.footseen.com/js/langAndorid.js?v=202003301518"
></script>
<script
src=
'https://www.footseen.com/layer-v3.1.0/layer/layer.js'
></script>
<script
type=
"text/javascript"
>
function
browserRedirect
(
msg
)
{
var
sUserAgent
=
navigator
.
userAgent
.
toLowerCase
();
...
...
@@ -126,7 +122,11 @@
var
userAgent
=
navigator
.
userAgent
;
//取得浏览器的userAgent字符串
$
(
".iosDown"
).
on
(
"click"
,
function
()
{
var
data
=
OpenInstall
.
parseUrlParams
();
var
data
=
{
"bingdType"
:
getRequest
().
bindType
,
"lang"
:
sessionStorage
.
lang
,
"type"
:
getRequest
().
type
,
};
var
userAgent
=
navigator
.
userAgent
;
//取得浏览器的userAgent字符串
if
(
userAgent
.
indexOf
(
"Line"
)
>
-
1
)
{
if
(
sessionStorage
.
lang
==
7
){
...
...
@@ -137,10 +137,7 @@
$
(
".masking.L_En"
).
fadeIn
(
500
);
}
}
else
{
// console.info('Action:', e.action);
// console.info('Text:', e.text);
// console.info('Trigger:', e.trigger);
// e.clearSelection();
copyText
(
JSON
.
stringify
(
data
));
setTimeout
(
function
(){
new
OpenInstall
({
appKey
:
"tsy5ov"
,
...
...
@@ -161,11 +158,26 @@
$
(
'.topUp'
).
on
(
'click'
,
function
(){
window
.
location
.
href
=
'https://www.footseen.com/footseen/phonepay/applepay.html?lang='
+
sessionStorage
.
lang
+
'&gofrom=web&cidStr=h5_footseengw'
;
})
$
(
document
).
ready
(
function
(){
var
targetText
=
$
(
"#target"
).
text
();
var
clipboard
=
new
Clipboard
(
'#copy_btn'
);
});
$
(
"#target"
).
text
(
getRequest
().
agentCode
)
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
;
}
function
getRequest
()
{
var
url
=
location
.
href
;
var
theRequest
=
new
Object
();
...
...
test2.html
View file @
372c1036
...
...
@@ -54,7 +54,12 @@
<script
src=
'https://www.footseen.com/layer-v3.1.0/layer/layer.js'
></script>
<script
type=
"text/javascript"
>
var
data
=
OpenInstall
.
parseUrlParams
();
//var data = OpenInstall.parseUrlParams();
var
data
=
{
"bingdType"
:
getRequest
().
bindType
,
"lang"
:
sessionStorage
.
lang
,
"type"
:
getRequest
().
type
,
};
$
(
'.iosDown'
).
on
(
'click'
,
function
(){
new
OpenInstall
({
appKey
:
"dzxj4c"
,
...
...
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