- 邮箱验证码邮件标题直接带验证码,方便通知预览和邮件列表查看 - 优先发送HTML格式邮件,失败时降级为文本邮件发送 - 更新通知邮件模板视觉样式,提升阅读体验和品牌感知 - 优化密码重置邮件模板布局和内容结构,增加安全提示和帮助链接 - 改进注册成功邮件模板样式,增强信息分区和用户指导 - 所有邮件模板统一字体和颜色风格,提高整体视觉一致性 - 为通知、密码重置和注册成功页面添加响应式样式支持手机端显示
290 lines
9.3 KiB
HTML
290 lines
9.3 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>WebSoft - 密码重置</title>
|
|
<style>
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
|
|
line-height: 1.47059;
|
|
color: #1d1d1f;
|
|
background-color: #ffffff;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
.wrap { width: 100%; background: #ffffff; padding: 40px 0 36px; }
|
|
.container { max-width: 680px; margin: 0 auto; padding: 0 22px; }
|
|
.brand { text-align: center; margin-bottom: 28px; }
|
|
.brand-logo {
|
|
font-size: 22px;
|
|
font-weight: 600;
|
|
color: #1d1d1f;
|
|
letter-spacing: -0.022em;
|
|
}
|
|
.page-title {
|
|
text-align: center;
|
|
font-size: 40px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.025em;
|
|
color: #1d1d1f;
|
|
margin: 8px 0 18px;
|
|
line-height: 1.1;
|
|
}
|
|
.lede {
|
|
text-align: center;
|
|
font-size: 18px;
|
|
line-height: 1.45;
|
|
color: #1d1d1f;
|
|
margin: 0 auto 30px;
|
|
max-width: 560px;
|
|
}
|
|
|
|
.info-card {
|
|
background-color: #f5f5f7;
|
|
border-radius: 18px;
|
|
padding: 28px 32px 24px;
|
|
margin: 0 0 22px;
|
|
}
|
|
.info-card-title {
|
|
font-size: 13px;
|
|
color: #6e6e73;
|
|
margin-bottom: 14px;
|
|
letter-spacing: -0.008em;
|
|
}
|
|
.info-cols {
|
|
display: table;
|
|
width: 100%;
|
|
border-spacing: 0;
|
|
}
|
|
.info-col {
|
|
display: table-cell;
|
|
vertical-align: top;
|
|
width: 50%;
|
|
padding-right: 18px;
|
|
}
|
|
.info-col + .info-col {
|
|
border-left: 1px solid #d2d2d7;
|
|
padding-left: 22px;
|
|
padding-right: 0;
|
|
}
|
|
.field-row { padding: 8px 0; }
|
|
.field-label {
|
|
font-size: 12px;
|
|
color: #6e6e73;
|
|
margin-bottom: 4px;
|
|
letter-spacing: -0.006em;
|
|
}
|
|
.field-value {
|
|
font-size: 15px;
|
|
color: #1d1d1f;
|
|
word-break: break-all;
|
|
line-height: 1.4;
|
|
}
|
|
.field-value.mono {
|
|
font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.tips-card {
|
|
background-color: #f5f5f7;
|
|
border-radius: 18px;
|
|
padding: 22px 32px;
|
|
margin: 0 0 22px;
|
|
}
|
|
.tips-caption {
|
|
font-size: 13px;
|
|
color: #6e6e73;
|
|
margin-bottom: 10px;
|
|
letter-spacing: -0.008em;
|
|
}
|
|
.tips-list {
|
|
list-style: none;
|
|
font-size: 14px;
|
|
color: #1d1d1f;
|
|
line-height: 1.7;
|
|
}
|
|
.tips-list li {
|
|
padding-left: 14px;
|
|
position: relative;
|
|
}
|
|
.tips-list li:before {
|
|
content: "•";
|
|
position: absolute;
|
|
left: 0;
|
|
color: #6e6e73;
|
|
}
|
|
|
|
.warning-card {
|
|
background-color: #fff5f5;
|
|
border-radius: 18px;
|
|
padding: 22px 32px;
|
|
margin: 0 0 22px;
|
|
font-size: 14px;
|
|
color: #1d1d1f;
|
|
line-height: 1.6;
|
|
}
|
|
.warning-card strong { color: #b3271d; font-weight: 600; }
|
|
|
|
.cta {
|
|
text-align: center;
|
|
margin: 32px 0 6px;
|
|
}
|
|
.cta a {
|
|
font-size: 17px;
|
|
color: #06c;
|
|
text-decoration: none;
|
|
letter-spacing: -0.022em;
|
|
}
|
|
.cta a:hover { text-decoration: underline; }
|
|
.cta-sub {
|
|
text-align: center;
|
|
font-size: 13px;
|
|
color: #6e6e73;
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.help {
|
|
text-align: center;
|
|
font-size: 13px;
|
|
color: #6e6e73;
|
|
margin: 26px auto 0;
|
|
max-width: 560px;
|
|
line-height: 1.6;
|
|
}
|
|
.help a { color: #06c; text-decoration: none; }
|
|
.help a:hover { text-decoration: underline; }
|
|
|
|
.footer {
|
|
text-align: center;
|
|
margin-top: 44px;
|
|
padding-top: 22px;
|
|
border-top: 1px solid #d2d2d7;
|
|
}
|
|
.footer-brand {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #1d1d1f;
|
|
margin-bottom: 10px;
|
|
letter-spacing: -0.016em;
|
|
}
|
|
.footer-links {
|
|
font-size: 13px;
|
|
line-height: 1.8;
|
|
}
|
|
.footer-links a {
|
|
color: #6e6e73;
|
|
margin: 0 14px;
|
|
text-decoration: none;
|
|
}
|
|
.footer-links a:hover { color: #1d1d1f; text-decoration: underline; }
|
|
.copyright {
|
|
font-size: 12px;
|
|
color: #6e6e73;
|
|
margin-top: 14px;
|
|
line-height: 1.4;
|
|
}
|
|
.copyright a { color: #6e6e73; }
|
|
|
|
@media (max-width: 600px) {
|
|
.page-title { font-size: 30px; }
|
|
.lede { font-size: 16px; }
|
|
.container { padding: 0 16px; }
|
|
.info-card, .tips-card, .warning-card { padding: 22px 22px; border-radius: 16px; }
|
|
.info-cols { display: block; }
|
|
.info-col { display: block; width: 100%; padding: 0; }
|
|
.info-col + .info-col {
|
|
border-left: none;
|
|
border-top: 1px solid #d2d2d7;
|
|
padding: 12px 0 0;
|
|
margin-top: 12px;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="wrap">
|
|
<div class="container">
|
|
<div class="brand">
|
|
<div class="brand-logo">WebSoft</div>
|
|
</div>
|
|
|
|
<h1 class="page-title">密码重置</h1>
|
|
<p class="lede">
|
|
您好!我们收到了您的密码重置请求,请查看以下账户信息以便您确认是否为本人操作。
|
|
</p>
|
|
|
|
<!-- 资料大卡 -->
|
|
<div class="info-card">
|
|
<div class="info-card-title">WebSoft 账户信息</div>
|
|
<div class="info-cols">
|
|
<div class="info-col">
|
|
<div class="field-row">
|
|
<div class="field-label">登录账号</div>
|
|
<div class="field-value">${username!}</div>
|
|
</div>
|
|
<div class="field-row">
|
|
<div class="field-label">手机号</div>
|
|
<div class="field-value">${phone!}</div>
|
|
</div>
|
|
</div>
|
|
<div class="info-col">
|
|
<div class="field-row">
|
|
<div class="field-label">重置时间</div>
|
|
<div class="field-value">${resetTime!}</div>
|
|
</div>
|
|
<% if(has(newPassword)) { %>
|
|
<div class="field-row">
|
|
<div class="field-label">新密码</div>
|
|
<div class="field-value mono">${newPassword!}</div>
|
|
</div>
|
|
<% } %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 警告卡片 -->
|
|
<div class="warning-card">
|
|
<strong>重要提醒:</strong>如果这不是您本人的操作,请立即<a href="${contactUrl!'https://websoft.top/contact'}" style="color:#b3271d;text-decoration:underline;">联系客服</a>并修改密码,您的账户可能已被窃取。
|
|
</div>
|
|
|
|
<!-- 安全建议 -->
|
|
<div class="tips-card">
|
|
<div class="tips-caption">安全建议</div>
|
|
<ul class="tips-list">
|
|
<li>建议您立即登录并修改为更安全的密码</li>
|
|
<li>密码应包含大小写字母、数字和特殊字符</li>
|
|
<li>不要在多个网站使用相同的密码</li>
|
|
<li>定期更换密码以保障账户安全</li>
|
|
<li>如发现异常登录,请及时联系客服</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="cta">
|
|
<a href="${loginUrl!'https://websoft.top/login'}">立即登录 →</a>
|
|
</div>
|
|
<div class="cta-sub">如按钮未生效,请将上面的登录地址复制到浏览器打开。</div>
|
|
|
|
<p class="help">
|
|
如有疑问,请联系客服或访问 <a href="${helpUrl!'https://websoft.top/help'}">帮助中心</a>。
|
|
</p>
|
|
|
|
<div class="footer">
|
|
<div class="footer-brand">WebSoft</div>
|
|
<div class="footer-links">
|
|
<a href="https://websoft.top">官方网站</a>
|
|
<a href="https://websoft.top/help">帮助中心</a>
|
|
<a href="https://websoft.top/contact">联系我们</a>
|
|
<a href="https://websoft.top/settings">账户设置</a>
|
|
</div>
|
|
<div class="copyright">
|
|
Copyright © 2026 WebSoft Inc. 保留所有权利。<br>
|
|
<a href="https://websoft.top">websoft.top</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|