103 lines
2.1 KiB
HTML
103 lines
2.1 KiB
HTML
|
|
<!doctype html>
|
||
|
|
<html lang="zh-CN">
|
||
|
|
<head>
|
||
|
|
<meta charset="UTF-8" />
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
|
|
<title>认证结果</title>
|
||
|
|
<style>
|
||
|
|
*,
|
||
|
|
*::before,
|
||
|
|
*::after {
|
||
|
|
box-sizing: border-box;
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
body {
|
||
|
|
font-family:
|
||
|
|
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
|
||
|
|
background: #f5f5f5;
|
||
|
|
min-height: 100vh;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
padding: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.card {
|
||
|
|
background: #fff;
|
||
|
|
border-radius: 16px;
|
||
|
|
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
|
||
|
|
padding: 48px 40px;
|
||
|
|
max-width: 400px;
|
||
|
|
width: 100%;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.icon {
|
||
|
|
width: 72px;
|
||
|
|
height: 72px;
|
||
|
|
border-radius: 50%;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
margin: 0 auto 24px;
|
||
|
|
font-size: 36px;
|
||
|
|
line-height: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.icon--success {
|
||
|
|
background: #e6f9f0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.icon--fail {
|
||
|
|
background: #fff1f0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.title {
|
||
|
|
font-size: 22px;
|
||
|
|
font-weight: 600;
|
||
|
|
margin-bottom: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.title--success {
|
||
|
|
color: #0a6640;
|
||
|
|
}
|
||
|
|
|
||
|
|
.title--fail {
|
||
|
|
color: #a8071a;
|
||
|
|
}
|
||
|
|
|
||
|
|
.message {
|
||
|
|
font-size: 15px;
|
||
|
|
color: #666;
|
||
|
|
line-height: 1.6;
|
||
|
|
}
|
||
|
|
|
||
|
|
.divider {
|
||
|
|
border: none;
|
||
|
|
border-top: 1px solid #f0f0f0;
|
||
|
|
margin: 28px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.hint {
|
||
|
|
font-size: 13px;
|
||
|
|
color: #aaa;
|
||
|
|
}
|
||
|
|
</style>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<div class="card">
|
||
|
|
{{if .Success}}
|
||
|
|
<div class="icon icon--success">✅</div>
|
||
|
|
<h1 class="title title--success">认证成功</h1>
|
||
|
|
{{else}}
|
||
|
|
<div class="icon icon--fail">❌</div>
|
||
|
|
<h1 class="title title--fail">认证失败</h1>
|
||
|
|
{{end}}
|
||
|
|
|
||
|
|
<p class="message">{{.Message}}</p>
|
||
|
|
</div>
|
||
|
|
</body>
|
||
|
|
</html>
|