Files
2026-09-17 12:12:55 +08:00

432 lines
12 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;
}
.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;
}
/* 成功图标 */
.success-icon {
background: linear-gradient(135deg, #4CAF50, #45a049);
}
.success-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;
}
/* 订单摘要 */
.order-summary {
background: linear-gradient(to right, #f8f9ff, #f0f2ff);
border-left-color: #4CAF50;
}
.order-summary-title::before {
content: '📦';
}
/* 金额高亮 */
.amount-highlight {
font-size: 28px;
font-weight: 700;
color: #4CAF50;
text-align: center;
margin: 15px 0;
}
/* 按钮样式 */
.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-success {
background: linear-gradient(to right, #4CAF50, #45a049);
}
/* 标签样式 */
.email-tag {
display: inline-block;
color: white;
padding: 5px 12px;
border-radius: 20px;
font-size: 14px;
font-weight: 500;
margin-bottom: 15px;
}
.email-tag-payment {
background: linear-gradient(to right, #4CAF50, #45a049);
}
/* 邮件底部 */
.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-payment">订单通知</span>
<h2 class="content-title">付款成功</h2>
<div class="payment-success-icon" style="text-align: center; margin: 20px 0;">
<div class="icon-circle success-icon"></div>
<h3 style="color: #4CAF50; 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 order-summary">
<div class="info-card-title order-summary-title">订单摘要</div>
<div class="amount-highlight">¥${paymentAmount}</div>
<div class="info-grid">
<div class="info-item">
<span class="info-label">订单号</span>
<span class="info-value">${orderNo}</span>
</div>
<div class="info-item">
<span class="info-label">支付方式</span>
<span class="info-value">${paymentType}</span>
</div>
<div class="info-item">
<span class="info-label">支付时间</span>
<span class="info-value">${paymentTime}</span>
</div>
<div class="info-item">
<span class="info-label">订单状态</span>
<span class="info-value" style="color: #4CAF50;">已支付</span>
</div>
</div>
</div>
<div class="content-text">
<strong>商品信息:</strong><br>
${orderTitle}
</div>
<a href="https://www.xiaomayicloud.com/user/order" class="button button-success">查看订单详情</a>
<p class="content-text">我们将在24小时内处理您的订单,您可以在"我的订单"中查看订单状态。</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>