Commit b32b99bb by agan

xg

parent 742e2faf
Showing with 2 additions and 4 deletions
...@@ -466,6 +466,8 @@ ...@@ -466,6 +466,8 @@
$(".box2-content").html(html) $(".box2-content").html(html)
$(".pay-click-box").unbind("click").on("click", function () { $(".pay-click-box").unbind("click").on("click", function () {
var _self = $(this) var _self = $(this)
_self.addClass("pay-click-box-in")
sessionStorage.pay = _self.attr("data-type")
if (_self.hasClass("pay-click-box-in")) return; if (_self.hasClass("pay-click-box-in")) return;
$(".pay-click-box").removeClass("pay-click-box-in") $(".pay-click-box").removeClass("pay-click-box-in")
if (_self.attr('data-type') == 'LINE_PAY') { if (_self.attr('data-type') == 'LINE_PAY') {
...@@ -473,10 +475,6 @@ ...@@ -473,10 +475,6 @@
}else if(_self.attr('data-type') == 'TW_PAY'){ }else if(_self.attr('data-type') == 'TW_PAY'){
window.location.href = 'https://firefly.live/footseen/phonepay/visapay.html?uid=' + localStorage.uid + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr window.location.href = 'https://firefly.live/footseen/phonepay/visapay.html?uid=' + localStorage.uid + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr
} }
_self.addClass("pay-click-box-in")
sessionStorage.pay = _self.attr("data-type")
getRecharge(_self.attr("data-type"), _self.attr("data-type2")) getRecharge(_self.attr("data-type"), _self.attr("data-type2"))
}) })
} }
......
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