文件

68 行
1.8 KiB
HTML
可执行文件

<!doctype html>
<html>
<!--[1.3.11]-->
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="shortcut icon" type="image/x-icon" href="{$logoinfo['icourl']}">
<title>授权结果</title>
<style>
body {
background: #f1f1f1;
}
.box {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.center {
display: flex;
flex-direction: column;
padding: 70px 100px;
border-radius: 10px;
border: 1px solid #e0e0e4;
background-color: white;
justify-content: center;
align-items: center;
position: relative;
}
.btn {
position: absolute;
top: 10px;
right: 10px;
color: #666;
cursor: pointer;
}
</style>
</head>
<body>
<div class="box">
<if condition="$status eq 1">
<div class="center">
<span class="btn">关闭</span>
<img src="__PUBLIC__/images/success.png">
<span style="padding-top: 30px">授权成功</span>
</div>
<else/>
<div class="center">
<span class="btn">关闭</span>
<img src="__PUBLIC__/images/error.png">
<span style="padding-top: 30px">授权失败 {$msg}</span>
</div>
</if>
</div>
</body>
<script src="__PUBLIC__/jquery/js/jquery-3.2.1.min.js"></script>
<script>
$('.btn').click(function () {
window.close();
})
</script>
</html>