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
e5f5024b
authored
Oct 21, 2020
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
邀请有奖
parent
379fd3b0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
24 deletions
js/langAndorid.js
js/langIos.js
test.html
test2.html
js/langAndorid.js
View file @
e5f5024b
...
...
@@ -30,7 +30,7 @@ var langList = [
foot10
:
''
,
foot11
:
'注:請將你的手機版本更新至安卓5.0以上,獲得更好的'
,
foot12
:
'Foot Seen體驗'
,
foot13
:
'邀
请码
:'
,
foot13
:
'邀
請碼
:'
,
foot14
:
'複製成功'
,
},
{
...
...
js/langIos.js
View file @
e5f5024b
...
...
@@ -23,7 +23,7 @@ var langList = [
foot3
:
'https://footseen.com/img/img2_cn.png'
,
foot4
:
'https://footseen.com/img/img3_cn.png'
,
foot5
:
'下載APP'
,
foot6
:
'邀
请码
:'
,
foot6
:
'邀
請碼
:'
,
foot7
:
'複製成功'
,
},
{
...
...
test.html
View file @
e5f5024b
...
...
@@ -131,11 +131,16 @@
<div
class=
"andoridDesc"
></div>
<div
class=
"andoridBottom"
></div>
<div
class=
"arBottom"
></div>
<div
style=
"display: none"
class=
"layer-box"
>
<div
class=
"googleDown"
><img
src=
"img/googleplay.png"
/><span>
Google play
</span></div>
<div
class=
"apkDown"
><img
src=
"img/andorid.png"
/><span>
APK
</span></div>
</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=2020102
01643
"
></script>
<script
type=
"text/javascript"
src=
"https://www.footseen.com/js/langAndorid.js?v=2020102
11044
"
></script>
<script
src=
'https://www.footseen.com/layer-v3.1.0/layer/layer.js'
></script>
<script
type=
"text/javascript"
>
...
...
@@ -158,14 +163,14 @@
browserRedirect
();
var
ua
=
navigator
.
userAgent
.
toLowerCase
();
var
userAgent
=
navigator
.
userAgent
;
//取得浏览器的userAgent字符串
$
(
".iosDown"
).
on
(
"click"
,
function
()
{
var
data
=
{
var
data
=
{
"bingdType"
:
getRequest
().
bindType
,
"lang"
:
sessionStorage
.
lang
,
"type"
:
getRequest
().
type
,
};
// var data = OpenInstall.parseUrlParams();
// var data = OpenInstall.parseUrlParams();
$
(
".iosDown"
).
on
(
"click"
,
function
()
{
var
userAgent
=
navigator
.
userAgent
;
//取得浏览器的userAgent字符串
if
(
userAgent
.
indexOf
(
"Line"
)
>
-
1
)
{
if
(
sessionStorage
.
lang
==
7
){
...
...
@@ -176,24 +181,38 @@
$
(
".masking.L_En"
).
fadeIn
(
500
);
}
}
else
{
setTimeout
(
function
(){
new
OpenInstall
({
appKey
:
"tsy5ov"
,
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
();
m
.
wakeupOrInstall
();
return
false
;
}
},
data
);
},
500
)
layer
.
open
({
type
:
1
,
title
:
false
,
shadeClose
:
true
,
area
:
[
"7.2rem"
,
"6.98rem"
],
content
:
$
(
".layer-box"
),
})
}
})
$
(
".googleDown"
).
on
(
"click"
,
function
()
{
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
();
setTimeout
(
function
(){
m
.
wakeupOrInstall
();
return
false
;
},
1000
)
}
},
data
);
})
$
(
".apkDown"
).
on
(
"click"
,
function
()
{
window
.
location
.
href
=
"apk"
;
})
$
(
'.topUp'
).
on
(
'click'
,
function
(){
window
.
location
.
href
=
'https://www.footseen.com/footseen/phonepay/applepay.html?lang='
+
sessionStorage
.
lang
+
'&gofrom=web&cidStr=h5_footseengw'
;
})
...
...
test2.html
View file @
e5f5024b
...
...
@@ -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=2020102
01649
"
></script>
<script
type=
"text/javascript"
src=
"https://www.footseen.com/js/langIos.js?v=2020102
11044
"
></script>
<script
src=
'https://www.footseen.com/layer-v3.1.0/layer/layer.js'
></script>
<script
type=
"text/javascript"
>
...
...
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