|
|
|
@ -14,7 +14,7 @@
|
|
|
|
|
<p>礼包详情</p>
|
|
|
|
|
<div></div>
|
|
|
|
|
</div> -->
|
|
|
|
|
<div class="js_dialog" id="iosDialog" style="display: none;">
|
|
|
|
|
<!-- <div class="js_dialog" id="iosDialog" style="display: none;">
|
|
|
|
|
<div class="weui-mask"></div>
|
|
|
|
|
<div class="weui-dialog" style="width: 4rem;height: 4rem;max-width: 4rem;">
|
|
|
|
|
<img src="__IMG__/payerroricon.png" style="width: 1.4rem;height: 1.4rem;margin-top: .59rem;">
|
|
|
|
@ -25,7 +25,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div> -->
|
|
|
|
|
|
|
|
|
|
<div class="ptbboxpad">
|
|
|
|
|
<div class="gifbox">
|
|
|
|
@ -52,6 +52,19 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="js_dialog" id="iosDialog" style="display: none">
|
|
|
|
|
<div class="weui-mask"></div>
|
|
|
|
|
<div class="weui-dialog" style="width: 4rem;height: 4rem;max-width: 4rem;border-radius: 15px;">
|
|
|
|
|
<img src="__IMG__/giftalert.png" style="width: 1.4rem;height: 1.4rem;margin-top: .59rem;">
|
|
|
|
|
<p id="errormsg" style="font-size: .24rem;margin-top: .39rem;">输入错误,请重新输入</p>
|
|
|
|
|
<div class="btnbox" style="margin-top: .28rem;">
|
|
|
|
|
<div id="hidedialog" class="ptbbtn" style="width: 1.5rem;height: .5rem;line-height: .5rem;">
|
|
|
|
|
返回
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
<script src="__JS__/jquery.min.js"></script>
|
|
|
|
@ -79,11 +92,20 @@
|
|
|
|
|
} else if(r.code == 1){
|
|
|
|
|
window.location.href = "{:U('details',['user_token' => $user_token,'gift_id' => $gift_id,'game_id' => $game_id,'game_name' => $game_name])}";
|
|
|
|
|
}else {
|
|
|
|
|
alert(r.msg);
|
|
|
|
|
showerror(r.msg)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
function showerror(msg){
|
|
|
|
|
$("#errormsg").html(msg);
|
|
|
|
|
$("#iosDialog").show();
|
|
|
|
|
$("#hidedialog").off("click");
|
|
|
|
|
$("#hidedialog").on("click",function(){
|
|
|
|
|
$("#iosDialog").hide();
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* $.post("{:U('receive_gift')}",{
|
|
|
|
|
user_token : "{$user_token}",
|
|
|
|
@ -103,9 +125,9 @@
|
|
|
|
|
}
|
|
|
|
|
}); */
|
|
|
|
|
})
|
|
|
|
|
$("#hidedialog").on("click",function(){
|
|
|
|
|
$("#iosDialog").hide();
|
|
|
|
|
})
|
|
|
|
|
// $("#hidedialog").on("click",function(){
|
|
|
|
|
// $("#iosDialog").hide();
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|