527 lines
16 KiB
HTML
527 lines
16 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>
|
|
/* 基础样式重置 */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', 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);
|
|
}
|
|
|
|
/* 邮件头部 */
|
|
.email-header {
|
|
background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
|
|
color: white;
|
|
padding: 40px 40px 30px;
|
|
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: 26px;
|
|
font-weight: 600;
|
|
margin-bottom: 20px;
|
|
color: #2c3e50;
|
|
position: relative;
|
|
padding-bottom: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.content-title::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 80px;
|
|
height: 4px;
|
|
background: linear-gradient(to right, #4CAF50, #45a049);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.content-text {
|
|
font-size: 16px;
|
|
margin-bottom: 20px;
|
|
color: #555;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
/* 图标样式 */
|
|
.icon-circle {
|
|
display: inline-block;
|
|
width: 100px;
|
|
height: 100px;
|
|
border-radius: 50%;
|
|
position: relative;
|
|
margin-bottom: 20px;
|
|
box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
|
|
}
|
|
|
|
.icon-circle::after {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
font-size: 48px;
|
|
}
|
|
|
|
/* 下载图标 */
|
|
.download-icon {
|
|
background: linear-gradient(135deg, #4CAF50, #45a049);
|
|
}
|
|
|
|
.download-icon::after {
|
|
content: '📥';
|
|
color: white;
|
|
}
|
|
|
|
/* 信息卡片样式 */
|
|
.info-card {
|
|
border-radius: 12px;
|
|
padding: 30px;
|
|
margin: 30px 0;
|
|
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
|
|
border-left: 5px solid;
|
|
background: #fff;
|
|
}
|
|
|
|
.info-card-title {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
margin-bottom: 25px;
|
|
color: #2c3e50;
|
|
display: flex;
|
|
align-items: center;
|
|
padding-bottom: 12px;
|
|
border-bottom: 2px solid #f0f0f0;
|
|
}
|
|
|
|
.info-card-title::before {
|
|
margin-right: 12px;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.info-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 18px;
|
|
}
|
|
|
|
.info-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 16px 18px;
|
|
background: #f8fafc;
|
|
border-radius: 10px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
|
|
border-left: 3px solid #4CAF50;
|
|
}
|
|
|
|
.info-label {
|
|
font-size: 14px;
|
|
color: #666;
|
|
margin-bottom: 6px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.info-value {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
/* 产品详情 */
|
|
.product-details {
|
|
background: linear-gradient(to right, #f0f8ff, #e6f2ff);
|
|
border-left-color: #4CAF50;
|
|
}
|
|
|
|
.product-details-title::before {
|
|
content: '📦';
|
|
}
|
|
|
|
/* 产品信息 */
|
|
.product-info {
|
|
display: flex;
|
|
margin-bottom: 25px;
|
|
align-items: center;
|
|
background: white;
|
|
padding: 25px;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
|
|
}
|
|
|
|
.product-image {
|
|
width: 90px;
|
|
height: 90px;
|
|
background: linear-gradient(135deg, #4CAF50, #45a049);
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-right: 25px;
|
|
color: white;
|
|
font-size: 36px;
|
|
box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
|
|
}
|
|
|
|
.product-text {
|
|
flex: 1;
|
|
}
|
|
|
|
.product-name {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
color: #2c3e50;
|
|
}
|
|
|
|
.product-description {
|
|
font-size: 15px;
|
|
color: #666;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.product-version {
|
|
display: inline-block;
|
|
background: #e8f5e9;
|
|
color: #2e7d32;
|
|
padding: 4px 12px;
|
|
border-radius: 20px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
/* 下载信息 */
|
|
.download-info {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
gap: 18px;
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.download-info-item {
|
|
background: white;
|
|
padding: 18px;
|
|
border-radius: 10px;
|
|
text-align: center;
|
|
box-shadow: 0 3px 10px rgba(0,0,0,0.05);
|
|
border: 1px solid #f0f0f0;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.download-info-item:hover {
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.download-info-label {
|
|
font-size: 14px;
|
|
color: #666;
|
|
margin-bottom: 8px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.download-info-value {
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
color: #4CAF50;
|
|
}
|
|
|
|
/* 用户信息 */
|
|
.user-info {
|
|
background: linear-gradient(to right, #f0f8ff, #e6f2ff);
|
|
border-left-color: #2196F3;
|
|
}
|
|
|
|
.user-info-title::before {
|
|
content: '👤';
|
|
}
|
|
|
|
/* 邮件底部 */
|
|
.email-footer {
|
|
background-color: #f8f9fa;
|
|
padding: 40px 40px 30px;
|
|
text-align: center;
|
|
border-top: 1px solid #eaeaea;
|
|
}
|
|
|
|
.copyright {
|
|
font-size: 13px;
|
|
color: #999;
|
|
margin-top: 25px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* 标签样式 */
|
|
.email-tag {
|
|
display: inline-block;
|
|
color: white;
|
|
padding: 8px 20px;
|
|
border-radius: 20px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
margin-bottom: 20px;
|
|
letter-spacing: 0.5px;
|
|
box-shadow: 0 3px 8px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.email-tag-notification {
|
|
background: linear-gradient(to right, #4CAF50, #45a049);
|
|
}
|
|
|
|
/* 响应式调整 - 手机端优化 */
|
|
@media screen and (max-width: 600px) {
|
|
.email-header, .email-content, .email-footer {
|
|
padding: 25px 20px;
|
|
}
|
|
|
|
.company-name {
|
|
font-size: 32px;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.header-text {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.content-title {
|
|
font-size: 22px;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.content-title::after {
|
|
width: 60px;
|
|
height: 3px;
|
|
}
|
|
|
|
.info-grid, .download-info {
|
|
grid-template-columns: 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
.product-info {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.product-image {
|
|
margin-right: 0;
|
|
margin-bottom: 20px;
|
|
width: 70px;
|
|
height: 70px;
|
|
font-size: 28px;
|
|
}
|
|
|
|
.product-name {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.icon-circle {
|
|
width: 80px;
|
|
height: 80px;
|
|
}
|
|
|
|
.icon-circle::after {
|
|
font-size: 36px;
|
|
}
|
|
|
|
.info-card {
|
|
padding: 20px;
|
|
margin: 25px 0;
|
|
}
|
|
|
|
.info-card-title {
|
|
font-size: 18px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.info-item {
|
|
padding: 14px 16px;
|
|
}
|
|
}
|
|
|
|
/* 超小屏幕优化 */
|
|
@media screen and (max-width: 375px) {
|
|
.email-header, .email-content, .email-footer {
|
|
padding: 20px 15px;
|
|
}
|
|
|
|
.company-name {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.content-title {
|
|
font-size: 20px;
|
|
}
|
|
}
|
|
</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="download-ready-icon" style="text-align: center; margin: 25px 0;">
|
|
<div class="icon-circle download-icon"></div>
|
|
<h3 style="color: #4CAF50; margin-bottom: 12px; font-size: 22px;">用户下载已完成</h3>
|
|
<p style="color: #666; font-size: 16px;">一位用户刚刚成功下载了我们的软件产品</p>
|
|
</div>
|
|
|
|
<p class="content-text">尊敬的小蚂蚁云团队,</p>
|
|
<p class="content-text">系统检测到一位用户刚刚成功下载了我们的软件产品,以下是详细信息:</p>
|
|
|
|
<div class="info-card user-info">
|
|
<div class="info-card-title user-info-title">用户信息</div>
|
|
|
|
<div class="info-grid">
|
|
<div class="info-item">
|
|
<span class="info-label">用户ID</span>
|
|
<span class="info-value">${memberId}</span>
|
|
</div>
|
|
<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">${username}</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">历史下载次数</span>
|
|
<span class="info-value">${downloadCount}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="info-card product-details">
|
|
<div class="info-card-title product-details-title">下载产品信息</div>
|
|
|
|
<div class="product-info">
|
|
<div class="product-image">🚀</div>
|
|
<div class="product-text">
|
|
<div class="product-name">${orderTitle} ${fileVersion}</div>
|
|
<div class="product-description">全面的数字化解决方案,包含数据库脚本、专业架构设计、附件资源,助力您的数字化未来。</div>
|
|
<span class="product-version">最新版本 ${fileVersion}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="download-info">
|
|
<div class="download-info-item">
|
|
<span class="download-info-label">文件大小</span>
|
|
<span class="download-info-value">${fileSize}</span>
|
|
</div>
|
|
<div class="download-info-item">
|
|
<span class="download-info-label">下载时间</span>
|
|
<span class="download-info-value">${downloadTime}</span>
|
|
</div>
|
|
<div class="download-info-item">
|
|
<span class="download-info-label">文件格式</span>
|
|
<span class="download-info-value">${fileExtension}压缩包</span>
|
|
</div>
|
|
<div class="download-info-item">
|
|
<span class="download-info-label">累计下载次数</span>
|
|
<span class="download-info-value">${downloadCount}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<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> |