master
chenzhi 5 years ago
parent 0d50d94a42
commit 3757281985

@ -238,13 +238,11 @@ var index = {
} }
index.getgamelist(); index.getgamelist();
$(".pay-button").on("click",function(){ $(".pay-button").on("click",function(){
console.log(index);
var inres = index.pay_game_id.indexOf(index.choose.game_id+''); var inres = index.pay_game_id.indexOf(index.choose.game_id+'');
console.log(inres);
if(inres > -1){ if(inres > -1){
alert("亲~您已购买过了~请到【订单查询】查看订单信息哟~"); alert("亲~您已购买过了~请到【订单查询】查看订单信息哟~");
}else{ }else{
// location.href = "/sdk.php/Ipa365/pay/game_id/"+index.choose.game_id; location.href = "/sdk.php/Ipa365/pay/game_id/"+index.choose.game_id;
} }
}) })
$("#logout").on("click",function(){ $("#logout").on("click",function(){

Loading…
Cancel
Save