123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
- <style>
- .spinner {
- margin: 100px auto 0;
- width: 150px;
- text-align: center;
- }
- .spinner>div {
- width: 25px;
- height: 25px;
- background-color: #169af2;
- border-radius: 100%;
- display: inline-block;
- -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
- animation: bouncedelay 1.4s infinite ease-in-out;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- }
- .spinner .bounce1 {
- -webkit-animation-delay: -0.32s;
- animation-delay: -0.32s;
- }
- .spinner .bounce2 {
- -webkit-animation-delay: -0.16s;
- animation-delay: -0.16s;
- }
- @-webkit-keyframes bouncedelay {
- 0%,
- 80%,
- 100% {
- -webkit-transform: scale(0.0)
- }
- 40% {
- -webkit-transform: scale(1.0)
- }
- }
- @keyframes bouncedelay {
- 0%,
- 80%,
- 100% {
- transform: scale(0.0);
- -webkit-transform: scale(0.0);
- }
- 40% {
- transform: scale(1.0);
- -webkit-transform: scale(1.0);
- }
- }
- </style>
- <link rel="stylesheet" href="../static/js/vender/toastr/toastr.min.css">
- </head>
- <body>
- <div class="spinner">
- <div class="bounce1"></div>
- <div class="bounce2"></div>
- <div class="bounce3"></div>
- </div>
- <script src="../static/js/vender/jquery-3.4.1.min.js"></script>
- <script src="../static/js/vender/toastr/toastr.min.js"></script>
- <script src="../static/js/vender/config.js"></script>
- <script>
- getActivationTime();
- function getActivationTime() {
- var parameters = GetRequest();
- var urlNo = parameters["urlNo"];
- $.ajax({
- url: baseUrl + '/api/user/getActivationTime/rewrite?urlNo=' + urlNo,
- type: 'get',
- contentType: "application/json",
- success: function (res) {
- if (res.status === 0) {
- window.location.href = res.data.activeState === 0 ? './official.html?urlNo=' + urlNo : './officialOverdue.html'
- } else {
- toastr.error(res.msg);
- }
- }
- })
- }
- function GetRequest() {
- var url = location.search; //获取url中"?"符后的字串
- var obj= new Object();
- if (url.indexOf("?") != -1) {
- var str = url.substr(1);
- strs = str.split("&");
- for(var i = 0; i < strs.length; i ++) {
- obj[strs[i].split("=")[0]]=(strs[i].split("=")[1]);
- }
- }
- return obj;
- }
- </script>
- </body>
- </html>
|