feat: 添加基金监控系统基础功能
添加基金监控系统相关文件,包括邮件发送功能、基金数据配置、测试脚本等。主要包含以下内容: 1. 添加PHPMailer库及相关语言文件 2. 添加基金配置数据文件(fund_config.json, fund_names.json等) 3. 添加邮件发送测试脚本(test_email.php, test_fund_email.php等) 4. 添加.gitignore文件忽略不必要的文件 5. 添加composer.json配置依赖 Signed-off-by: LL <LL>
This commit is contained in:
334
404.html
Normal file
334
404.html
Normal file
@@ -0,0 +1,334 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>404 - 页面未找到</title>
|
||||
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
|
||||
<style>
|
||||
/* 基础样式重置 */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
}
|
||||
|
||||
/* 炫酷背景 */
|
||||
body {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* 粒子效果背景 */
|
||||
body::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
|
||||
background-size: 30px 30px;
|
||||
z-index: 1;
|
||||
animation: moveBackground 30s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes moveBackground {
|
||||
0% {
|
||||
background-position: 0 0;
|
||||
}
|
||||
100% {
|
||||
background-position: 300px 300px;
|
||||
}
|
||||
}
|
||||
|
||||
/* 404容器 */
|
||||
.container {
|
||||
text-align: center;
|
||||
color: white;
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
max-width: 800px;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
/* 404数字动画 */
|
||||
.error-number {
|
||||
font-size: 180px;
|
||||
font-weight: 900;
|
||||
margin: 0;
|
||||
line-height: 1;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
text-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
|
||||
animation: glitch 2s infinite;
|
||||
}
|
||||
|
||||
@keyframes glitch {
|
||||
0%, 100% {
|
||||
transform: translate(0);
|
||||
text-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
20% {
|
||||
transform: translate(-5px, 5px);
|
||||
text-shadow: 0 0 30px rgba(255, 0, 255, 0.8), 0 0 60px rgba(255, 0, 255, 0.5);
|
||||
}
|
||||
40% {
|
||||
transform: translate(-5px, -5px);
|
||||
text-shadow: 0 0 30px rgba(0, 255, 255, 0.8), 0 0 60px rgba(0, 255, 255, 0.5);
|
||||
}
|
||||
60% {
|
||||
transform: translate(5px, 5px);
|
||||
text-shadow: 0 0 30px rgba(255, 255, 0, 0.8), 0 0 60px rgba(255, 255, 0, 0.5);
|
||||
}
|
||||
80% {
|
||||
transform: translate(5px, -5px);
|
||||
text-shadow: 0 0 30px rgba(0, 255, 0, 0.8), 0 0 60px rgba(0, 255, 0, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
/* 404数字内部动画效果 */
|
||||
.error-number::after {
|
||||
content: '404';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
color: transparent;
|
||||
background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.8) 50%, transparent 70%);
|
||||
background-size: 200% 100%;
|
||||
background-clip: text;
|
||||
-webkit-background-clip: text;
|
||||
animation: shine 3s infinite linear;
|
||||
}
|
||||
|
||||
@keyframes shine {
|
||||
0% {
|
||||
background-position: -200% 0;
|
||||
}
|
||||
100% {
|
||||
background-position: 200% 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* 标题和描述 */
|
||||
h2 {
|
||||
font-size: 3rem;
|
||||
margin-bottom: 1rem;
|
||||
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
|
||||
animation: fadeInUp 1s ease-out;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.2rem;
|
||||
margin-bottom: 2rem;
|
||||
max-width: 600px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
opacity: 0.9;
|
||||
animation: fadeInUp 1s ease-out 0.3s both;
|
||||
}
|
||||
|
||||
/* 返回首页按钮 */
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 12px 30px;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
color: #667eea;
|
||||
background: white;
|
||||
border-radius: 50px;
|
||||
box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
|
||||
transition: all 0.3s ease;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
animation: fadeInUp 1s ease-out 0.6s both;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
transform: translateY(-3px);
|
||||
box-shadow: 0 15px 30px rgba(102, 126, 234, 0.5);
|
||||
}
|
||||
|
||||
.btn::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
|
||||
transition: all 0.6s;
|
||||
}
|
||||
|
||||
.btn:hover::before {
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
/* 动画效果 */
|
||||
@keyframes fadeInUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(30px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
/* 漂浮图标效果 */
|
||||
.floating-icons {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.icon {
|
||||
position: absolute;
|
||||
font-size: 2rem;
|
||||
color: rgba(255, 255, 255, 0.3);
|
||||
animation: float 15s infinite ease-in-out;
|
||||
}
|
||||
|
||||
.icon:nth-child(1) { top: 10%; left: 10%; animation-duration: 15s; }
|
||||
.icon:nth-child(2) { top: 20%; right: 15%; animation-duration: 18s; animation-delay: 2s; }
|
||||
.icon:nth-child(3) { bottom: 15%; left: 20%; animation-duration: 12s; animation-delay: 1s; }
|
||||
.icon:nth-child(4) { bottom: 25%; right: 25%; animation-duration: 20s; animation-delay: 3s; }
|
||||
.icon:nth-child(5) { top: 40%; left: 35%; animation-duration: 14s; animation-delay: 0.5s; }
|
||||
|
||||
@keyframes float {
|
||||
0%, 100% {
|
||||
transform: translate(0, 0) rotate(0deg);
|
||||
opacity: 0.3;
|
||||
}
|
||||
25% {
|
||||
transform: translate(20px, -30px) rotate(15deg);
|
||||
opacity: 0.5;
|
||||
}
|
||||
50% {
|
||||
transform: translate(-10px, 20px) rotate(-10deg);
|
||||
opacity: 0.4;
|
||||
}
|
||||
75% {
|
||||
transform: translate(30px, 10px) rotate(5deg);
|
||||
opacity: 0.6;
|
||||
}
|
||||
}
|
||||
|
||||
/* 响应式设计 */
|
||||
@media (max-width: 768px) {
|
||||
.error-number {
|
||||
font-size: 120px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.btn {
|
||||
padding: 10px 25px;
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.error-number {
|
||||
font-size: 80px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!-- 粒子背景 -->
|
||||
|
||||
<!-- 漂浮图标 -->
|
||||
<div class="floating-icons">
|
||||
<i class="fas fa-chart-line icon"></i>
|
||||
<i class="fas fa-rocket icon"></i>
|
||||
<i class="fas fa-cog icon"></i>
|
||||
<i class="fas fa-code icon"></i>
|
||||
<i class="fas fa-terminal icon"></i>
|
||||
</div>
|
||||
|
||||
<!-- 主要内容 -->
|
||||
<div class="container">
|
||||
<div class="error-number">404</div>
|
||||
<h2>页面未找到</h2>
|
||||
<p>您访问的页面可能已经移动、删除或从未存在。请返回首页继续浏览我们的基金监控系统。</p>
|
||||
<a href="index.php" class="btn">
|
||||
<i class="fas fa-home mr-2"></i> 返回首页
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- JavaScript增强效果 -->
|
||||
<script>
|
||||
// 添加鼠标跟随效果
|
||||
document.addEventListener('mousemove', function(e) {
|
||||
const x = e.clientX / window.innerWidth;
|
||||
const y = e.clientY / window.innerHeight;
|
||||
|
||||
// 轻微移动背景渐变
|
||||
document.body.style.backgroundPosition = `${x * 50}px ${y * 50}px`;
|
||||
|
||||
// 轻微移动404数字
|
||||
const errorNumber = document.querySelector('.error-number');
|
||||
if (errorNumber) {
|
||||
errorNumber.style.transform = `translate(${x * 10 - 5}px, ${y * 10 - 5}px)`;
|
||||
}
|
||||
});
|
||||
|
||||
// 随机生成更多漂浮图标
|
||||
function createMoreIcons() {
|
||||
const icons = ['fa-star', 'fa-globe', 'fa-bolt', 'fa-lightbulb', 'fa-puzzle-piece'];
|
||||
const container = document.querySelector('.floating-icons');
|
||||
|
||||
for (let i = 0; i < 5; i++) {
|
||||
const icon = document.createElement('i');
|
||||
const randomIcon = icons[Math.floor(Math.random() * icons.length)];
|
||||
icon.className = `fas ${randomIcon} icon`;
|
||||
|
||||
// 随机位置
|
||||
icon.style.top = `${Math.random() * 100}%`;
|
||||
icon.style.left = `${Math.random() * 100}%`;
|
||||
|
||||
// 随机动画持续时间和延迟
|
||||
const duration = 10 + Math.random() * 20;
|
||||
const delay = Math.random() * 5;
|
||||
icon.style.animationDuration = `${duration}s`;
|
||||
icon.style.animationDelay = `${delay}s`;
|
||||
|
||||
container.appendChild(icon);
|
||||
}
|
||||
}
|
||||
|
||||
// 页面加载后创建更多图标
|
||||
window.addEventListener('load', function() {
|
||||
createMoreIcons();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user