<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>404-对不起！您访问的页面不存在</title>
</head>
<style>
    * {
        margin: 0;
        padding: 0;
    }
    
    body {
        margin: 0 auto;
    }
    
    .img404 {
        text-align: center;
    }
    
    .img404 img {
        width: 285px;
        height: 415px;
    }
    
    .content p {
        text-align: center;
        line-height: 30px;
    }
    
    .fh {
        text-align: center;
    }
    
    .two {
        text-align: center;
    }
    
    .kuai {
        display: inline-block;
        width: 116px;
        height: 30px;
        line-height: 30px !important;
        background-color: #4a5ee1;
        color: #fff;
        padding: 10px 15px;
        border-radius: 7px;
    }
    
    .kuai a {
        color: #fff;
    }
</style>

<body>

    <div class="content">
        <div class="img404"><img src="/public/images/404.png" alt="404页面"></div>
        <p>非常抱歉程序猿自驾游去了</p>
        <p>因为生活不只有眼前的代码还有诗和远方！</p>
        <div style="height: 30px;"></div>
        <div class="two">
            <p class="kuai">》<a style="cursor:pointer" onclick="history.back()">返回上一页面</a></p>
            <p class="kuai">》<a href="http://www.xinhuazz.com/">返回网站首页</a></p>
        </div>
    </div>
    <!--  -->
    <div style="height: 20px;"></div>
    <div class="fh"><b id="num">5</b>秒后跳转到首页</div>
    <!-- 填到合适的地方class相应的标签 -->
    <!--倒计时脚本开始-->
    <script>
        function countDown(secs) {
            if (--secs > 0) {
                document.getElementById("num").innerText = secs;
                setTimeout(function() {
                        countDown(secs)
                    },
                    1000);
            } else {
                window.location.href = 'http://www.xinhuazz.com/';
            }
        }
        countDown(5);
    </script>
    <!--倒计时脚本结束-->
</body>

</html>