91 lines
3.0 KiB
PHP
91 lines
3.0 KiB
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta http-equiv="Content-Language" content="zh-cn">
|
|
<meta name="apple-mobile-web-app-capable" content="no"/>
|
|
<meta name="apple-touch-fullscreen" content="yes"/>
|
|
<meta name="format-detection" content="telephone=no,email=no"/>
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="white">
|
|
<meta name="renderer" content="webkit"/>
|
|
<meta name="force-rendering" content="webkit"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
|
|
<meta http-equiv="Expires" content="0">
|
|
<meta http-equiv="Pragma" content="no-cache">
|
|
<meta http-equiv="Cache-control" content="no-cache">
|
|
<meta http-equiv="Cache" content="no-cache">
|
|
<meta name="viewport"
|
|
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
|
<title>{{ $type_name }}扫码支付</title>
|
|
<link href="{{ url('/style/web/newscan/') }}/css/pay.css" rel="stylesheet" media="screen">
|
|
<script src="{{ url('/style/web/newscan/') }}/js/jquery-2.1.1.min.js"></script>
|
|
<script src="{{ url('/style/web/newscan/') }}/js/jquery.qrcode.min.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="body">
|
|
<div class="container">
|
|
<div class="header">
|
|
<div class="logo" style="background:url('');font-size: 24px">{{$username}}</div>
|
|
</div>
|
|
<div class="mainbody">
|
|
<div class="realprice amount"> </div>
|
|
<div class="qrcode">
|
|
|
|
<div id="qrcode_create" style="display: none;"></div>
|
|
<img src="{{$url}}" id="imgOne" style="max-width: 100%">
|
|
<div class="expired hidden"></div>
|
|
<div class="paid hidden"></div>
|
|
</div>
|
|
<div class="tip">
|
|
<div class="ico-scan"></div>
|
|
<div class="tip-text">
|
|
<p>请使用展信扫一扫</p>
|
|
<p>扫描二维码完成支付</p>
|
|
</div>
|
|
|
|
</div>
|
|
<div class="tips">
|
|
<a id="app_pay_btn" target="_blank" href="{{$pic_content}}"
|
|
class="btn btn-success btn-lg">跳转到展信支付</a>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<script>
|
|
|
|
var remainseconds = 20 * 60;
|
|
var checktime = 3000;
|
|
var queryurl = "{{ route('web.api.pay_check') }}";
|
|
var addon = {
|
|
successtips: "支付成功!请关闭当前窗口以便于继续操作!",
|
|
expiretips: "二维码已过期,请重新发起订单支付!",
|
|
jumptips: "支付成功!2秒后将自动跳转!",
|
|
order_sn: "0000"
|
|
}
|
|
</script>
|
|
<script>
|
|
|
|
jQuery(function () {
|
|
var qrcode = jQuery('#qrcode_create').qrcode({
|
|
render: "canvas", //也可以替换为table
|
|
width: 300,
|
|
height: 300,
|
|
text: "{{ $url }}"
|
|
});
|
|
// var canvas = qrcode.find('canvas').get(0);
|
|
// $('#imgOne').attr('src', canvas.toDataURL('image/jpg'))
|
|
})
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|