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
86e8d145
authored
4 years ago
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
邀请有奖测试
parent
0cf18f06
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
118 additions
and
182 deletions
test.html
test2.html
test.html
View file @
86e8d145
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<script
type=
"text/javascript"
src=
"//res.cdn.openinstall.io/openinstall.js"
></script>
<script
type=
"text/javascript"
src=
"//res.cdn.openinstall.io/openinstall.js"
></script>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<meta
name=
"renderer"
content=
"webkit"
>
<meta
name=
"renderer"
content=
"webkit"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
...
@@ -20,9 +19,55 @@
...
@@ -20,9 +19,55 @@
<link
rel=
"stylesheet"
href=
"https://www.footseen.com/css/inedx.css"
>
<link
rel=
"stylesheet"
href=
"https://www.footseen.com/css/inedx.css"
>
<link
rel=
"stylesheet"
href=
"https://www.footseen.com/layer-v3.1.0/layer.css"
>
<link
rel=
"stylesheet"
href=
"https://www.footseen.com/layer-v3.1.0/layer.css"
>
<title>
Foot Seen
</title>
<title>
Foot Seen
</title>
<style
type=
"text/css"
>
.layer-box
{
width
:
7.2rem
;
height
:
6.973rem
;
background
:
url(https://www.footseen.com/img/phonembg.png)
no-repeat
;
background-size
:
100%
100%
;
position
:
relative
;
}
.layui-layer-close2
{
display
:
none
!important
;
}
.layui-layer
{
border-radius
:
0.5rem
!important
;
}
.layui-layer-page
.layui-layer-content
{
border-radius
:
0.5rem
!important
;
}
.googleDown
,
.apkDown
{
background
:
url(https://www.footseen.com/img/btngp.png)
no-repeat
;
background-size
:
100%
100%
;
width
:
4.813rem
;
height
:
1.2rem
;
line-height
:
1.2rem
;
position
:
absolute
;
top
:
1.733rem
;
left
:
50%
;
transform
:
translate
(
-50%
,
0
);
-webkit-transform
:
translate
(
-50%
,
0
);
text-align
:
center
;
font-size
:
0.426rem
;
color
:
#FFF
;
}
.apkDown
{
top
:
3.933rem
;
}
.googleDown
img
,
.apkDown
img
{
width
:
0.373rem
;
height
:
0.413rem
;
vertical-align
:
middle
;
margin-top
:
-.05rem
;
margin-right
:
0.133rem
;
}
</style>
</head>
</head>
<body>
<body>
<div
class=
"main"
>
<div
class=
"main
bg1
"
>
<span
class=
"langTitle"
><img
src=
"https://www.footseen.com/img/down2.png"
/><font></font></span>
<span
class=
"langTitle"
><img
src=
"https://www.footseen.com/img/down2.png"
/><font></font></span>
<div
class=
"langList"
>
<div
class=
"langList"
>
<p
data-lang=
"2"
>
繁體中文
</p>
<p
data-lang=
"2"
>
繁體中文
</p>
...
@@ -31,86 +76,65 @@
...
@@ -31,86 +76,65 @@
</div>
</div>
<img
src=
"https://www.footseen.com/img/logo.png"
class=
"logo"
/>
<img
src=
"https://www.footseen.com/img/logo.png"
class=
"logo"
/>
<a
class=
"topUp"
></a>
<a
class=
"topUp"
></a>
<div
id=
"iosDown"
class=
"iosDown heartbeat"
></div>
<div
class=
"iosDown heartbeat"
></div>
<img
src=
"https://www.footseen.com/img/live.png"
class=
"live"
/>
<div
class=
"swiper-container androidSwiper hide"
>
<div
class=
"swiper-container hide"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-slide"
>
<div
class=
"swiper-slide"
>
<img
src=
"https://www.footseen.com/img/img1_cn.png"
/>
<img
src=
"https://www.footseen.com/img/
an
img1_cn.png"
/>
</div>
</div>
<div
class=
"swiper-slide"
>
<div
class=
"swiper-slide"
>
<img
src=
"https://www.footseen.com/img/img2_cn.png"
/>
<img
src=
"https://www.footseen.com/img/
an
img2_cn.png"
/>
</div>
</div>
<div
class=
"swiper-slide"
>
<div
class=
"swiper-slide"
>
<img
src=
"https://www.footseen.com/img/img3_cn.png"
/>
<img
src=
"https://www.footseen.com/img/
an
img3_cn.png"
/>
</div>
</div>
</div>
</div>
<div
class=
"swiper-pagination"
></div>
<div
class=
"swiper-pagination"
></div>
</div>
</div>
<div
class=
"andoridDesc"
></div>
<div
class=
"andoridBottom"
></div>
<div
class=
"arBottom"
></div>
</div>
</div>
</body>
</body>
<script
src=
"https://www.footseen.com/js/jquery-3.1.1.min.js"
></script>
<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=
"https://www.footseen.com/js/swiper.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://www.footseen.com/js/langIos.js?v=202003301517
"
></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
src=
'https://www.footseen.com/layer-v3.1.0/layer/layer.js'
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
function
browserRedirect
()
{
function
url_get_params
()
{
var
sUserAgent
=
navigator
.
userAgent
.
toLowerCase
();
var
url
=
location
.
href
;
var
bIsIpad
=
sUserAgent
.
match
(
/ipad/i
)
==
"ipad"
;
var
theRequest
=
new
Object
();
var
bIsIphoneOs
=
sUserAgent
.
match
(
/iphone os/i
)
==
"iphone os"
;
if
(
url
.
indexOf
(
"?"
)
!=
-
1
)
{
var
bIsMidp
=
sUserAgent
.
match
(
/midp/i
)
==
"midp"
;
var
str
=
url
.
substr
(
url
.
indexOf
(
"?"
)
+
1
);
var
bIsUc7
=
sUserAgent
.
match
(
/rv:1.2.3.4/i
)
==
"rv:1.2.3.4"
;
strs
=
str
.
split
(
"&"
);
var
bIsUc
=
sUserAgent
.
match
(
/ucweb/i
)
==
"ucweb"
;
for
(
var
i
=
0
;
i
<
strs
.
length
;
i
++
)
{
var
bIsAndroid
=
sUserAgent
.
match
(
/android/i
)
==
"android"
;
theRequest
[
strs
[
i
].
split
(
"="
)[
0
]]
=
unescape
(
strs
[
i
].
split
(
"="
)[
1
]);
var
bIsCE
=
sUserAgent
.
match
(
/windows ce/i
)
==
"windows ce"
;
var
bIsWM
=
sUserAgent
.
match
(
/windows mobile/i
)
==
"windows mobile"
;
if
(
!
(
bIsIpad
||
bIsIphoneOs
||
bIsMidp
||
bIsUc7
||
bIsUc
||
bIsAndroid
||
bIsCE
||
bIsWM
)
){
}
}
else
{
window
.
location
.
href
=
'test2.html'
+
location
.
search
;
}
}
return
theRequest
;
}
}
browserRedirect
();
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
var
userAgent
=
navigator
.
userAgent
;
//取得浏览器的userAgent字符串
var
params
=
url_get_params
().
icid
;
$
(
".iosDown"
).
on
(
"click"
,
function
()
{
var
data
=
OpenInstall
.
parseUrlParams
();
var
iosData
=
''
;
var
userAgent
=
navigator
.
userAgent
;
//取得浏览器的userAgent字符串
var
andoridData
=
''
;
if
(
userAgent
.
indexOf
(
"Line"
)
>
-
1
)
{
if
(
params
!=
undefined
&&
params
.
length
>
0
){
if
(
sessionStorage
.
lang
==
7
){
//定义设备号
$
(
'.masking img'
).
att
(
'src'
,
'https://footseen.com/img/fx.png'
);
if
(
params
.
substring
(
0
,
3
)
==
'ios'
){
$
(
".masking"
).
fadeIn
(
500
);
iosData
=
params
;
andoridData
=
params
.
substring
(
3
,
params
.
length
);
}
else
{
iosData
=
'ios'
+
params
;
andoridData
=
params
;
}
}
else
{
}
else
{
iosData
=
'iosfts'
;
$
(
'.masking img'
).
att
(
'src'
,
'https://footseen.com/img/fx_en.png'
);
andoridData
=
'fts'
;
$
(
".masking.L_En"
).
fadeIn
(
500
);
}
console
.
log
(
iosData
,
andoridData
)
var
ua
=
window
.
navigator
.
userAgent
.
toLowerCase
();
if
(
/iphone|ipad|ipod/
.
test
(
ua
)){
var
data
=
{
icid
:
iosData
}
if
(
iosData
.
indexOf
(
'iosftscps'
)
>-
1
){
new
OpenInstall
({
appKey
:
"dzxj4c"
,
preferWakeup
:
true
,
mask
:
function
()
{
return
'
<
div
id
=
"openinstall_shadow"
class
=
"shadow-img"
><
img
src
=
"images/share-img.png"
alt
=
""
><
/div>
'
},
onready
:
function
()
{
var
m
=
this
,
button
=
document
.
getElementById
(
"iosDown"
);
m
.
schemeWakeup
();
button
.
onclick
=
function
()
{
m
.
wakeupOrInstall
();
return
false
;
}
}
return
false
;
}
},
data
);
}
else
{
}
else
{
copyText
(
JSON
.
stringify
(
data
));
setTimeout
(
function
(){
new
OpenInstall
({
new
OpenInstall
({
appKey
:
"dzxj4c"
,
appKey
:
"dzxj4c"
,
preferWakeup
:
true
,
preferWakeup
:
true
,
...
@@ -120,60 +144,37 @@
...
@@ -120,60 +144,37 @@
onready
:
function
()
{
onready
:
function
()
{
var
m
=
this
,
button
=
document
.
getElementById
(
"iosDown"
);
var
m
=
this
,
button
=
document
.
getElementById
(
"iosDown"
);
m
.
schemeWakeup
();
m
.
schemeWakeup
();
setTimeout
(
function
()
{
setTimeout
(
function
(){
m
.
wakeupOrInstall
();
},
2000
)
button
.
onclick
=
function
()
{
m
.
wakeupOrInstall
();
m
.
wakeupOrInstall
();
return
false
;
return
false
;
}
},
1000
)
return
false
;
}
}
},
data
);
},
data
);
},
500
)
}
}
}
else
{
setTimeout
(
function
(){
toDown
();
$
(
'.iosDown'
).
on
(
'click'
,
function
(){
toDown
();
})
})
},
800
)
$
(
'.topUp'
).
on
(
'click'
,
function
(){
}
window
.
location
.
href
=
'https://www.footseen.com/footseen/phonepay/applepay.html?lang='
+
sessionStorage
.
lang
+
'&gofrom=web&cidStr=h5_footseengw'
;
})
function
toDown
(){
function
copyText
(
text
)
{
var
obj
=
{
var
textarea
=
document
.
createElement
(
"textarea"
);
'lala01'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen01.apk'
,
var
currentFocus
=
document
.
activeElement
;
'lala02'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen02.apk'
,
document
.
body
.
appendChild
(
textarea
);
'lala03'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen03.apk'
,
textarea
.
value
=
text
;
'lala04'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen04.apk'
,
textarea
.
focus
();
'lala05'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen05.apk'
,
if
(
textarea
.
setSelectionRange
)
'lala06'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen06.apk'
,
textarea
.
setSelectionRange
(
0
,
textarea
.
value
.
length
);
'lala07'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen07.apk'
,
else
'lala08'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen08.apk'
,
textarea
.
select
();
'lala09'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen09.apk'
,
try
{
'lala10'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen10.apk'
,
var
flag
=
document
.
execCommand
(
"copy"
);
'lala11'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen11.apk'
,
}
catch
(
eo
){
'lala12'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen12.apk'
,
var
flag
=
false
;
'lala13'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen13.apk'
,
'lala14'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen14.apk'
,
'lala15'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen15.apk'
,
'lala16'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen16.apk'
,
'lala17'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen17.apk'
,
'lala18'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen18.apk'
,
'lala19'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen19.apk'
,
'lala20'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen20.apk'
,
'ftscps1'
:
'https://footseen.com/ftscps1/apk'
,
'ftscps2'
:
'https://footseen.com/ftscps2/apk'
,
}
if
(
obj
[
andoridData
]
!=
undefined
){
window
.
location
.
href
=
obj
[
andoridData
]
}
else
{
window
.
location
.
href
=
'https://www.footseen.com/apk'
;
}
}
document
.
body
.
removeChild
(
textarea
);
currentFocus
.
focus
();
return
flag
;
}
}
$
(
'.topUp'
).
on
(
'click'
,
function
(){
window
.
location
.
href
=
'http://www.yabolive.tv/footseen/phonepay/applepay.html?lang='
+
sessionStorage
.
lang
+
'&gofrom=web'
+
'&gofrom=web&cidStr=h5_footseengw'
;
})
</script>
</script>
</html>
</html>
This diff is collapsed.
Click to expand it.
test2.html
View file @
86e8d145
...
@@ -19,10 +19,9 @@
...
@@ -19,10 +19,9 @@
<link
rel=
"stylesheet"
href=
"https://www.footseen.com/css/inedx.css"
>
<link
rel=
"stylesheet"
href=
"https://www.footseen.com/css/inedx.css"
>
<link
rel=
"stylesheet"
href=
"https://www.footseen.com/layer-v3.1.0/layer.css"
>
<link
rel=
"stylesheet"
href=
"https://www.footseen.com/layer-v3.1.0/layer.css"
>
<title>
Foot Seen
</title>
<title>
Foot Seen
</title>
</head>
</head>
<body>
<body>
<div
class=
"main
bg1
"
>
<div
class=
"main"
>
<span
class=
"langTitle"
><img
src=
"https://www.footseen.com/img/down2.png"
/><font></font></span>
<span
class=
"langTitle"
><img
src=
"https://www.footseen.com/img/down2.png"
/><font></font></span>
<div
class=
"langList"
>
<div
class=
"langList"
>
<p
data-lang=
"2"
>
繁體中文
</p>
<p
data-lang=
"2"
>
繁體中文
</p>
...
@@ -32,60 +31,31 @@
...
@@ -32,60 +31,31 @@
<img
src=
"https://www.footseen.com/img/logo.png"
class=
"logo"
/>
<img
src=
"https://www.footseen.com/img/logo.png"
class=
"logo"
/>
<a
class=
"topUp"
></a>
<a
class=
"topUp"
></a>
<div
class=
"iosDown heartbeat"
></div>
<div
class=
"iosDown heartbeat"
></div>
<div
class=
"swiper-container androidSwiper hide"
>
<img
src=
"https://www.footseen.com/img/live.png"
class=
"live"
/>
<div
class=
"swiper-container hide"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-slide"
>
<div
class=
"swiper-slide"
>
<img
src=
"https://www.footseen.com/img/
an
img1_cn.png"
/>
<img
src=
"https://www.footseen.com/img/img1_cn.png"
/>
</div>
</div>
<div
class=
"swiper-slide"
>
<div
class=
"swiper-slide"
>
<img
src=
"https://www.footseen.com/img/
an
img2_cn.png"
/>
<img
src=
"https://www.footseen.com/img/img2_cn.png"
/>
</div>
</div>
<div
class=
"swiper-slide"
>
<div
class=
"swiper-slide"
>
<img
src=
"https://www.footseen.com/img/
an
img3_cn.png"
/>
<img
src=
"https://www.footseen.com/img/img3_cn.png"
/>
</div>
</div>
</div>
</div>
<div
class=
"swiper-pagination"
></div>
<div
class=
"swiper-pagination"
></div>
</div>
</div>
<div
class=
"andoridDesc"
></div>
<div
class=
"andoridBottom"
></div>
<div
class=
"arBottom"
></div>
</div>
</div>
</body>
</body>
<script
src=
"https://www.footseen.com/js/jquery-3.1.1.min.js"
></script>
<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=
"https://www.footseen.com/js/swiper.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://www.footseen.com/js/langAndorid.js?v=202003301518
"
></script>
<script
type=
"text/javascript"
src=
"https://www.footseen.com/js/langIos.js?v=202003301517
"
></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
type=
"text/javascript"
>
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
var
userAgent
=
navigator
.
userAgent
;
//取得浏览器的userAgent字符串
var
params
=
url_get_params
().
icid
;
var
andoridData
=
''
;
<script
type=
"text/javascript"
>
if
(
params
!=
undefined
&&
params
.
length
>
0
){
var
data
=
OpenInstall
.
parseUrlParams
();
//定义设备号
$
(
'.iosDown'
).
on
(
'click'
,
function
(){
if
(
params
.
substring
(
0
,
4
)
==
'lala'
||
params
.
substring
(
0
,
3
)
==
'fts'
){
andoridData
=
params
;
}
else
{
andoridData
=
'ftsgp'
;
}
}
else
{
andoridData
=
'ftsgp'
;
}
var
data
=
{
'icid'
:
andoridData
};
console
.
log
(
data
)
$
(
".iosDown"
).
on
(
"click"
,
function
()
{
var
userAgent
=
navigator
.
userAgent
;
//取得浏览器的userAgent字符串
if
(
userAgent
.
indexOf
(
"Line"
)
>
-
1
)
{
if
(
sessionStorage
.
lang
==
7
){
$
(
'.masking img'
).
att
(
'src'
,
'https://footseen.com/img/fx.png'
);
$
(
".masking"
).
fadeIn
(
500
);
}
else
{
$
(
'.masking img'
).
att
(
'src'
,
'https://footseen.com/img/fx_en.png'
);
$
(
".masking.L_En"
).
fadeIn
(
500
);
}
}
else
{
copyText
(
'footseen#'
+
andoridData
)
new
OpenInstall
({
new
OpenInstall
({
appKey
:
"dzxj4c"
,
appKey
:
"dzxj4c"
,
preferWakeup
:
true
,
preferWakeup
:
true
,
...
@@ -101,44 +71,9 @@
...
@@ -101,44 +71,9 @@
},
1000
)
},
1000
)
}
}
},
data
);
},
data
);
}
})
})
$
(
'.topUp'
).
on
(
'click'
,
function
(){
$
(
'.topUp'
).
on
(
'click'
,
function
(){
window
.
location
.
href
=
'https://www.footseen.com/footseen/phonepay/applepay.html?lang='
+
sessionStorage
.
lang
+
'&gofrom=web&cidStr=h5_footseengw'
;
window
.
location
.
href
=
'https://www.footseen.com/footseen/phonepay/applepay.html?lang='
+
sessionStorage
.
lang
+
'&gofrom=web
'
+
'&gofrom=web
&cidStr=h5_footseengw'
;
})
})
function
url_get_params
()
{
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
;
}
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>
</script>
</html>
</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