1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <title>运送支付</title>
- <link rel="stylesheet" href="/static/mobile/css/weui.min.css">
- <style>
- .weui-icon_msg {
- width: 128px;
- height: 128px;
- }
- .weui-icon-success {
- font-size: 23px;
- color: #148d8f;
- }
- </style>
- <script src="/static/jquery-1.11.3.min.js"></script>
- </head>
- <body ontouchstart="">
- {empty name="$error"}
- <div id="qrcode22" style="text-align: center;padding-top: 10%">
- <img style="width: 80%;" src="{:url('admin/Qrcode/qrcode',['type'=>1,'code'=>$info['url']])}" alt="支付二维码">
- </div>
- {/empty}
- <div class="weui-msg" style="display: none" id="s1">
- <div class="weui-msg__icon-area"><i class="weui-icon-success weui-icon_msg"></i></div>
- <div class="weui-msg__text-area">
- <h2 class="weui-msg__title">支付成功</h2>
- </div>
- <div class="weui-msg__extra-area">
- </div>
- </div>
- {notempty name="$error"}
- <div class="weui-msg" id="s2">
- <div class="weui-msg__icon-area"><i class="weui-icon-warn weui-icon_msg"></i></div>
- <div class="weui-msg__text-area">
- <h2 class="weui-msg__title">{$error}</h2>
- </div>
- <div class="weui-msg__extra-area">
- </div>
- </div>
- {/notempty}
- <br>
- <br>
- <div class="weui-footer weui-footer_fixed-bottom">
- <p class="weui-footer__links">
- <a href="javascript:;" class="weui-footer__link">病人运送支付</a>
- </p>
- <p class="weui-footer__text">Copyright © 霸洁云</p>
- </div>
- <script>
- {empty name="$error"}
- var timer = null;
- var url = '{:url("Index/checkPay",["id"=>$info["id"]])}';
- var id = {$info["id"]};
- $(function () {
- timer = setInterval(function () {
- $.post(url,{id:id},function (res) {
- if(res.code == 1){
- $('#s1').show();
- $('#qrcode22').hide();
- }
- });
- },2000);
- });
- {/empty}
- </script>
- </body>
- </html>
|