571 lines
17 KiB
HTML
571 lines
17 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, 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;
|
||
}
|
||
|
||
/* 下载图标 */
|
||
.download-icon {
|
||
background: linear-gradient(135deg, #2196F3, #1976D2);
|
||
}
|
||
|
||
.download-icon::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;
|
||
}
|
||
|
||
.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;
|
||
}
|
||
|
||
/* 产品详情 */
|
||
.product-details {
|
||
background: linear-gradient(to right, #f0f8ff, #e6f2ff);
|
||
border-left-color: #2196F3;
|
||
}
|
||
|
||
.product-details-title::before {
|
||
content: '📁';
|
||
}
|
||
|
||
/* 产品信息 */
|
||
.product-info {
|
||
display: flex;
|
||
margin-bottom: 20px;
|
||
align-items: center;
|
||
}
|
||
|
||
.product-image {
|
||
width: 80px;
|
||
height: 80px;
|
||
background: linear-gradient(135deg, #2196F3, #1976D2);
|
||
border-radius: 10px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
margin-right: 20px;
|
||
color: white;
|
||
font-size: 30px;
|
||
}
|
||
|
||
.product-text {
|
||
flex: 1;
|
||
}
|
||
|
||
.product-name {
|
||
font-size: 20px;
|
||
font-weight: 600;
|
||
margin-bottom: 5px;
|
||
color: #2c3e50;
|
||
}
|
||
|
||
.product-description {
|
||
font-size: 14px;
|
||
color: #666;
|
||
}
|
||
|
||
/* 下载信息 */
|
||
.download-info {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
||
gap: 15px;
|
||
margin-top: 20px;
|
||
}
|
||
|
||
.download-info-item {
|
||
background: white;
|
||
padding: 15px;
|
||
border-radius: 8px;
|
||
text-align: center;
|
||
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
|
||
}
|
||
|
||
.download-info-label {
|
||
font-size: 14px;
|
||
color: #666;
|
||
margin-bottom: 5px;
|
||
}
|
||
|
||
.download-info-value {
|
||
font-size: 16px;
|
||
font-weight: 600;
|
||
color: #333;
|
||
}
|
||
|
||
/* 步骤列表 */
|
||
.steps-container {
|
||
background: #f9f9f9;
|
||
border-radius: 8px;
|
||
padding: 20px;
|
||
margin: 25px 0;
|
||
}
|
||
|
||
.steps-title {
|
||
font-size: 16px;
|
||
font-weight: 600;
|
||
margin-bottom: 15px;
|
||
color: #2c3e50;
|
||
}
|
||
|
||
.step {
|
||
display: flex;
|
||
margin-bottom: 12px;
|
||
align-items: flex-start;
|
||
}
|
||
|
||
.step-number {
|
||
background: #2196F3;
|
||
color: white;
|
||
width: 24px;
|
||
height: 24px;
|
||
border-radius: 50%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
margin-right: 12px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.step-text {
|
||
flex: 1;
|
||
font-size: 14px;
|
||
color: #555;
|
||
}
|
||
|
||
/* 按钮样式 */
|
||
.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-download {
|
||
background: linear-gradient(to right, #2196F3, #1976D2);
|
||
}
|
||
|
||
/* 标签样式 */
|
||
.email-tag {
|
||
display: inline-block;
|
||
color: white;
|
||
padding: 5px 12px;
|
||
border-radius: 20px;
|
||
font-size: 14px;
|
||
font-weight: 500;
|
||
margin-bottom: 15px;
|
||
}
|
||
|
||
.email-tag-download {
|
||
background: linear-gradient(to right, #2196F3, #1976D2);
|
||
}
|
||
|
||
/* 邮件底部 */
|
||
.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, .download-info {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.product-info {
|
||
flex-direction: column;
|
||
text-align: center;
|
||
}
|
||
|
||
.product-image {
|
||
margin-right: 0;
|
||
margin-bottom: 15px;
|
||
}
|
||
|
||
.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>
|
||
<!-- <img src="https://via.placeholder.com/200x60/ffffff/667eea?text=小蚂蚁云" alt="小蚂蚁云" class="logo">-->
|
||
</div>
|
||
<p class="header-text">专业服务,值得信赖</p>
|
||
</div>
|
||
|
||
<!-- 下载成功模板 -->
|
||
<div class="email-content">
|
||
<span class="email-tag email-tag-download">产品服务</span>
|
||
<h2 class="content-title">下载完成</h2>
|
||
|
||
<div class="download-ready-icon" style="text-align: center; margin: 20px 0;">
|
||
<div class="icon-circle download-icon"></div>
|
||
<h3 style="color: #2196F3; 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="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">包含数据库SQL脚本、案例数据和附件资源文件</div>
|
||
</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">${downloadCount}次</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">2026-10-08</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<a href="#" class="button button-download">立即下载</a>
|
||
|
||
<div class="steps-container">
|
||
<div class="steps-title">部署说明</div>
|
||
|
||
<div class="step">
|
||
<div class="step-number">1</div>
|
||
<div class="step-text">下载完成后,解压文件到指定目录</div>
|
||
</div>
|
||
<div class="step">
|
||
<div class="step-number">2</div>
|
||
<div class="step-text">创建数据库,并导入SQL脚本(文档目录下)</div>
|
||
</div>
|
||
<div class="step">
|
||
<div class="step-number">3</div>
|
||
<div class="step-text">查阅官方文档,开始本地部署</div>
|
||
</div>
|
||
<div class="step">
|
||
<div class="step-number">4</div>
|
||
<div class="step-text">完成安装后即可使用所有功能</div>
|
||
</div>
|
||
</div>
|
||
|
||
<p class="content-text">如有任何技术问题,请查看我们的<a href="#" style="color: #667eea;">帮助文档</a>或联系技术支持。</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>
|
||
<!-- <p class="qrcode-text">获取最新资讯和专属优惠</p>-->
|
||
</div>
|
||
|
||
<div class="footer-links">
|
||
<a href="#" class="footer-link">官方网站</a>
|
||
<a href="https://www.xiaomayicloud.com/copyright" 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">© 2025 小蚂蚁云团队 版权所有</p>
|
||
<p class="copyright">本邮件为系统自动发送,请勿直接回复</p>
|
||
</div>
|
||
</div>
|
||
</body>
|
||
</html> |