签入版本
This commit is contained in:
@@ -0,0 +1,487 @@
|
||||
<!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;
|
||||
}
|
||||
|
||||
.logo {
|
||||
max-width: 200px;
|
||||
height: auto;
|
||||
filter: brightness(0) invert(1);
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
/* 通知图标 */
|
||||
.notification-icon-circle {
|
||||
background: linear-gradient(135deg, #FF9800, #F57C00);
|
||||
}
|
||||
|
||||
.notification-icon-circle::after {
|
||||
content: '📢';
|
||||
}
|
||||
|
||||
/* 信息卡片样式 */
|
||||
.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;
|
||||
}
|
||||
|
||||
.info-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.info-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 12px 15px;
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
|
||||
}
|
||||
|
||||
.info-label {
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.info-value {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/* 用户详情 */
|
||||
.user-details {
|
||||
background: linear-gradient(to right, #FFF3E0, #FFE0B2);
|
||||
border-left-color: #FF9800;
|
||||
}
|
||||
|
||||
.user-details-title::before {
|
||||
content: '👤';
|
||||
}
|
||||
|
||||
/* 统计卡片 */
|
||||
.stats-card {
|
||||
background: linear-gradient(to right, #E8F5E9, #C8E6C9);
|
||||
border-left-color: #4CAF50;
|
||||
}
|
||||
|
||||
.stats-card-title::before {
|
||||
content: '📊';
|
||||
}
|
||||
|
||||
.stats-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.stat-item {
|
||||
text-align: center;
|
||||
padding: 15px;
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
color: #4CAF50;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.stat-label {
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* 按钮样式 */
|
||||
.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-admin {
|
||||
background: linear-gradient(to right, #FF9800, #F57C00);
|
||||
}
|
||||
|
||||
/* 标签样式 */
|
||||
.email-tag {
|
||||
display: inline-block;
|
||||
color: white;
|
||||
padding: 5px 12px;
|
||||
border-radius: 20px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.email-tag-notification {
|
||||
background: linear-gradient(to right, #FF9800, #F57C00);
|
||||
}
|
||||
|
||||
/* 邮件底部 */
|
||||
.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;
|
||||
}
|
||||
|
||||
.info-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.footer-link {
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
.footer-link:not(:last-child)::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</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-notification">系统通知</span>
|
||||
<h2 class="content-title">新用户注册成功</h2>
|
||||
|
||||
<div class="notification-icon" style="text-align: center; margin: 20px 0;">
|
||||
<div class="icon-circle notification-icon-circle"></div>
|
||||
<h3 style="color: #FF9800; margin-bottom: 10px;">新用户已成功注册</h3>
|
||||
<p style="color: #666;">请查看以下用户信息</p>
|
||||
</div>
|
||||
|
||||
<p class="content-text">尊敬的管理员,</p>
|
||||
<p class="content-text">系统检测到有新用户成功注册 小蚂蚁云 账户,以下是该用户的详细信息:</p>
|
||||
|
||||
<div class="info-card user-details">
|
||||
<div class="info-card-title user-details-title">用户信息</div>
|
||||
|
||||
<div class="info-grid">
|
||||
<div class="info-item">
|
||||
<span class="info-label">用户名</span>
|
||||
<span class="info-value">${username}</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">注册邮箱</span>
|
||||
<span class="info-value">${email}</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">注册手机</span>
|
||||
<span class="info-value">${mobile}</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">注册时间</span>
|
||||
<span class="info-value">${registerTime}</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">用户ID</span>
|
||||
<span class="info-value">${userId}</span>
|
||||
</div>
|
||||
<div class="info-item">
|
||||
<span class="info-label">账户类型</span>
|
||||
<span class="info-value" style="color: #FF9800;">普通会员</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <div class="info-card stats-card">
|
||||
<div class="info-card-title stats-card-title">平台统计</div>
|
||||
|
||||
<div class="stats-grid">
|
||||
<div class="stat-item">
|
||||
<div class="stat-value">${totalUsers}</div>
|
||||
<div class="stat-label">总用户数</div>
|
||||
</div>
|
||||
<div class="stat-item">
|
||||
<div class="stat-value">${todayRegistrations}</div>
|
||||
<div class="stat-label">今日注册</div>
|
||||
</div>
|
||||
<div class="stat-item">
|
||||
<div class="stat-value">${activeUsers}</div>
|
||||
<div class="stat-label">活跃用户</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<p class="content-text">该用户已收到欢迎邮件,并可以开始使用平台的所有基础功能。</p>
|
||||
|
||||
<p class="content-text">您可以通过以下链接查看用户详情或进行管理操作:</p>
|
||||
|
||||
<a href="#" class="button button-admin">查看用户详情</a>
|
||||
|
||||
<p class="content-text">此邮件为系统自动发送,如有疑问请联系技术支持团队。</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>
|
||||
|
||||
<div class="footer-links">
|
||||
<a href="#" class="footer-link">官方网站</a>
|
||||
<a href="#" class="footer-link">用户协议</a>
|
||||
<a href="#" class="footer-link">隐私政策</a>
|
||||
<a href="#" class="footer-link">联系我们</a>
|
||||
<a href="#" class="footer-link">帮助中心</a>
|
||||
</div>
|
||||
|
||||
<p class="copyright">© 2026 小蚂蚁云团队 版权所有</p>
|
||||
<p class="copyright">本邮件为系统自动发送,请勿直接回复</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user