凌峰创科服务平台

网站建设中模板HTML如何快速搭建?

极简纯文字版

这个模板最简单,只包含核心信息,加载速度快,适合临时使用。

特点:

  • 极简设计
  • 单文件,即开即用
  • 无依赖

代码:

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">网站建设中 - [您的网站名称]</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: #f4f4f9;
            color: #333;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            text-align: center;
        }
        .container {
            padding: 2rem;
        }
        h1 {
            color: #0056b3;
            margin-bottom: 1rem;
        }
        p {
            font-size: 1.1rem;
            line-height: 1.6;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>网站正在建设中</h1>
        <p>我们的网站正在进行一次激动人心的升级,<br>很快就会以全新的面貌与您见面。</p>
        <p>敬请期待!</p>
    </div>
</body>
</html>

现代简约版

这个模板增加了一些现代设计元素,如图标、进度条和邮件订阅功能,更专业。

特点:

网站建设中模板HTML如何快速搭建?-图1

  • 使用 Font Awesome 图标库
  • 模拟加载进度条
  • 邮件订阅表单
  • 响应式设计

代码:

网站建设中模板HTML如何快速搭建?-图2

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">即将上线 - [您的网站名称]</title>
    <!-- 引入 Font Awesome 图标库 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            color: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            text-align: center;
        }
        .content {
            max-width: 600px;
            padding: 40px 20px;
        }
        .icon {
            font-size: 80px;
            margin-bottom: 20px;
            color: #ffd700;
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        .subtitle {
            font-size: 1.2rem;
            margin-bottom: 40px;
            opacity: 0.9;
        }
        .progress-container {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            height: 10px;
            margin-bottom: 30px;
            overflow: hidden;
        }
        .progress-bar {
            height: 100%;
            background: #ffd700;
            border-radius: 20px;
            width: 65%; /* 可以修改这个值来模拟进度 */
            animation: loading 2s ease-in-out infinite;
        }
        @keyframes loading {
            0% { width: 10%; }
            50% { width: 70%; }
            100% { width: 30%; }
        }
        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 30px;
        }
        .form-group {
            display: flex;
            gap: 10px;
        }
        input[type="email"] {
            flex: 1;
            padding: 15px;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            outline: none;
        }
        button {
            padding: 15px 30px;
            border: none;
            border-radius: 50px;
            background-color: #ffd700;
            color: #333;
            font-size: 1rem;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        button:hover {
            background-color: #ffed4e;
        }
        .social-links {
            margin-top: 40px;
        }
        .social-links a {
            color: #fff;
            font-size: 1.5rem;
            margin: 0 15px;
            transition: color 0.3s;
        }
        .social-links a:hover {
            color: #ffd700;
        }
    </style>
</head>
<body>
    <div class="content">
        <i class="fas fa-rocket icon"></i>
        <h1>我们正在全力构建中</h1>
        <p class="subtitle">一个全新的、令人兴奋的体验即将到来,请稍后再来查看!</p>
        <div class="progress-container">
            <div class="progress-bar"></div>
        </div>
        <p>预计上线时间: 2025年12月</p>
        <form class="contact-form" onsubmit="alert('感谢您的订阅!我们会第一时间通知您。'); return false;">
            <div class="form-group">
                <input type="email" placeholder="输入您的邮箱地址" required>
                <button type="submit">通知我</button>
            </div>
        </form>
        <div class="social-links">
            <a href="#"><i class="fab fa-weixin"></i></a>
            <a href="#"><i class="fab fa-weibo"></i></a>
            <a href="#"><i class="fab fa-github"></i></a>
        </div>
    </div>
</body>
</html>

创意插画版

这个模板使用了插画(通过 SVG 或图片占位符),视觉上更吸引人,适合品牌感较强的网站。

特点:

  • 使用创意插画
  • 更丰富的视觉元素
  • 添加了联系信息和返回主页的链接

代码:

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">新功能开发中 - [您的网站名称]</title>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            background-color: #fafafa;
            color: #333;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            text-align: center;
        }
        .wrapper {
            max-width: 700px;
            padding: 40px;
        }
        .illustration {
            margin-bottom: 30px;
        }
        .illustration img {
            max-width: 100%;
            height: auto;
        }
        h1 {
            font-size: 2.8rem;
            color: #2c3e50;
            margin-bottom: 15px;
        }
        .description {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #7f8c8d;
            margin-bottom: 30px;
        }
        .features {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin: 40px 0;
            flex-wrap: wrap;
        }
        .feature {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 150px;
        }
        .feature-icon {
            width: 60px;
            height: 60px;
            background-color: #3498db;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 15px;
            color: white;
            font-size: 24px;
        }
        .feature-text {
            font-size: 0.9rem;
            color: #555;
        }
        .

网站建设中模板HTML如何快速搭建?-图3

分享:
扫描分享到社交APP
上一篇
下一篇