Files

84 lines
2.6 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>
body {
margin: 0;
padding: 0;
background-color: #f5f7fa;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 24px;
background-color: #ffffff;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.title {
font-size: 20px;
font-weight: bold;
color: #333;
text-align: center;
}
.code {
display: inline-block;
font-size: 28px;
font-weight: bold;
letter-spacing: 4px;
color: #2f54eb;
background-color: #f0f3ff;
padding: 12px 24px;
border-radius: 6px;
margin: 16px 0;
}
.tips {
font-size: 14px;
color: #666;
text-align: center;
line-height: 1.6;
}
.footer {
font-size: 12px;
color: #999;
text-align: center;
margin-top: 20px;
}
</style>
</head>
<body>
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#f5f7fa">
<tr>
<td align="center" style="padding: 40px 0;">
<div class="container">
<div class="title">FBA</div>
<p style="margin-top:20px;">您正在进行绑定操作,请使用以下验证码:</p>
<span class="code">{{code}}</span>
<p class="tips">验证码有效期为 <strong>{{expired}}分钟</strong>,请勿泄露给他人。</p>
<p class="tips">
如有疑问,可通过【
<a href="https://fastapi-practices.github.io/fastapi_best_architecture_docs/backend/reference/config.html#captcha-login-expire-seconds">
官网-互动
</a>
】获取帮助,感谢您对 fba 的支持!
</p>
<div class="footer">
如果这不是您的操作,请忽略此邮件。<br>
本邮件由系统自动发送,请勿直接回复。
</div>
</div>
</td>
</tr>
</table>
</body>
</html>