<!doctype html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="icon" href="https://static.nowcoder.com/images/logo_87_87.png"/> <link rel="stylesheet" type="text/css" th:href="@{/css/bootstrap.min.css}" /> <link rel="stylesheet" type="text/css" th:href="@{/css/global.css}" /> <title>Greate - 操作结果</title> </head> <body class="bg-white"> <div class="nk-container"> <!-- 头部 --> <header class="bg-dark sticky-top" th:replace="index::header"></header> <!-- 内容 --> <div class="main"> <div class="container mt-5"> <div class="jumbotron"> <p class="lead" th:text="${msg}"></p> <hr class="my-4"> <p> 系统会在 <span id="seconds" class="text-danger">8</span> 秒后自动跳转, 您也可以点击 <a id="target" th:href="@{${target}}" class="text-primary">此链接</a>, 手动跳转! </p> </div> </div> </div> <!-- 尾部 --> <footer class="bg-dark"> <div class="container"> <div class="row"> <!-- 二维码 --> <div class="col-4 qrcode"> <img src="https://uploadfiles.nowcoder.com/app/app_download.png" class="img-thumbnail" style="width:136px;" /> </div> <!-- 公司信息 --> <div class="col-8 detail-info"> <div class="row"> <div class="col"> <ul class="nav"> <li class="nav-item"> <a class="nav-link text-light" href="#">关于我们</a> </li> <li class="nav-item"> <a class="nav-link text-light" href="#">加入我们</a> </li> <li class="nav-item"> <a class="nav-link text-light" href="#">意见反馈</a> </li> <li class="nav-item"> <a class="nav-link text-light" href="#">企业服务</a> </li> <li class="nav-item"> <a class="nav-link text-light" href="#">联系我们</a> </li> <li class="nav-item"> <a class="nav-link text-light" href="#">免责声明</a> </li> <li class="nav-item"> <a class="nav-link text-light" href="#">友情链接</a> </li> </ul> </div> </div> <div class="row"> <div class="col"> <ul class="nav btn-group-vertical company-info"> <li class="nav-item text-white-50"> 公司地址:北京市朝阳区大屯路东金泉时代3-2708北京牛客科技有限公司 </li> <li class="nav-item text-white-50"> 联系方式:010-60728802(电话) admin@nowcoder.com </li> <li class="nav-item text-white-50"> 牛客科技©2018 All rights reserved </li> <li class="nav-item text-white-50"> 京ICP备14055008号-4 <img src="http://static.nowcoder.com/company/images/res/ghs.png" style="width:18px;" /> 京公网安备 11010502036488号 </li> </ul> </div> </div> </div> </div> </div> </footer> </div> <script th:src="@{/js/jquery-3.1.0.min.js}"></script> <script th:src="@{/js/popper.min.js}"></script> <script th:src="@{/js/bootstrap.min.js}"></script> <script> $(function(){ setInterval(function(){ var seconds = $("#seconds").text(); $("#seconds").text(--seconds); if(seconds == 0) { location.href = $("#target").attr("href"); } }, 1000); }); </script> </body> </html>