主机开通页,美化效果怎么样,有大佬帮忙美化一下吗

tetepay  (UID: 2470) [复制链接]
帖子链接已复制到剪贴板
帖子已经有人评论啦,不支持删除!

345 1

<!doctype html>
<html lang="zh">
<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', Tahoma, Geneva, Verdana, sans-serif; /* 现代化字体 */
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* 渐变背景 */
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
        }

        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            pointer-events: none;
        }

        .container {
            width: 90%;
            max-width: 1000px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
            position: relative;
            z-index: 1;
            animation: fadeInUp 0.8s ease-out;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .success-icon {
            text-align: center;
            margin-bottom: 30px;
        }

        .success-icon svg {
            width: 80px;
            height: 80px;
            fill: #28a745;
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }

        h1 {
            color: #28a745;
            text-align: center;
            font-size: 36px;
            margin-bottom: 10px;
            font-weight: 600;
            letter-spacing: -0.5px;
        }

        .subtitle {
            color: #666;
            text-align: center;
            font-size: 16px;
            margin-bottom: 30px;
        }

        .info-card {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-left: 4px solid #28a745;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 30px;
        }

        ul {
            list-style: none;
            padding: 0;
        }

        ul li {
            line-height: 1.8;
            color: #333;
            padding: 8px 0;
            padding-left: 30px;
            position: relative;
            transition: all 0.3s ease;
        }

        ul li:hover {
            color: #28a745;
            transform: translateX(5px);
        }

        ul li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #28a745;
            font-weight: bold;
            font-size: 18px;
        }

        a {
            color: #20a53a;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
        }

        a:hover {
            color: #1e7e34;
        }

        a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -2px;
            left: 0;
            background-color: #20a53a;
            transition: width 0.3s ease;
        }

        a:hover::after {
            width: 100%;
        }

        .code-box {
            background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
            border-radius: 10px;
            padding: 20px;
            margin-top: 20px;
            position: relative;
            overflow: hidden;
        }

        .code-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #667eea, #764ba2);
        }

        code {
            color: #e2e8f0;
            font-family: 'Fira Code', 'Consolas', monospace;
            font-size: 14px;
            line-height: 1.6;
            display: block;
        }

        .copy-button {
            margin: 20px auto;
            padding: 12px 24px;
            background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
            color: white;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            transition: all 0.3s ease;
            display: block;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
        }

        .copy-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
        }

        .copy-button:active {
            transform: translateY(0);
        }

        h3 {
            color: #333;
            text-align: center;
            font-size: 22px;
            margin: 40px 0 20px;
            font-weight: 600;
        }

        .app-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .app {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border: 2px solid #e9ecef;
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .app::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .app:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            border-color: #667eea;
        }

        .app:hover::before {
            transform: scaleX(1);
        }

        .app h4 {
            color: #333;
            margin-bottom: 15px;
            font-size: 18px;
            font-weight: 600;
        }

        .app p {
            margin: 0;
        }

        .app a {
            color: #667eea;
            font-weight: 600;
            font-size: 16px;
        }

        .app a:hover {
            color: #764ba2;
        }

        .warning-badge {
            display: inline-block;
            background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            margin-left: 10px;
        }

        @media (max-width: 768px) {
            .container {
                width: 95%;
                padding: 25px;
            }

            h1 {
                font-size: 28px;
            }

            .app-container {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="success-icon">
            <svg viewBox="0 0 24 24">
                <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/>
            </svg>
        </div>
        
        <h1>🎉 站点创建成功!</h1>
        <p class="subtitle">您的主机已准备就绪,可以开始部署网站了</p>
        
        <div class="info-card">
            <ul>
                <li>免费公益主机,严禁违反道德用途,否则后果自负!<span class="warning-badge">重要</span></li>
                <li>这是默认 index2.html,本页面由系统自动生成</li>
                <li>本页面位于 htdocs 目录下的 index2.html</li>
                <li>您可以修改、删除或覆盖本页面</li>
                <li>默认开启 WAF 防火墙,404 美化,如不需要删除主机配置文件即可</li>
                <li>去掉 (/i=1)参考例子:(绑定自己的域名,如部分程序不兼容,需自己修改)</li>
            </ul>
        </div>
        
        <div class="code-box">
            <code>
代码参考地址:https://fourm.bolgk.eu.org/?thread-76.htm
            </code>
        </div>
        
        <button class="copy-button" onclick="copyCode()">复制代码链接</button>
        
        <h3>💰 云服务器优惠推荐</h3>
        <p style="text-align: center; color: #666; margin-bottom: 20px;">比平时购买更划算的优质云服务</p>
        
        <div class="app-container">
            <div class="app">
                <h4>🚀 优惠推荐 2+2</h4>
                <p><a href="https://www.aliyun.com/minisite/goods?userCode=bfsmw0bx" target="_blank">36元/年云服务器</a></p>
            </div>
            <div class="app">
                <h4>🌍 海外推荐 8+24</h4>
                <p><a href="https://app.cloudcone.com.cn/?ref=9457" target="_blank">海外低价云服务器</a></p>
            </div>
            <div class="app">
                <h4>⭐ 综合推荐 16+32</h4>
                <p><a href="https://my.racknerd.com/aff.php?aff=7770" target="_blank">多地区云服务器</a></p>
            </div>
        </div>
    </div>

    <script>
        function copyCode() {
            const code = 'https://fourm.bolgk.eu.org/?thread-76.htm';
            navigator.clipboard.writeText(code).then(() => {
                const button = document.querySelector('.copy-button');
                const originalText = button.textContent;
                button.textContent = '✅ 已复制!';
                button.style.background = 'linear-gradient(135deg, #28a745 0%, #20c997 100%)';
                
                setTimeout(() => {
                    button.textContent = originalText;
                    button.style.background = 'linear-gradient(135deg, #007bff 0%, #0056b3 100%)';
                }, 2000);
            }).catch(err => {
                console.error('复制失败:', err);
                alert('复制失败,请手动复制');
            });
        }
    </script>
</body>
</html>
9000多个源码网站:https://www.2o.ink
已有评论 ( 1 )
提示:您必须 登录 才能查看此内容。
域名市场
   域名载入中...
创建新帖
自助推广 (点击空位或 这里 添加)
确认删除
确定要删除这篇帖子吗?删除后将无法恢复。
删除成功
帖子已成功删除,页面将自动刷新。
删除失败
删除帖子时发生错误,请稍后再试。