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
eaf3f3fb
authored
Oct 20, 2020
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
邀请分享
parent
8ae4c51b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
8 deletions
js/langAndorid.js
js/langIos.js
test.html
js/langAndorid.js
View file @
eaf3f3fb
...
...
@@ -30,7 +30,7 @@ var langList = [
foot10
:
''
,
foot11
:
'注:請將你的手機版本更新至安卓5.0以上,獲得更好的'
,
foot12
:
'Foot Seen體驗'
,
foot13
:
'邀请码'
,
foot13
:
'邀请码
:
'
,
},
{
foot1
:
'Top-up'
,
...
...
@@ -45,7 +45,7 @@ var langList = [
foot10
:
'4.Click Download and verify installing'
,
foot11
:
'Note:Please upgrade your mobile to Android 5.0'
,
foot12
:
'for a better experience'
,
foot13
:
'Invitation code'
,
foot13
:
'Invitation code
:
'
,
},
{
foot1
:
'العربية'
,
...
...
@@ -60,7 +60,7 @@ var langList = [
foot10
:
''
,
foot11
:
'تنبيه: يرجى تحديث نظام هاتفك إلى 5.0 أو أحدث منه للتمتع بالامتياز '
,
foot12
:
''
,
foot13
:
'شفرة الدعوة'
,
foot13
:
'شفرة الدعوة
:
'
,
}
]
var
langType
=
0
;
...
...
@@ -124,6 +124,7 @@ $(function(){
function
lang
(){
$
(
'.main'
).
removeClass
(
'L_Ar'
);
$
(
'.code span'
).
html
(
langList
[
langType
].
foot13
+
getRequest
().
agentCode
);
if
(
sessionStorage
.
lang
==
1
){
langType
=
1
;
}
else
if
(
sessionStorage
.
lang
==
2
){
...
...
js/langIos.js
View file @
eaf3f3fb
...
...
@@ -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
:
'邀请码
:
'
,
},
{
foot1
:
'Top-up'
,
...
...
@@ -31,7 +31,7 @@ var langList = [
foot3
:
'https://footseen.com/img/img2_en.png'
,
foot4
:
'https://footseen.com/img/img3_en.png'
,
foot5
:
'Download APP'
,
foot6
:
'Invitation code'
,
foot6
:
'Invitation code
:
'
,
},
{
foot1
:
'العربية'
,
...
...
@@ -39,7 +39,7 @@ var langList = [
foot3
:
'https://footseen.com/img/img2_ar.jpg'
,
foot4
:
'https://footseen.com/img/img3_ar.jpg'
,
foot5
:
'تحميل التطبيق'
,
foot6
:
'شفرة الدعوة'
,
foot6
:
'شفرة الدعوة
:
'
,
}
]
var
langType
=
0
;
...
...
@@ -79,6 +79,7 @@ if(sessionStorage.lang == undefined || sessionStorage.lang == 'undefined'){
$
(
function
(){
lang
();
$
(
'.code span'
).
html
(
langList
[
langType
].
foot13
+
getRequest
().
agentCode
);
$
(
'.langTitle'
).
on
(
'click'
,
function
(
e
){
$
(
'.langList'
).
show
();
$
(
'.langTitle img'
).
attr
(
'src'
,
'https://footseen.com/img/up2.png'
);
...
...
test.html
View file @
eaf3f3fb
...
...
@@ -63,7 +63,40 @@
margin-top
:
-.05rem
;
margin-right
:
0.133rem
;
}
.codeBox
{
position
:
absolute
;
left
:
0
;
top
:
11.7rem
;
width
:
100%
;
text-align
:
center
;
height
:
0.88rem
;
line-height
:
0.88rem
;
}
.code
{
position
:
relative
;
padding
:
0
0.4rem
;
height
:
0.88rem
;
line-height
:
0.88rem
;
text-align
:
center
;
font-size
:
0.4rem
;
z-index
:
50
;
color
:
#FFF
;
border-radius
:
0.666rem
;
-webkit-border-radius
:
0.666rem
;
-moz-border-radius
:
0.666rem
;
-ms-border-radius
:
0.666rem
;
-o-border-radius
:
0.666rem
;
background-color
:
rgba
(
0
,
0
,
0
,
.2
);
display
:
inline-block
;
}
.code
img
{
width
:
0.426rem
;
height
:
0.426rem
;
vertical-align
:
middle
;
display
:
inline-block
;
margin-top
:
-.05rem
;
margin-left
:
0.08rem
;
}
</style>
</head>
<body>
...
...
@@ -74,6 +107,10 @@
<p
data-lang=
"1"
>
English
</p>
<p
data-lang=
"7"
>
العربية
</p>
</div>
<!--邀请码-->
<div
class=
"codeBox"
>
<p
class=
"code"
><span></span><img
src=
"https://www.footseen.com/img/copy.png"
/></p>
</div>
<img
src=
"https://www.footseen.com/img/logo.png"
class=
"logo"
/>
<a
class=
"topUp"
></a>
<div
class=
"iosDown heartbeat"
></div>
...
...
@@ -98,9 +135,10 @@
</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=2020
03301518
"
></script>
<script
type=
"text/javascript"
src=
"https://www.footseen.com/js/langAndorid.js?v=2020
10201219
"
></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
();
var
bIsIpad
=
sUserAgent
.
match
(
/ipad/i
)
==
"ipad"
;
...
...
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