<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>提示信息</title>
    <style>
      body,
      html {
        margin: 0;
        padding: 0;
      }
      .pageFrame {
        width: 1200px;
        margin: auto;
      }
      .errorBg {
        margin-top: 16.5vh;
        width: 1200px;
        height: 531px;
        background-image: url(./img/error_bg.png);
        background-repeat: no-repeat;
        background-size: 1200px;
        background-position: center;
      }
      .tipPos {
        margin-top: 150px;
        margin-right: 50px;
        float: right;
      }
      .tipPos p {
        color: #71b0f7;
        font-size: 30px;
        margin: 7px 0;
      }
      .sureBtn {
        text-decoration: none;
        display: block;
        width: 170px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border-radius: 20px;
        background-color: #55a2fb;
        color: white;
        margin: auto;
        margin-top: 5vh;
      }
    </style>
  </head>
  <body>
    <div class="pageFrame">
      <div class="errorBg">
        <div class="tipPos">
          <p class="">很抱歉，您所要浏览的内容迷失在了宇宙中！</p>
          <p>请稍后重试。</p>
        </div>
      </div>
      <a href="http://www.wfust.edu.cn" class="sureBtn">进入学院门户网站</a>
    </div>

    <script>
      function IsPC() {
        var userAgentInfo = navigator.userAgent;
        var Agents = [
          "Android",
          "iPhone",
          "SymbianOS",
          "Windows Phone",
          "iPad",
          "iPod",
        ];
        var flag = true;
        for (var v = 0; v < Agents.length; v++) {
          if (userAgentInfo.indexOf(Agents[v]) > 0) {
            flag = false;
            break;
          }
        }
        if(flag){

        }
        else{
          window.location = "./m_index.html"
        }
        return flag;
      }
      IsPC()

    </script>
  </body>
</html>
