提交
This commit is contained in:
79
app/home/view/wepay/pcpay.html
Normal file
79
app/home/view/wepay/pcpay.html
Normal file
@@ -0,0 +1,79 @@
|
||||
{include file="public/head"}
|
||||
<link rel="stylesheet" href="/static/css/wepay.css?v=1">
|
||||
|
||||
<body class="wepay-page">
|
||||
<div class="zh_content">
|
||||
{include file="public/newnav"}
|
||||
</div>
|
||||
|
||||
<main class="layui-container wepay-shell">
|
||||
<section class="wepay-card">
|
||||
<div class="wepay-card__head">
|
||||
<div>
|
||||
<p class="wepay-eyebrow">{:lang('wepay.payment_title')}</p>
|
||||
<h1>{:lang('wepay.order_success_notice')}</h1>
|
||||
</div>
|
||||
<img src="/static/image/zf3.png" alt="{:lang('wepay.payment_title')}">
|
||||
</div>
|
||||
|
||||
<div class="wepay-summary">
|
||||
<div>
|
||||
<span>{:lang('wepay.order_number')}</span>
|
||||
<strong>{$order_sn}</strong>
|
||||
</div>
|
||||
<div>
|
||||
<span>{:lang('wepay.amount_due')}</span>
|
||||
<strong class="wepay-amount">¥{$total_fee}</strong>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wepay-methods">
|
||||
<div class="wepay-method">
|
||||
<div class="wepay-method__title">
|
||||
<img src="/static/image/wx.png" alt="{:lang('wepay.wechat_pay')}">
|
||||
<span>{:lang('wepay.wechat_pay')}</span>
|
||||
</div>
|
||||
<div class="wepay-qr">
|
||||
<img src="{$url}" alt="{:lang('wepay.wechat_pay')}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wepay-method">
|
||||
<div class="wepay-method__title">
|
||||
<img src="/static/image/zfb.jpg" alt="{:lang('wepay.alipay')}">
|
||||
<span>{:lang('wepay.alipay')}</span>
|
||||
</div>
|
||||
<div class="wepay-qr">
|
||||
<img src="{$aliurl}" alt="{:lang('wepay.alipay')}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<aside class="wepay-guide">
|
||||
<img src="/static/image/saoyisao.png" alt="{:lang('wepay.scan_to_pay')}">
|
||||
<h2>{:lang('wepay.scan_to_pay')}</h2>
|
||||
<p>{:lang('wepay.scan_notice')}</p>
|
||||
<div class="wepay-waiting">{:lang('wepay.processing')}</div>
|
||||
</aside>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
{include file="public/newfooter" }
|
||||
|
||||
<script>
|
||||
var interval = setInterval(function () {
|
||||
layui.$.ajax({
|
||||
type: "POST",
|
||||
url: "{:url('wepay/pcresult', ['order_sn' => $order_sn])}",
|
||||
dataType: "json",
|
||||
success: function (data) {
|
||||
if (data.status == 1) {
|
||||
clearInterval(interval);
|
||||
location.href = data.url;
|
||||
}
|
||||
}
|
||||
});
|
||||
}, 1000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user