admin/addon/saasagent/shop/view/mini/onlinebuy.html

47 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>支付宝扫码授权</title>
<script src="__STATIC__/ext/layui/layui.js"></script>
<link rel="stylesheet" type="text/css" href="__STATIC__/ext/layui/css/layui.css" />
</head>
<body>
<div class="container">
<div><img style='width: 200px;align-content: center;' src='/public/static/img/alipay_mini_qr.png'></div>
<div style= "font-size:15px;margin-top: 25px">请商户使用支付宝扫码购</div>
</div>
</body>
<style>
.container {
/*margin-top: 50px;*/
text-align: center;
margin: 10px auto;
}
.item{
display: inline-block;
width: 100px;
background-color: #ff266e;
}
</style>
<script>
function close() {
window.opener=null;
// window.open('','_self');
window.open(location, '_self').close();
// window.close();
}
// layui.use('layer', function(){
// let msg='授权接入';
// var layer = layui.layer;
// var index = parent.layer.getFrameIndex(window.name); //当前iframe层的索引
// layer.msg(msg);
// setTimeout(function(){
// parent.layer.close(index); //再执行关闭
// },3000)
// });
</script>
</html>