<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Error404 页面不存在</title>
  <style>
    body {
      margin: 0;
      padding: 0;

    }

    .app {}

    .header {
      width: 100%;
      background-color: #f9f9f9;
      padding: 10px 0;
      border-bottom: 1px solid #f3f3f3;
    }

    .header .content {
      width: 900px;
      margin: 0 auto;
      position: relative;
    }

    .logo {
      height: 55px;
    }

    .return {
      position: absolute;
      right: 40px;
      top: 20px;
      font-size: 14px;
      text-decoration: none;
      color: #333;
    }

    .main {
      text-align: center;
      padding-top: 200px;
    }

    .status {
      font-size: 120px;
      font-weight: bold;
      color: #b4b4b4;
    }

    .msg {
      font-size: 24px;
      color: #b4b4b4;
    }

    .returnBtn {
      color: #ffffff;
      border-radius: 20px;
      font-size: 16px;
      background: #1787fb;
      padding: 12px 60px;
      cursor: pointer;
      border: 0;
      line-height: 1;
      margin-top: 60px;
      display: inline-block;
      text-decoration: none;
    }

    .returnBtn:hover {
      opacity: 0.8;
    }
  </style>
</head>

<body>
  <div class="app">
    <div class="main">
      <div class="status">404</div>
      <div class="msg">抱歉，暂时找不到指定内容</div>
      <a class="returnBtn" id="returnBtn" href="#">返回首页</a>
    </div>
  </div>
  <script>
    var url = window.location.protocol + "//" + window.location.host
    document.getElementById("returnBtn").href = url
  </script>
</body>

</html>