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
5525cec4
authored
Mar 04, 2021
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
visa 储值
parent
bcb864bd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
9 deletions
footseen/js/phonepay.js
footseen/phonepay/applepay.html
footseen/phonepay/login.html
footseen/js/phonepay.js
View file @
5525cec4
...
...
@@ -64,14 +64,18 @@ var payList = {
'70'
:{
'name'
:
'wpay'
,
'img'
:
langList
[
langType
].
wpay
,
}
},
'90'
:
{
'name'
:
'newvisapay'
,
'img'
:
langList
[
langType
].
visapay
,
},
}
var
payOrder
=
{
'TW'
:
[
10
,
64
,
65
,
66
,
50
,
51
,
52
,
53
,
20
,
30
,
40
,
60
,
63
,
70
],
//台湾
'MY'
:
[
20
,
30
,
40
,
10
,
50
,
51
,
52
,
53
,
60
,
63
,
64
,
65
,
66
,
70
],
//马来西亚
'ID'
:
[
60
,
63
,
10
,
50
,
51
,
52
,
53
,
20
,
30
,
40
,
64
,
65
,
66
,
70
],
//印度尼西亚
'WPAY'
:[
10
,
70
,
20
,
30
,
40
,
50
,
51
,
52
,
53
,
60
,
63
,
64
,
65
,
66
],
//阿拉伯支付
'IN'
:[
10
,
20
,
30
,
40
,
50
,
51
,
52
,
53
,
70
,
60
,
63
,
64
,
65
,
66
],
//印度
'OTHER'
:
[
10
,
20
,
30
,
64
,
65
,
66
,
40
,
50
,
51
,
52
,
53
,
70
,
60
,
63
],
//其他语区
'TW'
:
[
90
,
10
,
64
,
65
,
66
,
50
,
51
,
52
,
53
,
20
,
30
,
40
,
60
,
63
,
70
],
//台湾
'MY'
:
[
20
,
30
,
40
,
90
,
10
,
50
,
51
,
52
,
53
,
60
,
63
,
64
,
65
,
66
,
70
],
//马来西亚
'ID'
:
[
60
,
63
,
90
,
10
,
50
,
51
,
52
,
53
,
20
,
30
,
40
,
64
,
65
,
66
,
70
],
//印度尼西亚
'WPAY'
:[
90
,
10
,
70
,
20
,
30
,
40
,
50
,
51
,
52
,
53
,
60
,
63
,
64
,
65
,
66
],
//阿拉伯支付
'IN'
:[
90
,
10
,
20
,
30
,
40
,
50
,
51
,
52
,
53
,
70
,
60
,
63
,
64
,
65
,
66
],
//印度
'OTHER'
:
[
90
,
10
,
20
,
30
,
64
,
65
,
66
,
40
,
50
,
51
,
52
,
53
,
70
,
60
,
63
],
//其他语区
}
\ No newline at end of file
footseen/phonepay/applepay.html
View file @
5525cec4
...
...
@@ -239,6 +239,15 @@
right
:
.3rem
;
top
:
.2rem
;
}
.apple-ul
li
.newvisapay
img
{
width
:
2.4rem
;
}
.apple-ul
li
.newvisapay
img
{
width
:
auto
;
height
:
.6rem
;
}
</style>
</head>
...
...
@@ -255,8 +264,8 @@
</body>
<script
src=
"../js/iosSelect.js"
></script>
<script
src=
"../lib/payLangchange.js?v=2021
227165111111
"
></script>
<script
src=
"../js/phonepay.js?v=2021
227165111111
"
></script>
<script
src=
"../lib/payLangchange.js?v=2021
0304201999999999
"
></script>
<script
src=
"../js/phonepay.js?v=2021
0304201999999999
"
></script>
<script>
$
(
'title'
).
text
(
langList
[
langType
].
paytitle
);
$
(
'.bigRecord'
).
text
(
langList
[
langType
].
payrecord
);
...
...
@@ -517,6 +526,13 @@
if
(
sessionStorage
.
uid
!=
undefined
)
window
.
location
.
href
=
'https://firefly.live/footseen/phonepay/visapay.html?uid='
+
sessionStorage
.
uid
+
'&lang='
+
sessionStorage
.
lang
+
'&pay='
+
sessionStorage
.
pay
+
'&cidStr='
+
sessionStorage
.
cidStr
+
'&osStr='
+
getNavigatorStr
();
else
window
.
location
.
href
=
'login.html'
;
})
//新visa
$
(
'.newvisapay'
).
on
(
'click'
,
function
()
{
sessionStorage
.
pay
=
"GLOCASH_PAY"
;
if
(
sessionStorage
.
uid
!=
undefined
)
window
.
location
.
href
=
'https://firefly.live/footseen/phonepay/newvisapay.html?uid='
+
sessionStorage
.
uid
+
'&token='
+
sessionStorage
.
token
+
'&lang='
+
sessionStorage
.
lang
+
'&pay='
+
sessionStorage
.
pay
+
'&cidStr='
+
sessionStorage
.
cidStr
+
'&osStr='
+
getNavigatorStr
();
else
window
.
location
.
href
=
'login.html'
;
})
}
function
getLangRegion
(
code
)
{
...
...
footseen/phonepay/login.html
View file @
5525cec4
...
...
@@ -65,6 +65,8 @@
window
.
location
.
href
=
'https://firefly.live/footseen/phonepay/visapay.html?uid='
+
sessionStorage
.
uid
+
'&lang='
+
sessionStorage
.
lang
+
'&pay='
+
sessionStorage
.
pay
+
'&cidStr='
+
sessionStorage
.
cidStr
+
'&osStr='
+
getNavigatorStr
();
}
else
if
(
sessionStorage
.
pay
==
'TW_ALI_CNY_PAY'
){
window
.
location
.
href
=
'https://www.firefly.live/footseen/phonepay/paymentAlipay.html?uid='
+
sessionStorage
.
uid
+
'&lang='
+
sessionStorage
.
lang
+
'&cidStr='
+
sessionStorage
.
cidStr
+
'&osStr='
+
getNavigatorStr
();
}
else
if
(
sessionStorage
.
pay
==
'GLOCASH_PAY'
){
window
.
location
.
href
=
window
.
location
.
href
=
'https://firefly.live/footseen/phonepay/newvisapay.html?uid='
+
sessionStorage
.
uid
+
'&token='
+
sessionStorage
.
token
+
'&lang='
+
sessionStorage
.
lang
+
'&pay='
+
sessionStorage
.
pay
+
'&cidStr='
+
sessionStorage
.
cidStr
+
'&osStr='
+
getNavigatorStr
();
}
else
{
window
.
location
.
href
=
"payfor-new.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