Commit 5525cec4 by dabai

visa 储值

parent bcb864bd
...@@ -64,14 +64,18 @@ var payList = { ...@@ -64,14 +64,18 @@ var payList = {
'70':{ '70':{
'name':'wpay', 'name':'wpay',
'img':langList[langType].wpay, 'img':langList[langType].wpay,
} },
'90': {
'name': 'newvisapay',
'img': langList[langType].visapay,
},
} }
var payOrder = { var payOrder = {
'TW': [10,64,65,66, 50, 51, 52, 53, 20, 30, 40,60,63,70], //台湾 'TW': [90,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], //马来西亚 'MY': [20, 30, 40,90, 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], //印度尼西亚 'ID': [60,63,90,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],//阿拉伯支付 'WPAY':[90,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],//印度 'IN':[90,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], //其他语区 'OTHER': [90,10, 20, 30,64,65,66, 40, 50, 51, 52, 53,70,60,63], //其他语区
} }
\ No newline at end of file
...@@ -239,6 +239,15 @@ ...@@ -239,6 +239,15 @@
right: .3rem; right: .3rem;
top: .2rem; top: .2rem;
} }
.apple-ul li.newvisapay img {
width: 2.4rem;
}
.apple-ul li.newvisapay img {
width: auto;
height: .6rem;
}
</style> </style>
</head> </head>
...@@ -255,8 +264,8 @@ ...@@ -255,8 +264,8 @@
</body> </body>
<script src="../js/iosSelect.js"></script> <script src="../js/iosSelect.js"></script>
<script src="../lib/payLangchange.js?v=2021227165111111"></script> <script src="../lib/payLangchange.js?v=20210304201999999999"></script>
<script src="../js/phonepay.js?v=2021227165111111"></script> <script src="../js/phonepay.js?v=20210304201999999999"></script>
<script> <script>
$('title').text(langList[langType].paytitle); $('title').text(langList[langType].paytitle);
$('.bigRecord').text(langList[langType].payrecord); $('.bigRecord').text(langList[langType].payrecord);
...@@ -517,6 +526,13 @@ ...@@ -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(); 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'; 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) { function getLangRegion(code) {
......
...@@ -65,6 +65,8 @@ ...@@ -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(); 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'){ } 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(); 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 { } else {
window.location.href="payfor-new.html"; window.location.href="payfor-new.html";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment