Commit 5525cec4 by dabai

visa 储值

parent bcb864bd
......@@ -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
......@@ -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=2021227165111111"></script>
<script src="../js/phonepay.js?v=2021227165111111"></script>
<script src="../lib/payLangchange.js?v=20210304201999999999"></script>
<script src="../js/phonepay.js?v=20210304201999999999"></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) {
......
......@@ -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";
}
......
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