<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>404</title>
</head>

<body>
<style>
    * {
        padding: 0;
        margin: 0;
    }

    html,
    body {
        background: #379cd8;
        height: 100%;
    }

    .error-wrap {
        width: 1200px;
        height: 100%;
        display: flex;
        align-items: center;
        margin: 0 auto;
        color: #ffffff;

    }
    .error-wrap .text{
        margin-left: 15px;
    }
    .error-wrap h3 {
        font-size: 40px;
        margin-top: 25px;
    }

    .error-wrap h4 {
        font-size: 36px;
        margin-top: 10px;
    }

    .error-wrap h5 {
        margin-top: 65px;
        font-size: 18px;
    }
    .error-wrap a{
        color: #ffffff;
        text-decoration: none;
    }
</style>
<div class="error-wrap">
    <div class="img">
        <img src="/static/admin/images/404-img2.png" alt="" srcset="">
    </div>
    <div class="text">
        <img src="/static/admin/images/404.png" alt="" srcset="">
        <h3>小哥哥被抓走了......</h3>
        <h4>Page not found</h4>
        <h5>
            <span class="num">5</span>秒后 自动返回
            <a href="/">首页</a>
        </h5>
    </div>
</div>
<script>
    var a = 5;
    setInterval(function () {
        a--;
        if (a == 0) {
            return window.location.href = '/'
        }
        document.querySelector('.num').innerText = a;
    }, 1000)
</script>
</body>

</html>