You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
52
hyhproject/home2/view/default/users/recharge/pay_step2.html
Executable file
52
hyhproject/home2/view/default/users/recharge/pay_step2.html
Executable file
@ -0,0 +1,52 @@
|
||||
{extend name="default/users/base" /}
|
||||
{block name="title"}资金管理-充值{__block__}{/block}
|
||||
{block name="css"}
|
||||
<link href="__STYLE__/css/recharge.css?v={$v}" rel="stylesheet">
|
||||
{/block}
|
||||
{block name="content"}
|
||||
<div class='wst-user-content'>
|
||||
|
||||
<div class="pay-sbox-head">
|
||||
<div class="wst-user-head"><span>充值</span></div>
|
||||
</div>
|
||||
<div style="padding-top: 27px;">
|
||||
<div class="pay-tip2"></div>
|
||||
</div>
|
||||
<div class='pay-sbox' >
|
||||
<div class="qrcode-box">
|
||||
<div class="pbox">
|
||||
请您扫描以下二维码,钱包充值金额:<span class="wst-fred">¥{$needPay}</span>
|
||||
</div>
|
||||
<div style="" class="wst-qrcode"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/block}
|
||||
{block name="js"}
|
||||
<script type='text/javascript' src='__STYLE__/js/qrcode.js?v={$v}'></script>
|
||||
<script>
|
||||
{if condition="$out_trade_no != '' and $code_url!=''"}
|
||||
var qr = qrcode(10, 'M');
|
||||
qr.addData("{$code_url}");
|
||||
qr.make();
|
||||
$(".wst-qrcode").html(qr.createImgTag());
|
||||
|
||||
{/if}
|
||||
setInterval(function(){
|
||||
var params = {};
|
||||
params.trade_no = "{$out_trade_no}";
|
||||
|
||||
$.ajax({
|
||||
url:"{:url('home/weixinpays/getPayStatus')}",
|
||||
data:params,
|
||||
type:"POST",
|
||||
dataType:"json",
|
||||
success:function(data){
|
||||
if(data.status==1){
|
||||
location.href = "{:url('home/logmoneys/usermoneys')}";
|
||||
}
|
||||
}
|
||||
});
|
||||
},1500);
|
||||
</script>
|
||||
{/block}
|
Reference in New Issue
Block a user