Commit 11a4682f by libai

测试

parent f589772b
Showing with 11 additions and 18 deletions
...@@ -334,13 +334,13 @@ $(function(){ ...@@ -334,13 +334,13 @@ $(function(){
}) })
$(".reg-ul li").on("click",function(){ $(".reg-ul li").on("click",function(){
var _self=$(this) var _self=$(this)
if(_self.attr("data-type")=='PAYERMAX_PAY'){ // if(_self.attr("data-type")=='PAYERMAX_PAY'){
if(regUid==0){ // if(regUid==0){
layer.msg(langList[sessionStorage.lang].reg28) // layer.msg(langList[sessionStorage.lang].reg28)
return; // return;
} // }
getUserInfo(regUid) // getUserInfo(regUid)
} // }
if(_self.attr("data-type")=='PAYMENTWALL'){ if(_self.attr("data-type")=='PAYMENTWALL'){
if(regUid==0){ if(regUid==0){
layer.msg(langList[sessionStorage.lang].reg28) layer.msg(langList[sessionStorage.lang].reg28)
...@@ -635,7 +635,7 @@ $(function(){ ...@@ -635,7 +635,7 @@ $(function(){
} }
break; break;
case "PAYERMAX_PAY": case "PAYERMAX_PAY":
if (flag) {
$.ajax({ $.ajax({
url:"https://webserver.yabolive.net/pay/toPayermax.html", url:"https://webserver.yabolive.net/pay/toPayermax.html",
type: "POST", type: "POST",
...@@ -657,21 +657,14 @@ $(function(){ ...@@ -657,21 +657,14 @@ $(function(){
success: function (res) { success: function (res) {
var _self=$(this) var _self=$(this)
if (res.code == 1) { if (res.code == 1) {
// window.location.href = res.url; window.location.href = res.url;
window.location.href='https://firefly.live/footseenPay/index.html?goUrl='+_self[0].url // window.location.href='https://firefly.live/footseenPay/index.html?goUrl='+_self[0].url
} else { } else {
layer.msg(res.msg); layer.msg(res.msg);
} }
} }
}) })
} else {
$(".reg-content").hide()
$(".reg-information").show()
if(sessionStorage.pay=="PAYERMAX_PAY"){
$(".information-name-box").hide()
$(".information-phone-box").hide()
}
}
break; break;
case "LINE_PAY": case "LINE_PAY":
case "TW_PAY": case "TW_PAY":
......
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