ishop/public/success.html
2025-08-10 21:54:01 +08:00

219 lines
6.1 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>支付成功 - Crypto World Mall</title>
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<div class="container">
<!-- 支付成功内容 -->
<div class="success-container">
<div class="success-card">
<div class="success-icon">
<div class="success-checkmark"></div>
</div>
<h2 class="success-title">支付成功!</h2>
<p class="success-message">感谢您的购买,订单已确认</p>
<div class="success-info">
<div class="info-item">
<span class="info-icon">📦</span>
<span>我们将尽快安排发货</span>
</div>
<div class="info-item">
<span class="info-icon">🔔</span>
<span>发货后将第一时间通知您</span>
</div>
</div>
<div class="success-actions">
<button onclick="window.location.href='/'" class="success-btn">
继续购物
</button>
</div>
</div>
</div>
</div>
<style>
/* 支付成功页面样式 - 黑金主题 */
.success-container {
display: flex;
justify-content: center;
align-items: center;
min-height: 60vh;
padding: 40px 20px;
}
.success-card {
background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
border-radius: 20px;
padding: 50px 40px;
text-align: center;
border: 1px solid #333;
box-shadow:
0 25px 50px rgba(0, 0, 0, 0.5),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
max-width: 480px;
width: 100%;
position: relative;
overflow: hidden;
}
.success-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(90deg, #ffd700, #ffed4a, #ffd700);
}
.success-icon {
width: 100px;
height: 100px;
margin: 0 auto 30px;
background: linear-gradient(135deg, #ffd700, #ffed4a);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow:
0 20px 40px rgba(255, 215, 0, 0.3),
0 0 60px rgba(255, 215, 0, 0.2);
animation: successPulse 2s ease-in-out infinite alternate;
}
@keyframes successPulse {
0% {
box-shadow:
0 20px 40px rgba(255, 215, 0, 0.3),
0 0 60px rgba(255, 215, 0, 0.2);
}
100% {
box-shadow:
0 25px 50px rgba(255, 215, 0, 0.4),
0 0 80px rgba(255, 215, 0, 0.3);
}
}
.success-checkmark {
color: #000;
font-size: 50px;
font-weight: 900;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.success-title {
color: #ffffff;
font-size: 2.2em;
font-weight: 700;
margin-bottom: 15px;
text-shadow: 0 2px 15px rgba(255, 255, 255, 0.1);
}
.success-message {
color: #b8b8b8;
font-size: 1.2em;
margin-bottom: 35px;
line-height: 1.6;
}
.success-info {
margin-bottom: 40px;
padding: 25px;
background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
border-radius: 15px;
border: 1px solid #444;
}
.info-item {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 15px;
color: #e0e0e0;
font-size: 1.1em;
font-weight: 500;
}
.info-item:last-child {
margin-bottom: 0;
}
.info-icon {
font-size: 20px;
margin-right: 12px;
}
.success-actions {
text-align: center;
}
.success-btn {
background: linear-gradient(135deg, #ffd700, #ffed4a);
color: #000;
border: none;
padding: 16px 40px;
border-radius: 12px;
font-size: 18px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
position: relative;
overflow: hidden;
}
.success-btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s;
}
.success-btn:hover::before {
left: 100%;
}
.success-btn:hover {
transform: translateY(-3px);
box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
}
/* 移动端优化 */
@media (max-width: 768px) {
.success-card {
padding: 40px 25px;
margin: 20px;
}
.success-title {
font-size: 1.8em;
}
.success-message {
font-size: 1.1em;
}
.info-item {
font-size: 1em;
}
.success-btn {
padding: 14px 30px;
font-size: 16px;
}
}
</style>
</body>
</html>