html代码|网站引导页代码
时间:2025-05-26 13:38:29 阅读:21
<!DOCTYPE html> <html> <head> <!-- 声明文档使用的字符编码 --> <meta charset='utf-8'> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>首页-和平精英辅助_王者荣耀小地图透视_暗区透视_资源购买平台</title> <meta name="description" content="辅助软件网专业收集辅助货源一手资源官网✅,和平精英透视✅、王者荣耀小地图透视✅等等热门游戏不定时更新。软件基础功能包含自瞄、透视、射线。" /> <meta name="keywords" content="和平精英辅助,王者荣耀透视" /> <link href="https://sm.haikouhongyu.cn/favicon.ico" rel="shortcut icon" type="image/x-icon" /> <!-- 首页OG协议 --> <meta property="og:title" content="首页-和平精英辅助_王者荣耀小地图透视_暗区透视_资源购买平台️"> <meta property="og:type" content="website"> <meta property="og:image" content="https://sm.haikouhongyu.cn/uploads/allimg/20250430/1-250430015055T9.png"> <meta property="og:description" content="辅助软件网专业收集辅助货源一手资源官网✅,和平精英透视✅、王者荣耀小地图透视✅等等热门游戏不定时更新。软件基础功能包含自瞄、透视、射线。"> <meta property="og:site_name" content="资源购买平台️"> <meta property="og:locale" content="zh_CN"> <style> * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } a { color: inherit; /* 继承父元素的文本颜色 */ text-decoration: none; /* 去除下划线 */ } body { min-height: 100vh; overflow: hidden; position: relative; display: flex; flex-direction: column; } .background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('http://ceshi.haikouhongyu.cn/uploads/allimg/20250508/17466742033435.png') center/cover no-repeat; z-index: -2; } .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 25, 47, 0.7); backdrop-filter: blur(5px); z-index: -1; } .content { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; z-index: 1; } h1 { font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 700; color: #64ffda; margin-bottom: 1rem; text-shadow: 0 0 15px rgba(100, 255, 218, 0.5); animation: glow 2s ease-in-out infinite alternate; } h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 500; color: #ccd6f6; margin-bottom: 2rem; } p { font-size: clamp(1rem, 2vw, 1.25rem); color: #a8b2d1; max-width: 800px; margin: 0 auto 3rem; line-height: 1.6; } .buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; } .btn { display: inline-block; padding: 1rem 2.5rem; border-radius: 5px; font-size: 1.1rem; font-weight: 600; text-decoration: none; transition: all 0.3s ease; cursor: pointer; color: inherit; /* 继承父元素颜色 */ text-decoration: none; /* 去除下划线 */ } .btn-primary { background: linear-gradient(135deg, #64ffda, #00c4a7); color: #0a192f; box-shadow: 0 0 20px rgba(100, 255, 218, 0.5); } .btn-primary:hover { transform: translateY(-5px); box-shadow: 0 0 30px rgba(100, 255, 218, 0.7); } .btn-secondary { background: transparent; border: 2px solid #64ffda; color: #64ffda; } .btn-secondary:hover { background: rgba(100, 255, 218, 0.1); transform: translateY(-5px); } footer { position: relative; bottom: 0; left: 0; width: 100%; text-align: center; color: #8892b0; font-size: 0.9rem; padding: 1rem; z-index: 1; } .grid-pattern { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(100, 255, 218, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 255, 218, 0.05) 1px, transparent 1px); background-size: 30px 30px; z-index: -1; } .rays { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: -1; } .ray { position: absolute; background: linear-gradient(90deg, rgba(100, 255, 218, 0) 0%, rgba(100, 255, 218, 0.3) 50%, rgba(100, 255, 218, 0) 100%); height: 2px; transform-origin: left center; animation: ray-move 8s linear infinite; opacity: 0.5; } @keyframes ray-move { 0% { transform: translateX(-100%) rotate(var(--angle)); opacity: 0; } 20% { opacity: 0.5; } 80% { opacity: 0.5; } 100% { transform: translateX(calc(100vw / cos(var(--angle)))) rotate(var(--angle)); opacity: 0; } } @keyframes glow { from { text-shadow: 0 0 10px rgba(100, 255, 218, 0.5), 0 0 20px rgba(100, 255, 218, 0.3); } to { text-shadow: 0 0 15px rgba(100, 255, 218, 0.7), 0 0 30px rgba(100, 255, 218, 0.5), 0 0 40px rgba(100, 255, 218, 0.3); } } </style> </head> <body> <div></div> <div></div> <div></div> <div> <!-- 动态射线将通过JavaScript生成 --> </div> <div> <h1>游戏辅助</h1> <h2>正规科技平台</h2> <p>科技创造未来-神器让你无敌</p> <div> <a href="https://caihongapp.zshao.vip" class="btn btn-primary">了解更多</a> <a href="https://caihongapp.zshao.vip" class="btn btn-secondary">联系我们</a> </div> </div> <footer> <p>© 2025 未来科技. 保留所有权利.<a href="https://beian.miit.gov.cn/" rel="nofollow" target="_blank">琼ICP备2025049603号</a></p> </footer> <script> // 动态生成随机射线 function createRays() { const raysContainer = document.querySelector('.rays'); const raysCount = 15; for (let i = 0; i < raysCount; i++) { const ray = document.createElement('div'); ray.classList.add('ray'); // 随机位置和角度 const top = Math.random() * 100; const angle = (Math.random() * 60 - 30) * (Math.PI / 180); // -30到30度之间 const length = Math.random() * 500 + 300; ray.style.top = `${top}%`; ray.style.left = '0'; ray.style.width = `${length}px`; ray.style.transform = `rotate(${angle}rad)`; ray.style.setProperty('--angle', `${angle}rad`); ray.style.animationDelay = `${Math.random() * 8}s`; raysContainer.appendChild(ray); } } // 窗口大小变化时重新生成射线 window.addEventListener('resize', () => { const raysContainer = document.querySelector('.rays'); raysContainer.innerHTML = ''; createRays(); }); // 初始化射线 createRays(); </script> </body> </html>
网友评论