1234567891011121314151617181920212223242526272829303132333435363738 |
- ##tlayout("www/layout.htm"){
- <section class="container minheight500">
- <div class="row my-detail">
- <div class="col-sm-4 pay_page">
- <div class="order-box order-box-new">
- <div class="pay_title">支付宝付款</div>
- <div class="order-info">
- <h4>价格信息</h4>
- <p class="clearfix"><span class="pull-left">商品小计</span><span class="pull-right">¥${orders.subtotal!}</span></p>
- <p class="clearfix"><span class="pull-left">运费</span><span class="pull-right">¥${orders.freight_price!}</span></p>
- <hr />
- <p class="clearfix"><strong class="pull-left">总计</strong><strong class="pull-right">¥${orders.grand_total!}</strong></p>
- </div>
- <div class="order-list">
- <div id="qrcode"></div>
- <div class="tip">支付宝扫一扫付款</div>
- </div>
- </div>
- </div>
- </div>
- </section>
- <script src="/www/js/jquery.qrcode.min.js"></script>
- <script type="text/javascript">
- $(function(){
-
- $('#qrcode').qrcode("${qrcode!}");
- setInterval(function(){
- $.post("/alipayQuery",{code:"${orders.code!}"},function(data){
- if(data.success){
- alert(data.msg);
- window.location.href="/user/orders";
- }
- });
- }, 3000);
- });
- </script>
- ##}
|