礼包弹框

master
chenzhi 5 years ago
parent 8c445b21ec
commit 45797a0627

@ -14,6 +14,19 @@
<p>礼包详情</p>
<div></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;">
<img src="__IMG__/payerroricon.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>
<div class="ptbboxpad">
<div class="gifbox">
<div href="#" class="weui-cell gifcopy">
@ -61,11 +74,15 @@
window.location.href = "{:U('details',['user_token' => $user_token,'gift_id' => $gift_id,'game_id' => $game_id,'game_name' => $game_name])}";
}else
{
alert(data);
$("#errormsg").html(data);
$("#iosDialog").show();
// window.location.href = "{:U('details',['user_token' => $user_token,'gift_id' => $gift_id,'game_id' => $game_id,'game_name' => $game_name])}";
}
});
})
$("#hidedialog").on("click",function(){
$("#iosDialog").hide();
})
</script>

Loading…
Cancel
Save