Files
2026-09-28 18:51:35 +08:00

379 lines
11 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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>
/* 基础样式重置 */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
color: #333;
background-color: #f8fafc;
padding: 20px 0;
}
/* 主容器 */
.email-container {
max-width: 600px;
margin: 0 auto;
background-color: #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.email-container:hover {
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
/* 邮件头部 */
.email-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 35px 40px;
text-align: center;
position: relative;
overflow: hidden;
}
.email-header::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
transform: rotate(30deg);
}
.logo-container {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 15px;
}
.company-name {
font-size: 42px;
font-weight: 700;
color: white;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
letter-spacing: 2px;
margin: 0;
position: relative;
z-index: 1;
}
.header-text {
font-size: 18px;
font-weight: 300;
margin: 0;
opacity: 0.9;
position: relative;
z-index: 1;
}
/* 内容区域 */
.email-content {
padding: 40px;
}
.content-title {
font-size: 24px;
font-weight: 600;
margin-bottom: 20px;
color: #2c3e50;
position: relative;
padding-bottom: 10px;
}
.content-title::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 3px;
background: linear-gradient(to right, #667eea, #764ba2);
border-radius: 3px;
}
.content-text {
font-size: 16px;
margin-bottom: 20px;
color: #555;
}
/* 图标样式 */
.icon-circle {
display: inline-block;
width: 80px;
height: 80px;
border-radius: 50%;
position: relative;
margin-bottom: 15px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.icon-circle::after {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 40px;
}
/* 留言验证码图标 */
.message-icon-circle {
background: linear-gradient(135deg, #667eea, #764ba2);
}
.message-icon-circle::after {
content: '✉️';
color: white;
font-weight: bold;
}
/* 信息卡片样式 */
.info-card {
border-radius: 10px;
padding: 25px;
margin: 25px 0;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border-left: 4px solid;
}
.info-card-title {
font-size: 18px;
font-weight: 600;
margin-bottom: 20px;
color: #2c3e50;
display: flex;
align-items: center;
}
.info-card-title::before {
margin-right: 10px;
font-size: 20px;
}
/* 验证码样式 */
.code-display {
font-size: 42px;
font-weight: 700;
text-align: center;
letter-spacing: 8px;
padding: 20px;
border-radius: 10px;
margin: 25px 0;
border: 2px dashed;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.message-code {
color: #667eea;
background: linear-gradient(to right, #f0f4ff, #e6eeff);
border-color: #667eea;
}
/* 按钮样式 */
.button {
display: inline-block;
color: white;
text-decoration: none;
padding: 14px 35px;
border-radius: 6px;
font-weight: 500;
margin: 25px 0;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
border: none;
cursor: pointer;
font-size: 16px;
}
.button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.button-message {
background: linear-gradient(to right, #667eea, #764ba2);
}
/* 标签样式 */
.email-tag {
display: inline-block;
color: white;
padding: 5px 12px;
border-radius: 20px;
font-size: 14px;
font-weight: 500;
margin-bottom: 15px;
}
.email-tag-message {
background: linear-gradient(to right, #667eea, #764ba2);
}
/* 邮件底部 */
.email-footer {
background-color: #f8f9fa;
padding: 35px 40px;
text-align: center;
border-top: 1px solid #eaeaea;
}
.qrcode-section {
margin-bottom: 25px;
padding: 20px;
background-color: white;
border-radius: 10px;
display: inline-block;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.qrcode {
max-width: 130px;
height: auto;
margin-bottom: 10px;
border-radius: 8px;
}
.qrcode-text {
font-size: 14px;
color: #666;
margin: 5px 0;
}
.footer-links {
margin: 25px 0;
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.footer-link {
color: #666;
text-decoration: none;
font-size: 14px;
margin: 0 12px;
transition: color 0.3s ease;
position: relative;
}
.footer-link:hover {
color: #667eea;
}
.footer-link:not(:last-child)::after {
content: '|';
position: absolute;
right: -15px;
color: #ddd;
}
.copyright {
font-size: 13px;
color: #999;
margin-top: 20px;
}
/* 响应式调整 */
@media screen and (max-width: 600px) {
.email-header, .email-content, .email-footer {
padding: 25px;
}
.content-title {
font-size: 22px;
}
.button {
display: block;
text-align: center;
padding: 16px;
}
.footer-links {
flex-direction: column;
}
.footer-link {
margin: 5px 0;
}
.footer-link:not(:last-child)::after {
display: none;
}
.code-display {
font-size: 32px;
letter-spacing: 5px;
padding: 15px;
}
}
</style>
</head>
<body>
<div class="email-container">
<!-- 邮件头部 -->
<div class="email-header">
<div class="logo-container">
<h1 class="company-name">小蚂蚁云</h1>
</div>
<p class="header-text">专业服务,值得信赖</p>
</div>
<!-- 留言验证码模板 -->
<div class="email-content">
<span class="email-tag email-tag-message">留言验证</span>
<h2 class="content-title">留言验证码</h2>
<div class="message-icon" style="text-align: center; margin: 20px 0;">
<div class="icon-circle message-icon-circle"></div>
<h3 style="color: #667eea; margin-bottom: 10px;">留言验证请求</h3>
<p style="color: #666;">请使用以下验证码完成留言验证</p>
</div>
<p class="content-text">尊敬的 <strong>${username}</strong>,</p>
<p class="content-text">我们收到了您在 小蚂蚁云 的留言验证请求。请使用以下验证码完成验证:</p>
<div class="code-display message-code">${code}</div>
<div class="info-card" style="background: linear-gradient(to right, #f0f4ff, #e6eeff); border-left-color: #667eea;">
<div class="info-card-title" style="font-size: 16px;">重要提示:</div>
<p>此验证码 <strong>15分钟</strong> 内有效,请尽快完成验证。</p>
<p>如非本人操作,请立即忽略此邮件,并确保您的账户安全。</p>
</div>
<a href="https://www.xiaomayicloud.com/message" class="button button-message">立即完成验证</a>
<p class="content-text">如果您没有请求留言验证,请忽略此邮件,您的账户仍然是安全的。</p>
<p class="content-text">感谢您的使用!<br> 小蚂蚁云 团队</p>
</div>
<!-- 邮件底部 -->
<div class="email-footer">
<div class="qrcode-section">
<img src="http://images.xiaomayicloud.com/img_qq.png" alt="扫码联系微信客服" class="qrcode">
<p class="qrcode-text">扫码联系微信客服</p>
</div>
<p class="copyright">© 2026 小蚂蚁云团队 版权所有</p>
<p class="copyright">本邮件为系统自动发送,请勿直接回复</p>
</div>
</div>
</body>
</html>