This commit is contained in:
+77
-35
@@ -301,41 +301,83 @@ const (
|
||||
</body>
|
||||
</html>`
|
||||
|
||||
DefaultDeleteAccountEmailTemplate = `<!doctype html>
|
||||
DefaultDeleteAccountEmailTemplate = `<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<style>
|
||||
body { margin: 0; padding: 0; background: #f4f4f4; font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif; }
|
||||
.container { max-width: 600px; margin: 0 auto; background: #fff; padding: 40px; }
|
||||
.logo { text-align: right; margin-bottom: 40px; }
|
||||
.title { font-size: 28px; font-weight: 600; color: #0F2C53; margin-bottom: 16px; }
|
||||
.content { font-size: 16px; color: #0F2C53; line-height: 1.6; }
|
||||
.warning-box { background: #FFF3CD; border-left: 4px solid #FF8C00; padding: 16px 20px; margin: 24px 0; border-radius: 4px; }
|
||||
.warning-box p { margin: 0; font-size: 15px; color: #5C3D00; }
|
||||
.footer { margin-top: 40px; font-size: 12px; color: #999; text-align: center; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="logo">
|
||||
{{if .SiteLogo}}<img src="{{.SiteLogo}}" alt="{{.SiteName}}" height="47" style="display:block;" />{{end}}
|
||||
</div>
|
||||
<div class="title">账户注销确认</div>
|
||||
<div class="content">
|
||||
<p>您好,</p>
|
||||
<p>我们收到了您注销 <strong>{{.SiteName}}</strong> 账户的请求。请在系统提示时输入以下验证码以完成注销:</p>
|
||||
<div style="font-size: 48px; font-weight: 700; color: #0F2C53; letter-spacing: 4px; margin: 24px 0;">{{.Code}}</div>
|
||||
<p>验证码将在 <strong>{{.Expire}} 分钟</strong>后过期。</p>
|
||||
<div class="warning-box">
|
||||
<p>⚠️ <strong>重要提示:</strong>账户注销后,您的所有数据(包括订阅、套餐、账户信息)将被<strong>永久删除且不可恢复</strong>。请确认您已充分了解此操作的后果。</p>
|
||||
</div>
|
||||
<p>如果这不是您本人的操作,请立即忽略本邮件,您的账户将保持安全。</p>
|
||||
<p>谢谢,<br />{{.SiteName}} 团队</p>
|
||||
</div>
|
||||
<div class="footer">此为系统邮件,请勿回复</div>
|
||||
</div>
|
||||
</body>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body style="margin:0; padding:0; background-color:#f4f4f4; font-family:'PingFang SC','Microsoft YaHei',Arial,sans-serif;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#f4f4f4">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<table width="600" cellpadding="0" cellspacing="0" border="0" bgcolor="#ffffff" style="min-height:740px; padding-bottom:53px;">
|
||||
|
||||
<!-- Top Logo -->
|
||||
<tr>
|
||||
<td align="right" style="padding:32px 40px 0 0;">
|
||||
{{if .SiteLogo}}<img height="47" style="display:block;" src="{{.SiteLogo}}" alt="{{.SiteName}}">{{end}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Spacer -->
|
||||
<tr><td height="70"></td></tr>
|
||||
|
||||
<!-- Main Content -->
|
||||
<tr>
|
||||
<td style="padding:0 43px 0 43px;">
|
||||
<h1 style="font-weight:600; font-size:36px; line-height:1.4; color:#0F2C53; margin:0 0 24px 0;">
|
||||
账户注销确认
|
||||
</h1>
|
||||
<p style="font-weight:400; font-size:16px; line-height:1.4; color:#0F2C53; margin:0 0 24px 0; white-space:pre-line;">
|
||||
亲爱的用户,
|
||||
|
||||
我们收到了你注销 {{.SiteName}} 账户的请求。
|
||||
请在系统提示时输入以下验证码以完成注销:
|
||||
</p>
|
||||
|
||||
<div style="font-weight:600; font-size:48px; line-height:1.4; color:#0F2C53; margin:24px 0; letter-spacing:2px;">
|
||||
{{.Code}}
|
||||
</div>
|
||||
|
||||
<p style="font-weight:400; font-size:16px; line-height:1.4; color:#0F2C53; margin:24px 0 0 0;">
|
||||
该验证码将在 {{.Expire}} 分钟 后过期。
|
||||
</p>
|
||||
|
||||
<!-- Warning Box -->
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin:24px 0;">
|
||||
<tr>
|
||||
<td style="background:#FFF3CD; border-left:4px solid #FF8C00; padding:16px 20px; border-radius:4px;">
|
||||
<p style="margin:0; font-size:15px; color:#5C3D00; line-height:1.6;">
|
||||
⚠️ <strong>重要提示:</strong>账户注销后,你的所有数据(包括订阅、套餐、账户信息)将被<strong>永久删除且不可恢复</strong>。请确认你已充分了解此操作的后果。
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p style="font-weight:400; font-size:16px; line-height:1.4; color:#0F2C53; margin:24px 0 0 0; white-space:pre-line;">
|
||||
如果这不是你本人操作,请忽略本邮件,你的账户将保持安全。
|
||||
|
||||
谢谢,
|
||||
{{.SiteName}}团队
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- Spacer -->
|
||||
<tr><td height="50"></td></tr>
|
||||
|
||||
<!-- Footer Logo -->
|
||||
<tr>
|
||||
<td align="center" style="padding-bottom:20px;">
|
||||
{{if .SiteLogo}}<img width="52" height="52" style="display:block; margin:0 auto;" src="{{.SiteLogo}}" alt="{{.SiteName}}">{{end}}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>`
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user