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
Oct 15, 2020
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 @@
<html
lang=
"en"
>
<head>
<script
type=
"text/javascript"
src=
"//res.cdn.openinstall.io/openinstall.js"
></script>
<meta
charset=
"UTF-8"
>
<meta
name=
"renderer"
content=
"webkit"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
...
...
@@ -20,9 +19,55 @@
<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"
>
<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>
<body>
<div
class=
"main"
>
<div
class=
"main
bg1
"
>
<span
class=
"langTitle"
><img
src=
"https://www.footseen.com/img/down2.png"
/><font></font></span>
<div
class=
"langList"
>
<p
data-lang=
"2"
>
繁體中文
</p>
...
...
@@ -31,86 +76,65 @@
</div>
<img
src=
"https://www.footseen.com/img/logo.png"
class=
"logo"
/>
<a
class=
"topUp"
></a>
<div
id=
"iosDown"
class=
"iosDown heartbeat"
></div>
<img
src=
"https://www.footseen.com/img/live.png"
class=
"live"
/>
<div
class=
"swiper-container hide"
>
<div
class=
"iosDown heartbeat"
></div>
<div
class=
"swiper-container androidSwiper hide"
>
<div
class=
"swiper-wrapper"
>
<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
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
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
class=
"swiper-pagination"
></div>
</div>
<div
class=
"andoridDesc"
></div>
<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
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
type=
"text/javascript"
>
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
]);
function
browserRedirect
()
{
var
sUserAgent
=
navigator
.
userAgent
.
toLowerCase
();
var
bIsIpad
=
sUserAgent
.
match
(
/ipad/i
)
==
"ipad"
;
var
bIsIphoneOs
=
sUserAgent
.
match
(
/iphone os/i
)
==
"iphone os"
;
var
bIsMidp
=
sUserAgent
.
match
(
/midp/i
)
==
"midp"
;
var
bIsUc7
=
sUserAgent
.
match
(
/rv:1.2.3.4/i
)
==
"rv:1.2.3.4"
;
var
bIsUc
=
sUserAgent
.
match
(
/ucweb/i
)
==
"ucweb"
;
var
bIsAndroid
=
sUserAgent
.
match
(
/android/i
)
==
"android"
;
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
;
var
iosData
=
''
;
var
andoridData
=
''
;
if
(
params
!=
undefined
&&
params
.
length
>
0
){
//定义设备号
if
(
params
.
substring
(
0
,
3
)
==
'ios'
){
iosData
=
params
;
andoridData
=
params
.
substring
(
3
,
params
.
length
);
}
else
{
iosData
=
'ios'
+
params
;
andoridData
=
params
;
}
$
(
".iosDown"
).
on
(
"click"
,
function
()
{
var
data
=
OpenInstall
.
parseUrlParams
();
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
{
iosData
=
'iosfts'
;
andoridData
=
'fts'
;
}
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
;
$
(
'.masking img'
).
att
(
'src'
,
'https://footseen.com/img/fx_en.png'
);
$
(
".masking.L_En"
).
fadeIn
(
500
);
}
return
false
;
}
},
data
);
}
else
{
copyText
(
JSON
.
stringify
(
data
));
setTimeout
(
function
(){
new
OpenInstall
({
appKey
:
"dzxj4c"
,
preferWakeup
:
true
,
...
...
@@ -120,60 +144,37 @@
onready
:
function
()
{
var
m
=
this
,
button
=
document
.
getElementById
(
"iosDown"
);
m
.
schemeWakeup
();
setTimeout
(
function
()
{
m
.
wakeupOrInstall
();
},
2000
)
button
.
onclick
=
function
()
{
setTimeout
(
function
(){
m
.
wakeupOrInstall
();
return
false
;
}
return
false
;
},
1000
)
}
},
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
(){
var
obj
=
{
'lala01'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen01.apk'
,
'lala02'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen02.apk'
,
'lala03'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen03.apk'
,
'lala04'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen04.apk'
,
'lala05'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen05.apk'
,
'lala06'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen06.apk'
,
'lala07'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen07.apk'
,
'lala08'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen08.apk'
,
'lala09'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen09.apk'
,
'lala10'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen10.apk'
,
'lala11'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen11.apk'
,
'lala12'
:
'https://zhibocdn.yabolive.net/apk/nf/footseen12.apk'
,
'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'
;
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
;
}
$
(
'.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>
</html>
test2.html
View file @
86e8d145
...
...
@@ -19,10 +19,9 @@
<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"
>
<title>
Foot Seen
</title>
</head>
<body>
<div
class=
"main
bg1
"
>
<div
class=
"main"
>
<span
class=
"langTitle"
><img
src=
"https://www.footseen.com/img/down2.png"
/><font></font></span>
<div
class=
"langList"
>
<p
data-lang=
"2"
>
繁體中文
</p>
...
...
@@ -32,60 +31,31 @@
<img
src=
"https://www.footseen.com/img/logo.png"
class=
"logo"
/>
<a
class=
"topUp"
></a>
<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-slide"
>
<img
src=
"https://www.footseen.com/img/
an
img1_cn.png"
/>
<img
src=
"https://www.footseen.com/img/img1_cn.png"
/>
</div>
<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
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
class=
"swiper-pagination"
></div>
</div>
<div
class=
"andoridDesc"
></div>
<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
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
type=
"text/javascript"
>
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
var
userAgent
=
navigator
.
userAgent
;
//取得浏览器的userAgent字符串
var
params
=
url_get_params
().
icid
;
var
andoridData
=
''
;
if
(
params
!=
undefined
&&
params
.
length
>
0
){
//定义设备号
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
)
<script
type=
"text/javascript"
>
var
data
=
OpenInstall
.
parseUrlParams
();
$
(
'.iosDown'
).
on
(
'click'
,
function
(){
new
OpenInstall
({
appKey
:
"dzxj4c"
,
preferWakeup
:
true
,
...
...
@@ -101,44 +71,9 @@
},
1000
)
}
},
data
);
}
})
})
$
(
'.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>
</html>
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