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
79859ff9
authored
Dec 12, 2022
by
agan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加头部
parent
3b9024dc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
581 additions
and
426 deletions
footseen/phonepay/gash-phone.html
footseen/phonepay/idpay.html
footseen/phonepay/molpay.html
footseen/phonepay/payfor-new.html
footseen/phonepay/gash-phone.html
View file @
79859ff9
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
<head
lang=
"en"
>
<head
lang=
"en"
>
<!-- Global site tag (gtag.js) - Google Analytics -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black-translucent"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black-translucent"
>
<meta
content=
"telephone=no"
name=
"format-detection"
>
<meta
content=
"telephone=no"
name=
"format-detection"
>
<meta
name=
"wap-font-scale"
content=
"no"
>
<meta
name=
"wap-font-scale"
content=
"no"
>
<link
rel=
"stylesheet"
href=
"../css/base.css"
/>
<link
rel=
"stylesheet"
href=
"../css/base.css"
/>
<link
rel=
"stylesheet"
href=
"../css/gash.css"
/>
<link
rel=
"stylesheet"
href=
"../css/gash.css"
/>
<script
src=
"../lib/fsize.js"
></script>
<script
src=
"../lib/fsize.js"
></script>
<title></title>
<title></title>
<meta
name=
"keywords"
content=
"Foot Seen,直播福利,直播,uplive,美女直播,美女視頻,泡泡寶盒,視頻直播,一直播,rc唱唱,美女直播間,丫播直播"
>
<meta
name=
"keywords"
content=
"Foot Seen,直播福利,直播,uplive,美女直播,美女視頻,泡泡寶盒,視頻直播,一直播,rc唱唱,美女直播間,丫播直播"
>
<meta
name=
"description"
content=
"Foot Seen,深夜福利派送秀場。花樣主播私密秀,直播分享生活日常,記錄生活點點滴滴,陪你一起度過最美的時光,在直播間偶遇你的TA,連麥私聊,親密互動,說說生活,聊聊人生,談談理想......"
>
<meta
name=
"description"
content=
"Foot Seen,深夜福利派送秀場。花樣主播私密秀,直播分享生活日常,記錄生活點點滴滴,陪你一起度過最美的時光,在直播間偶遇你的TA,連麥私聊,親密互動,說說生活,聊聊人生,談談理想......"
>
<style
type=
"text/css"
>
<style
type=
"text/css"
>
body
,
.gash-phone-ul
li
{
body
,
background-color
:
#FFF
;
.gash-phone-ul
li
{
color
:
#333
;
background-color
:
#FFF
;
}
color
:
#333
;
}
.mHead
{
width
:
10rem
;
height
:
1rem
;
position
:
relative
;
background
:
#fff
;
display
:
none
;
}
.closeBtn
{
width
:
0.64rem
;
height
:
0.64rem
;
background
:
url(../img/back.png)
no-repeat
;
background-size
:
contain
;
position
:
absolute
;
top
:
0.18rem
;
left
:
0.32rem
;
}
.closeBtn
>
a
{
width
:
100%
;
height
:
100%
;
display
:
block
;
}
</style>
</style>
</head>
</head>
<body>
<body>
<ul
class=
"gash-phone-ul"
>
<div
class=
"mHead"
>
<li><i
style=
"display: none;"
>
TELCHT05
</i>
中華電信手機839(三合一)
<span><img
src=
"../img/right.png"
alt=
""
></span></li>
<div
class=
"closeBtn"
><a
href=
"javascript:window.opener=null;window.open('','_self');window.close();"
></a></div>
<li><i
style=
"display: none;"
>
TELCHT06
</i>
中華電信 Hinet(三合一)
<span><img
src=
"../img/right.png"
alt=
""
></span></li>
</div>
<li><i
style=
"display: none;"
>
TELCHT07
</i>
中華電信 市話(三合一)
<span><img
src=
"../img/right.png"
alt=
""
></span></li>
<ul
class=
"gash-phone-ul"
>
<li><i
style=
"display: none;"
>
TELFET01
</i>
傳遠電信一般型
<span><img
src=
"../img/right.png"
alt=
""
></span></li>
<li><i
style=
"display: none;"
>
TELCHT05
</i>
中華電信手機839(三合一)
<span><img
src=
"../img/right.png"
alt=
""
></span></li>
<li><i
style=
"display: none;"
>
TELTCC01
</i>
台灣大哥大一般型
<span><img
src=
"../img/right.png"
alt=
""
></span></li>
<li><i
style=
"display: none;"
>
TELCHT06
</i>
中華電信 Hinet(三合一)
<span><img
src=
"../img/right.png"
alt=
""
></span></li>
<li><i
style=
"display: none;"
>
TELSON04
</i>
亞太電信手機
<span><img
src=
"../img/right.png"
alt=
""
></span></li>
<li><i
style=
"display: none;"
>
TELCHT07
</i>
中華電信 市話(三合一)
<span><img
src=
"../img/right.png"
alt=
""
></span></li>
</ul>
<li><i
style=
"display: none;"
>
TELFET01
</i>
傳遠電信一般型
<span><img
src=
"../img/right.png"
alt=
""
></span></li>
<li><i
style=
"display: none;"
>
TELTCC01
</i>
台灣大哥大一般型
<span><img
src=
"../img/right.png"
alt=
""
></span></li>
<li><i
style=
"display: none;"
>
TELSON04
</i>
亞太電信手機
<span><img
src=
"../img/right.png"
alt=
""
></span></li>
</ul>
</body>
</body>
<script
src=
"../lib/jquery-3.1.1.min.js"
></script>
<script
src=
"../lib/jquery-3.1.1.min.js"
></script>
<script
src=
"../lib/globalization.js"
></script>
<script
src=
"../lib/globalization.js"
></script>
<script>
<script>
if
(
sessionStorage
.
lang
==
1
)
$
(
"title"
).
text
(
"Top-Up GEMs"
)
if
(
sessionStorage
.
lang
==
1
)
$
(
"title"
).
text
(
"Top-Up GEMs"
)
else
$
(
"title"
).
text
(
"寶石儲值"
)
else
$
(
"title"
).
text
(
"寶石儲值"
)
var
bbb
=
location
.
href
;
var
data
=
url_get_params
(
bbb
)
if
(
data
.
os
==
'h5'
)
{
$
(
'.mHead'
).
show
();
}
function
url_get_params
(
url_path
)
{
var
url
=
url_path
;
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
;
}
$
(
".gash-phone-ul li"
).
on
(
"click"
,
function
()
{
$
(
".gash-phone-ul li"
).
on
(
"click"
,
function
()
{
sessionStorage
.
select
=
$
(
this
).
children
(
"i"
).
text
();
sessionStorage
.
select
=
$
(
this
).
children
(
"i"
).
text
();
if
(
sessionStorage
.
uid
!=
undefined
)
{
if
(
sessionStorage
.
uid
!=
undefined
)
{
window
.
location
.
href
=
'gash-for.html'
;
window
.
location
.
href
=
'gash-for.html'
+
window
.
location
.
search
;
}
else
{
}
else
{
window
.
location
.
href
=
"login.html"
;
window
.
location
.
href
=
"login.html"
+
window
.
location
.
search
;
}
}
...
...
footseen/phonepay/idpay.html
View file @
79859ff9
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
<head
lang=
"en"
>
<head
lang=
"en"
>
<!-- Global site tag (gtag.js) - Google Analytics -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black-translucent"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black-translucent"
>
<meta
content=
"telephone=no"
name=
"format-detection"
>
<meta
content=
"telephone=no"
name=
"format-detection"
>
<meta
name=
"wap-font-scale"
content=
"no"
>
<meta
name=
"wap-font-scale"
content=
"no"
>
<title></title>
<title></title>
<meta
name=
"keywords"
content=
"Foot Seen,直播福利,直播,uplive,美女直播,美女視頻,泡泡寶盒,視頻直播,一直播,rc唱唱,美女直播間,丫播直播"
>
<meta
name=
"keywords"
content=
"Foot Seen,直播福利,直播,uplive,美女直播,美女視頻,泡泡寶盒,視頻直播,一直播,rc唱唱,美女直播間,丫播直播"
>
<meta
name=
"description"
content=
"Foot Seen直播,深夜福利派送秀場。花樣主播私密秀,直播分享生活日常,記錄生活點點滴滴,陪你一起度過最美的時光,在直播間偶遇你的TA,連麥私聊,親密互動,說說生活,聊聊人生,談談理想......"
>
<meta
name=
"description"
<link
rel=
"stylesheet"
href=
"../css/layer.css"
>
content=
"Foot Seen直播,深夜福利派送秀場。花樣主播私密秀,直播分享生活日常,記錄生活點點滴滴,陪你一起度過最美的時光,在直播間偶遇你的TA,連麥私聊,親密互動,說說生活,聊聊人生,談談理想......"
>
<link
rel=
"stylesheet"
href=
"../css/base.css"
/>
<link
rel=
"stylesheet"
href=
"../css/layer.css"
>
<link
rel=
"stylesheet"
href=
"../css/phonepay.css?v='20180509'"
/>
<link
rel=
"stylesheet"
href=
"../css/base.css"
/>
<link
rel=
"stylesheet"
href=
"../css/gash.css"
>
<link
rel=
"stylesheet"
href=
"../css/phonepay.css?v='20180509'"
/>
<script
src=
'../lib/fsize.js'
></script>
<link
rel=
"stylesheet"
href=
"../css/gash.css"
>
<style
type=
"text/css"
>
<script
src=
'../lib/fsize.js'
></script>
body
,
<style
type=
"text/css"
>
.gash-for-ul
li
{
body
,
background-color
:
#FFF
;
.gash-for-ul
li
{
margin-bottom
:
0
;
background-color
:
#FFF
;
margin-bottom
:
0
;
}
.gash-for-ul
li
span
{
color
:
#FF57A0
;
}
.gash-for-ul
li
img
{
margin-top
:
-.2rem
;
}
.gash-for-ul
li
button
{
background
:
#FF57A0
;
}
.gash-tips
{
color
:
#666
;
}
.mHead
{
width
:
10rem
;
height
:
1rem
;
position
:
relative
;
background
:
#fff
;
display
:
none
;
}
.closeBtn
{
width
:
0.64rem
;
height
:
0.64rem
;
background
:
url(../img/back.png)
no-repeat
;
background-size
:
contain
;
position
:
absolute
;
top
:
0.18rem
;
left
:
0.32rem
;
}
.closeBtn
>
a
{
width
:
100%
;
height
:
100%
;
display
:
block
;
}
</style>
</head>
<body>
<div
class=
"mHead"
>
<div
class=
"closeBtn"
><a
href=
"javascript:window.opener=null;window.open('','_self');window.close();"
></a></div>
</div>
<ul
class=
"gash-for-ul clearfix"
>
</ul>
<p
class=
"gash-tips"
></p>
<script
src=
"../lib/jquery-3.1.1.min.js"
></script>
<script
src=
"../layer-v3.1.0/layer/layer.js"
></script>
<script
src=
"../lib/payLangchange.js?v=201912121422222222"
></script>
<script
type=
"text/javascript"
>
$
(
'title'
).
text
(
langList
[
langType
].
paytitle
);
$
(
'.gash-tips'
).
text
(
langList
[
langType
].
ques
);
var
flag
=
true
;
var
bbb
=
location
.
href
;
var
data
=
url_get_params
(
bbb
)
if
(
data
.
os
==
'h5'
)
{
$
(
'.mHead'
).
show
();
}
function
url_get_params
(
url_path
)
{
var
url
=
url_path
;
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
]);
}
}
}
.gash-for-ul
li
span
{
return
theRequest
;
color
:
#FF57A0
;
}
}
$
.
ajax
({
.gash-for-ul
li
img
{
url
:
$ip
+
"/setting/getRecharge.html"
,
margin-top
:
-.2rem
;
type
:
"POST"
,
}
data
:
{
.gash-for-ul
li
button
{
'cid'
:
"web_gw"
,
background
:
#FF57A0
;
'os'
:
"h5"
,
}
lang
:
sessionStorage
.
lang
,
.gash-tips
{
'vest'
:
0
,
color
:
#666
;
'paytype'
:
sessionStorage
.
pay
}
},
</style>
error
:
function
(
msg
)
{
console
.
log
(
'请求出错'
);
</head>
},
success
:
function
(
msg
)
{
<body>
var
data
=
JSON
.
parse
(
msg
);
<ul
class=
"gash-for-ul clearfix"
>
var
html
=
[];
for
(
var
i
=
0
;
i
<
data
.
data
.
length
;
i
++
)
{
</ul>
html
+=
'
<
li
>
';
html += '
<
img
src
=
"../img/zuan.png"
alt
=
""
>
';
<p
class=
"gash-tips"
></p>
html += '
<
span
>
' + data.data[i].diamond + '
<
/span>'
;
html
+=
'
<
button
>
'
+
data
.
data
[
i
].
price
[
0
].
currency
+
"
<
i
style
=
'font-style:normal'
>
"
+
data
.
data
[
i
].
price
[
0
].
price
+
'
<
/i></
button
>
'
;
<script
src=
"../lib/jquery-3.1.1.min.js"
></script>
html
+=
"
<
span
class
=
'gash-rid'
>
" + data.data[i].rid + "
<
/span>"
;
<script
src=
"../layer-v3.1.0/layer/layer.js"
></script>
html
+=
'
<
/li>'
;
<script
src=
"../lib/payLangchange.js?v=201912121422222222"
></script>
<script
type=
"text/javascript"
>
$
(
'title'
).
text
(
langList
[
langType
].
paytitle
);
$
(
'.gash-tips'
).
text
(
langList
[
langType
].
ques
);
var
flag
=
true
;
$
.
ajax
({
url
:
$ip
+
"/setting/getRecharge.html"
,
type
:
"POST"
,
data
:
{
'cid'
:
"web_gw"
,
'os'
:
"h5"
,
lang
:
sessionStorage
.
lang
,
'vest'
:
0
,
'paytype'
:
sessionStorage
.
pay
},
error
:
function
(
msg
)
{
console
.
log
(
'请求出错'
);
},
success
:
function
(
msg
)
{
var
data
=
JSON
.
parse
(
msg
);
var
html
=
[];
for
(
var
i
=
0
;
i
<
data
.
data
.
length
;
i
++
)
{
html
+=
'
<
li
>
';
html += '
<
img
src
=
"../img/zuan.png"
alt
=
""
>
';
html += '
<
span
>
' + data.data[i].diamond + '
<
/span>'
;
html
+=
'
<
button
>
'
+
data
.
data
[
i
].
price
[
0
].
currency
+
"
<
i
style
=
'font-style:normal'
>
"
+
data
.
data
[
i
].
price
[
0
].
price
+
'
<
/i></
button
>
'
;
html
+=
"
<
span
class
=
'gash-rid'
>
" + data.data[i].rid + "
<
/span>"
;
html
+=
'
<
/li>'
;
}
$
(
".gash-for-ul"
).
html
(
html
);
$
(
".gash-for-ul li"
).
on
(
"click"
,
function
()
{
if
(
flag
)
{
flag
=
false
;
var
money
=
$
(
this
).
children
(
"button"
).
children
(
'i'
).
text
();
var
rid
=
$
(
this
).
children
(
".gash-rid"
).
text
();
$
.
ajax
({
type
:
"POST"
,
url
:
$ip
+
"/pay/getCodaPay.html"
,
data
:{
'lang'
:
sessionStorage
.
lang
,
'uid'
:
sessionStorage
.
uid
,
'product'
:
"橙钻充值"
,
'country'
:
"86"
,
'rid'
:
rid
,
'payType'
:
sessionStorage
.
pay
,
'paymentType'
:
sessionStorage
.
payType
,
'payTypeSub'
:
"NAVITE"
,
'amount'
:
money
*
100
,
},
async
:
true
,
success
:
function
(
res
){
console
.
log
(
res
);
var
data
=
JSON
.
parse
(
res
);
window
.
location
.
href
=
'https://airtime.codapayments.com/airtime/begin?type='
+
sessionStorage
.
payType
+
'&txn_id='
+
data
.
result
+
'&browser_type=mobile-web'
;
}
});
}
})
}
}
})
$
(
".gash-for-ul"
).
html
(
html
);
</script>
$
(
".gash-for-ul li"
).
on
(
"click"
,
function
()
{
if
(
flag
)
{
flag
=
false
;
var
money
=
$
(
this
).
children
(
"button"
).
children
(
'i'
).
text
();
var
rid
=
$
(
this
).
children
(
".gash-rid"
).
text
();
$
.
ajax
({
type
:
"POST"
,
url
:
$ip
+
"/pay/getCodaPay.html"
,
data
:
{
'lang'
:
sessionStorage
.
lang
,
'uid'
:
sessionStorage
.
uid
,
'product'
:
"橙钻充值"
,
'country'
:
"86"
,
'rid'
:
rid
,
'payType'
:
sessionStorage
.
pay
,
'paymentType'
:
sessionStorage
.
payType
,
'payTypeSub'
:
"NAVITE"
,
'amount'
:
money
*
100
,
},
async
:
true
,
success
:
function
(
res
)
{
console
.
log
(
res
);
var
data
=
JSON
.
parse
(
res
);
window
.
location
.
href
=
'https://airtime.codapayments.com/airtime/begin?type='
+
sessionStorage
.
payType
+
'&txn_id='
+
data
.
result
+
'&browser_type=mobile-web'
;
}
});
}
})
}
})
</script>
</body>
</body>
</html>
</html>
\ No newline at end of file
footseen/phonepay/molpay.html
View file @
79859ff9
...
@@ -205,29 +205,30 @@
...
@@ -205,29 +205,30 @@
.login-tips
span
{
.login-tips
span
{
color
:
#FF7C75
;
color
:
#FF7C75
;
}
}
.mHead
{
.mHead
{
width
:
10rem
;
width
:
10rem
;
height
:
1rem
;
height
:
1rem
;
position
:
relative
;
position
:
relative
;
background
:
#fff
;
background
:
#fff
;
display
:
none
;
display
:
none
;
}
}
.closeBtn
{
.closeBtn
{
width
:
0.64rem
;
width
:
0.64rem
;
height
:
0.64rem
;
height
:
0.64rem
;
background
:
url(../img/back.png)
no-repeat
;
background
:
url(../img/back.png)
no-repeat
;
background-size
:
contain
;
background-size
:
contain
;
position
:
absolute
;
position
:
absolute
;
top
:
0.18rem
;
top
:
0.18rem
;
left
:
0.32rem
;
left
:
0.32rem
;
}
}
.closeBtn
>
a
{
.closeBtn
>
a
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
display
:
block
;
display
:
block
;
}
}
</style>
</style>
</head>
</head>
...
@@ -373,10 +374,22 @@
...
@@ -373,10 +374,22 @@
btndianka
=
false
;
btndianka
=
false
;
sessionStorage
.
pay
=
"MOLPAY"
;
sessionStorage
.
pay
=
"MOLPAY"
;
var
bbb
=
location
.
href
;
var
bbb
=
location
.
href
;
var
data
=
url_get_params
(
bbb
)
var
data
=
url_get_params
(
bbb
)
if
(
data
.
os
==
'h5'
)
{
if
(
data
.
os
==
'h5'
)
{
$
(
'.mHead'
).
show
();
$
(
'.mHead'
).
show
();
}
}
function
url_get_params
(
url_path
)
{
var
url
=
url_path
;
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
;
}
$
.
ajax
({
$
.
ajax
({
url
:
$ip
+
"/setting/getRecharge.html"
,
url
:
$ip
+
"/setting/getRecharge.html"
,
type
:
"post"
,
type
:
"post"
,
...
...
footseen/phonepay/payfor-new.html
View file @
79859ff9
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"
/>
<meta
name=
"viewport"
content=
"width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"
/>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black-translucent"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black-translucent"
>
<meta
content=
"telephone=no"
name=
"format-detection"
>
<meta
content=
"telephone=no"
name=
"format-detection"
>
...
@@ -14,75 +15,111 @@
...
@@ -14,75 +15,111 @@
<link
rel=
"stylesheet"
href=
"../css/layer.css"
>
<link
rel=
"stylesheet"
href=
"../css/layer.css"
>
<title></title>
<title></title>
<style>
<style>
body
{
body
{
background
:
#FFF
;
background
:
#FFF
;
}
}
.p-w
{
background-color
:
#FFF
;
.p-w
{
}
background-color
:
#FFF
;
}
.gash-for-ul
{
.gash-for-ul
{
margin
:
0
auto
;
margin
:
0
auto
;
width
:
10rem
;
width
:
10rem
;
}
}
.gash-for-ul
li
{
height
:
1.45rem
;
.gash-for-ul
li
{
line-height
:
1.45rem
;
height
:
1.45rem
;
color
:
#00F8DC
;
line-height
:
1.45rem
;
background
:
#FFF
;
color
:
#00F8DC
;
margin-bottom
:
0.05rem
;
background
:
#FFF
;
border
:
0.04rem
solid
transparent
;
margin-bottom
:
0.05rem
;
}
border
:
0.04rem
solid
transparent
;
.p-active
{
}
border
:
0.04rem
solid
transparent
!important
;
}
.p-active
{
border
:
0.04rem
solid
transparent
!important
;
.gash-for-ul
li
img
{
}
width
:
0.5rem
;
vertical-align
:
middle
;
.gash-for-ul
li
img
{
margin-top
:
-0.2rem
;
width
:
0.5rem
;
margin-left
:
0.5rem
;
vertical-align
:
middle
;
}
margin-top
:
-0.2rem
;
.gash-for-ul
li
span
{
margin-left
:
0.5rem
;
margin-left
:
0.3rem
;
}
font-size
:
0.45rem
;
color
:
#FF57A0
;
.gash-for-ul
li
span
{
}
margin-left
:
0.3rem
;
.gash-for-ul
li
button
{
font-size
:
0.45rem
;
height
:
0.73rem
;
color
:
#FF57A0
;
line-height
:
0.75rem
;
}
width
:
2.2rem
;
background
:
#FF57A0
;
.gash-for-ul
li
button
{
border-radius
:
2rem
;
height
:
0.73rem
;
color
:
#fff
;
line-height
:
0.75rem
;
float
:
right
;
width
:
2.2rem
;
margin-top
:
0.35rem
;
background
:
#FF57A0
;
margin-right
:
0.46rem
;
border-radius
:
2rem
;
font-size
:
0.4rem
;
color
:
#fff
;
}
float
:
right
;
.gash-rid
{
margin-top
:
0.35rem
;
visibility
:
hidden
;
margin-right
:
0.46rem
;
}
font-size
:
0.4rem
;
.login-tips
{
}
color
:
#666
;
}
.gash-rid
{
visibility
:
hidden
;
}
.login-tips
{
color
:
#666
;
}
.mHead
{
width
:
10rem
;
height
:
1rem
;
position
:
relative
;
background
:
#fff
;
display
:
none
;
}
.closeBtn
{
width
:
0.64rem
;
height
:
0.64rem
;
background
:
url(../img/back.png)
no-repeat
;
background-size
:
contain
;
position
:
absolute
;
top
:
0.18rem
;
left
:
0.32rem
;
}
.closeBtn
>
a
{
width
:
100%
;
height
:
100%
;
display
:
block
;
}
</style>
</style>
</head>
</head>
<body
>
<div
class=
"p-w alipay"
>
<body>
<!--<div>-->
<div
class=
"mHead"
>
<!--<p class="apple-top">優惠充值</p>-->
<div
class=
"closeBtn"
><a
href=
"javascript:window.opener=null;window.open('','_self');window.close();"
></a></div>
<!--</div>-->
</div>
<div
class=
"p-w alipay"
>
<ul
class=
"gash-for-ul clearfix"
>
<!--<div>-->
<img
src=
"../img/loading.png"
alt=
""
>
<!--<p class="apple-top">優惠充值</p>-->
<!--</div>-->
</ul>
<!--<div class="paypal">
<ul
class=
"gash-for-ul clearfix"
>
<img
src=
"../img/loading.png"
alt=
""
>
</ul>
<!--<div class="paypal">
<button class="login-btn"></button>
<button class="login-btn"></button>
</div>-->
</div>-->
<p
class=
"login-tips"
></p>
<p
class=
"login-tips"
></p>
</div>
</div>
</body>
</body>
<script
src=
"../lib/jquery-3.1.1.min.js"
></script>
<script
src=
"../lib/jquery-3.1.1.min.js"
></script>
<script
src=
"../lib/payLangchange.js?v=201912121422222222"
></script>
<script
src=
"../lib/payLangchange.js?v=201912121422222222"
></script>
...
@@ -91,31 +128,36 @@
...
@@ -91,31 +128,36 @@
$
(
'title'
).
text
(
langList
[
langType
].
paytitle
);
$
(
'title'
).
text
(
langList
[
langType
].
paytitle
);
$
(
'.login-tips'
).
text
(
langList
[
langType
].
ques
);
$
(
'.login-tips'
).
text
(
langList
[
langType
].
ques
);
var
bbb
=
location
.
href
;
var
data
=
url_get_params
(
bbb
)
if
(
data
.
os
==
'h5'
)
{
$
(
'.mHead'
).
show
();
}
var
btnOk
=
false
;
var
btnOk
=
false
;
$
.
ajax
({
$
.
ajax
({
url
:
$ip
+
"/setting/getRecharge.html"
,
url
:
$ip
+
"/setting/getRecharge.html"
,
type
:
"post"
,
type
:
"post"
,
data
:{
data
:
{
'cid'
:
"web_gw"
,
'cid'
:
"web_gw"
,
'os'
:
"h5"
,
'os'
:
"h5"
,
lang
:
sessionStorage
.
lang
,
lang
:
sessionStorage
.
lang
,
'vest'
:
0
,
'vest'
:
0
,
'paytype'
:
sessionStorage
.
pay
'paytype'
:
sessionStorage
.
pay
},
},
error
:
function
(
msg
)
{
error
:
function
(
msg
)
{
console
.
log
(
'erroe!'
);
console
.
log
(
'erroe!'
);
},
},
success
:
function
(
msg
)
{
success
:
function
(
msg
)
{
var
data
=
JSON
.
parse
(
msg
);
var
data
=
JSON
.
parse
(
msg
);
var
html
=
[];
var
html
=
[];
for
(
var
i
=
0
;
i
<
data
.
data
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
data
.
data
.
length
;
i
++
)
{
html
+=
'
<
li
>
'
html
+=
'
<
li
>
'
html
+='
<
img
src
=
"../img/zuan.png"
><
span
>
'+data.data[i].diamond+
'
<
/span>
'
html
+= '
<
img
src
=
"../img/zuan.png"
><
span
>
' + data.data[i].diamond +
'
<
/span>
'
html
+=
'
<
button
>
'+data.data[i].price[0].currency+'
<
i
style
=
"font-style:normal"
>
'+data.data[i].price[0].price+
'
<
/i></
button
>
';
html
+=
'
<
button
>
' + data.data[i].price[0].currency + '
<
i
style
=
"font-style:normal"
>
' + data.data[i].price[0].price +
'
<
/i></
button
>
';
html
+='
<
span
class
=
"gash-rid"
>
'+data.data[i].rid+
'
<
/span>'
;
html
+= '
<
span
class
=
"gash-rid"
>
' + data.data[i].rid +
'
<
/span>'
;
html
+=
'
<
/li>
'
html
+=
'
<
/li>
'
}
}
$
(
".gash-for-ul"
).
html
(
html
);
$
(
".gash-for-ul"
).
html
(
html
);
...
@@ -123,174 +165,174 @@
...
@@ -123,174 +165,174 @@
$
(
this
).
siblings
(
"li"
).
removeClass
(
"p-active"
);
$
(
this
).
siblings
(
"li"
).
removeClass
(
"p-active"
);
$
(
this
).
addClass
(
"p-active"
);
$
(
this
).
addClass
(
"p-active"
);
rid
=
$
(
this
).
find
(
'.gash-rid'
).
text
();
rid
=
$
(
this
).
find
(
'.gash-rid'
).
text
();
console
.
log
(
rid
);
console
.
log
(
rid
);
money
=
$
(
this
).
find
(
'button i'
).
text
();
money
=
$
(
this
).
find
(
'button i'
).
text
();
console
.
log
(
money
);
console
.
log
(
money
);
btnOk
=
true
;
btnOk
=
true
;
if
(
btnOk
==
true
){
if
(
btnOk
==
true
)
{
if
(
sessionStorage
.
pay
==
"PAYPALPAY"
)
{
if
(
sessionStorage
.
pay
==
"PAYPALPAY"
)
{
$
.
ajax
({
$
.
ajax
({
url
:
$ip
+
"/pay/getPayPreid.html"
,
url
:
$ip
+
"/pay/getPayPreid.html"
,
type
:
"post"
,
type
:
"post"
,
data
:{
data
:
{
'lang'
:
sessionStorage
.
lang
,
'lang'
:
sessionStorage
.
lang
,
'uid'
:
sessionStorage
.
uid
,
'uid'
:
sessionStorage
.
uid
,
'product'
:
"橙钻充值"
,
'product'
:
"橙钻充值"
,
'country'
:
"86"
,
'country'
:
"86"
,
'rid'
:
rid
,
'rid'
:
rid
,
'payType'
:
sessionStorage
.
pay
,
'payType'
:
sessionStorage
.
pay
,
'payTypeSub'
:
"NAVITE"
,
'payTypeSub'
:
"NAVITE"
,
'amount'
:
money
*
100
,
'amount'
:
money
*
100
,
'extend'
:
"0"
,
'extend'
:
"0"
,
},
success
:
function
(
msg
)
{
var
data
=
JSON
.
parse
(
msg
);
// $.cookie('oid',data.orderId,{expires:1});
sessionStorage
.
oid
=
data
.
orderId
;
key
=
data
.
payInfo
.
key
;
var
html1
=
[];
html1
+=
"
<
div
style
=
' text-align: center;margin-top: 1.7rem;'
class
=
'paypalpay'
>
";
html1+="
<
div
id
=
paypal
-
button
-
container
><
/div>"
;
html1
+=
"
<
/div>"
;
$
(
".paypal"
).
html
(
html1
);
paypal
.
Button
.
render
({
env
:
'production'
,
// sandbox | production
// PayPal Client IDs - replace with your own
// Create a PayPal app: https://developer.paypal.com/developer/applications/create
client
:
{
production
:
key
,
// production: '
<
insert
production
client
id
>
'
},
},
style: {
success
:
function
(
msg
)
{
color: '
gold
',
var
data
=
JSON
.
parse
(
msg
);
size: '
large
',
// $.cookie('oid',data.orderId,{expires:1});
shape:'
rect
',
sessionStorage
.
oid
=
data
.
orderId
;
locale:'
zh_US
',
key
=
data
.
payInfo
.
key
;
var
html1
=
[];
html1
+=
"
<
div
style
=
' text-align: center;margin-top: 1.7rem;'
class
=
'paypalpay'
>
";
html1 += "
<
div
id
=
paypal
-
button
-
container
><
/div>"
;
html1
+=
"
<
/div>"
;
$
(
".paypal"
).
html
(
html1
);
paypal
.
Button
.
render
({
},
env
:
'production'
,
// sandbox | production
// Show the buyer a '
Pay
Now
' button in the checkout flow
commit: true,
// PayPal Client IDs - replace with your own
// Create a PayPal app: https://developer.paypal.com/developer/applications/create
client
:
{
production
:
key
,
// production: '
<
insert
production
client
id
>
'
},
style: {
color: '
gold
',
size: '
large
',
shape: '
rect
',
locale: '
zh_US
',
},
// Show the buyer a '
Pay
Now
' button in the checkout flow
commit: true,
// payment() is called when the button is clicked
// payment() is called when the button is clicked
payment: function
(data, actions) {
payment: function
(data, actions) {
// Make a call to the REST api to create the payment
// Make a call to the REST api to create the payment
return actions.payment.create({
return actions.payment.create({
payment: {
payment: {
transactions: [
transactions: [
{
{
amount: { total: money, currency: '
USD
' },
amount: { total: money, currency: '
USD
' },
custom: sessionStorage.oid,
custom: sessionStorage.oid,
}
]
}
}
]
});
}
},
});
},
// onAuthorize() is called when the buyer approves the payment
// onAuthorize() is called when the buyer approves the payment
onAuthorize: function
(data, actions) {
onAuthorize: function
(data, actions) {
// Make a call to the REST api to execute the payment
// Make a call to the REST api to execute the payment
return actions.payment.execute().then(function
() {
return actions.payment.execute().then(function
() {
setInterval(function () {
setInterval(function () {
window.location.href=
'
payend
.
html
';
window.location.href =
'
payend
.
html
';
},
100)
},
100)
});
});
}
}
}, '
#
paypal
-
button
-
container
');
}, '
#
paypal
-
button
-
container
');
}
}
})
})
}
else if(sessionStorage.pay=="ALIPAY"){
$.ajax({
url:$ip+"/pay/getPayPreid.html",
type:"post",
data:{
'
lang
':sessionStorage.lang,
'
uid
':sessionStorage.uid,
'
product
':"橙钻充值",
'
country
':"86",
'
rid
':rid,
'
payType
':sessionStorage.pay,
'
payTypeSub
':"H5",
'
amount
':money*100,
'
extend
':"https://www.footseen.com/footseen/phonepay/payend.html",
},
success: function (msg) {
console.log(msg);
var data =JSON.parse(msg);
// $.cookie('
oid
',data.orderId,{expires:1});
sessionStorage.oid=data.orderId;
var html=[];
console.log(data);
html+=data.payInfo.h5
$(".alipay").html(html);
}
}
})
else if (sessionStorage.pay == "ALIPAY") {
}
$.ajax({
else if(sessionStorage.pay=="WECHATPAY"){
url: $ip + "/pay/getPayPreid.html",
$.ajax({
type: "post",
url:$ip+"/pay/getPayPreid.html",
data: {
type:"post",
'
lang
': sessionStorage.lang,
data:{
'
uid
': sessionStorage.uid,
'
cid
':"web_gw",
'
product
': "橙钻充值",
'
os
':"h5",
'
country
': "86",
lang:sessionStorage.lang,
'
rid
': rid,
'
uid
':sessionStorage.uid,
'
payType
': sessionStorage.pay,
'
product
':"橙钻充值",
'
payTypeSub
': "H5",
'
country
':"86",
'
amount
': money * 100,
'
rid
':rid,
'
extend
': "https://www.footseen.com/footseen/phonepay/payend.html",
'
payType
':sessionStorage.pay,
},
'
payTypeSub
':"MWEB",
success: function (msg) {
'
amount
':money*100,
console.log(msg);
'
extend
':"https://www.footseen.com/footseen/phonepay/payend.html",
var data = JSON.parse(msg);
},
// $.cookie('
oid
',data.orderId,{expires:1});
success: function (msg) {
sessionStorage.oid = data.orderId;
var data = JSON.parse(msg);
var html = [];
// $.cookie('
oid
',data.orderId,{expires:1});
console.log(data);
sessionStorage.oid=data.orderId;
html += data.payInfo.h5
var url =data.payInfo.mweb_url;
$(".alipay").html(html);
window.location.href=url;
}
})
}
}
else if (sessionStorage.pay == "WECHATPAY") {
$.ajax({
url: $ip + "/pay/getPayPreid.html",
type: "post",
data: {
'
cid
': "web_gw",
'
os
': "h5",
lang: sessionStorage.lang,
'
uid
': sessionStorage.uid,
'
product
': "橙钻充值",
'
country
': "86",
'
rid
': rid,
'
payType
': sessionStorage.pay,
'
payTypeSub
': "MWEB",
'
amount
': money * 100,
'
extend
': "https://www.footseen.com/footseen/phonepay/payend.html",
},
success: function (msg) {
var data = JSON.parse(msg);
// $.cookie('
oid
',data.orderId,{expires:1});
sessionStorage.oid = data.orderId;
var url = data.payInfo.mweb_url;
window.location.href = url;
}
})
})
}
else if(sessionStorage.pay=='
MOLPAY
'){
$.ajax({
url:"https://webserver.yabolive.net/pay/getPayPreid.html",
type: "post",
data: {
'
cid
':"web_gw",
'
os
':"h5",
lang:sessionStorage.lang,
"uid": sessionStorage.uid,
"product": "橙钻货币充值",
"country": "86",
"rid": rid,
"lang": 2,
"payType": sessionStorage.pay,
"payTypeSub": "H5",
"amount": money*100,
"extend": "0",
"returnUrl":"https://www.footseen.com/footseen/phonepay/payend.html",
},
success: function (msg) {
var data=JSON.parse(msg);
console.log(data);
window.location.href=data.payInfo.url;
}
}
})
else if (sessionStorage.pay == '
MOLPAY
') {
}
$.ajax({
}else{
url: "https://webserver.yabolive.net/pay/getPayPreid.html",
layer.msg(langList[langType].select);
type: "post",
}
data: {
'
cid
': "web_gw",
'
os
': "h5",
lang: sessionStorage.lang,
"uid": sessionStorage.uid,
"product": "橙钻货币充值",
"country": "86",
"rid": rid,
"lang": 2,
"payType": sessionStorage.pay,
"payTypeSub": "H5",
"amount": money * 100,
"extend": "0",
"returnUrl": "https://www.footseen.com/footseen/phonepay/payend.html",
},
success: function (msg) {
var data = JSON.parse(msg);
console.log(data);
window.location.href = data.payInfo.url;
}
})
}
} else {
layer.msg(langList[langType].select);
}
})
})
...
@@ -298,37 +340,37 @@
...
@@ -298,37 +340,37 @@
})
})
$(".payfor-ul").on("click", function () {
$(".payfor-ul").on("click", function () {
if
(sessionStorage.pay=='
PAYPALPAY
')
{
if
(sessionStorage.pay == '
PAYPALPAY
')
{
$(".paypal").html('
<
button
class
=
"login-btn"
>
下一步
<
/button>'
)
$(".paypal").html('
<
button
class
=
"login-btn"
>
下一步
<
/button>'
)
$
(
".login-btn"
).
unbind
(
"click"
)
$
(
".login-btn"
).
unbind
(
"click"
)
$
(
".login-btn"
).
on
(
"click"
,
function
()
{
$
(
".login-btn"
).
on
(
"click"
,
function
()
{
if
(
btnOk
==
true
)
{
if
(
btnOk
==
true
)
{
if
(
sessionStorage
.
pay
==
"PAYPALPAY"
)
{
if
(
sessionStorage
.
pay
==
"PAYPALPAY"
)
{
$
.
ajax
({
$
.
ajax
({
url
:
$ip
+
"/pay/getPayPreid.html"
,
url
:
$ip
+
"/pay/getPayPreid.html"
,
type
:
"post"
,
type
:
"post"
,
data
:{
data
:
{
'cid'
:
"web_gw"
,
'cid'
:
"web_gw"
,
'os'
:
"h5"
,
'os'
:
"h5"
,
lang
:
sessionStorage
.
lang
,
lang
:
sessionStorage
.
lang
,
'uid'
:
sessionStorage
.
uid
,
'uid'
:
sessionStorage
.
uid
,
'product'
:
"橙钻充值"
,
'product'
:
"橙钻充值"
,
'country'
:
"86"
,
'country'
:
"86"
,
'rid'
:
rid
,
'rid'
:
rid
,
'payType'
:
sessionStorage
.
pay
,
'payType'
:
sessionStorage
.
pay
,
'payTypeSub'
:
"NAVITE"
,
'payTypeSub'
:
"NAVITE"
,
'amount'
:
money
*
100
,
'amount'
:
money
*
100
,
'extend'
:
"0"
,
'extend'
:
"0"
,
},
},
success
:
function
(
msg
)
{
success
:
function
(
msg
)
{
var
data
=
JSON
.
parse
(
msg
);
var
data
=
JSON
.
parse
(
msg
);
// $.cookie('oid',data.orderId,{expires:1});
// $.cookie('oid',data.orderId,{expires:1});
sessionStorage
.
oid
=
data
.
orderId
;
sessionStorage
.
oid
=
data
.
orderId
;
key
=
data
.
payInfo
.
key
;
key
=
data
.
payInfo
.
key
;
var
html1
=
[];
var
html1
=
[];
html1
+=
"
<
div
style
=
' text-align: center;margin-top: 1.7rem;'
class
=
'paypalpay'
>
";
html1
+=
"
<
div
style
=
' text-align: center;margin-top: 1.7rem;'
class
=
'paypalpay'
>
";
html1
+=
"
<
div
id
=
paypal
-
button
-
container
><
/div>"
;
html1
+=
"
<
div
id
=
paypal
-
button
-
container
><
/div>"
;
html1
+=
"
<
/div>"
;
html1
+=
"
<
/div>"
;
$
(
".paypal"
).
html
(
html1
);
$
(
".paypal"
).
html
(
html1
);
paypal
.
Button
.
render
({
paypal
.
Button
.
render
({
...
@@ -337,21 +379,21 @@
...
@@ -337,21 +379,21 @@
// PayPal Client IDs - replace with your own
// PayPal Client IDs - replace with your own
// Create a PayPal app: https://developer.paypal.com/developer/applications/create
// Create a PayPal app: https://developer.paypal.com/developer/applications/create
client
:
{
client
:
{
production
:
key
,
production
:
key
,
// production: '
<
insert
production
client
id
>
'
// production: '
<
insert
production
client
id
>
'
},
},
style: {
style: {
color: '
gold
',
color: '
gold
',
size: '
large
',
size: '
large
',
shape:'
rect
',
shape:
'
rect
',
locale:'
zh_US
',
locale:
'
zh_US
',
},
},
// Show the buyer a '
Pay
Now
' button in the checkout flow
// Show the buyer a '
Pay
Now
' button in the checkout flow
commit: true,
commit: true,
// payment() is called when the button is clicked
// payment() is called when the button is clicked
payment: function(data, actions) {
payment: function
(data, actions) {
...
@@ -369,13 +411,13 @@
...
@@ -369,13 +411,13 @@
},
},
// onAuthorize() is called when the buyer approves the payment
// onAuthorize() is called when the buyer approves the payment
onAuthorize: function(data, actions) {
onAuthorize: function
(data, actions) {
// Make a call to the REST api to execute the payment
// Make a call to the REST api to execute the payment
return actions.payment.execute().then(function() {
return actions.payment.execute().then(function
() {
setInterval(function () {
setInterval(function () {
window.location.href
=
'
payend
.
html
';
window.location.href
=
'
payend
.
html
';
},100)
},
100)
});
});
}
}
...
@@ -384,7 +426,7 @@
...
@@ -384,7 +426,7 @@
}
}
})
})
}
}
}
else
{
}
else
{
layer
.
msg
(
langList
[
langType
].
select
);
layer
.
msg
(
langList
[
langType
].
select
);
}
}
...
@@ -392,4 +434,5 @@
...
@@ -392,4 +434,5 @@
}
}
})
})
</script>
</script>
</html>
</html>
\ No newline at end of file
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