luohailiang 2 lat temu
commit
642073fc92

BIN
static/images/loading.gif


Plik diff jest za duży
+ 3 - 0
static/scripts/axios.min.js


Plik diff jest za duży
+ 4 - 0
static/scripts/jquery.min.js


Plik diff jest za duży
+ 1 - 0
static/scripts/qs.min.js


+ 61 - 0
static/scripts/transfer.js

@@ -0,0 +1,61 @@
+let location_search = [],
+    url_from = '',
+    url_to = '',
+    token = '';
+var hours = 'h8'
+// if(location.search.includes('token')) {
+//     location_search = location.search.split('&');
+//     for(let i in location_search) {
+//         if(location_search[i].includes('token')) {
+//             let t_index = location_search[i].indexOf('=');
+//             token = location_search[i].substring(t_index+1);
+//         } else if(location_search[i].includes('url_from')) {
+//             let f_index = location_search[i].indexOf('=');
+//             url_from = location_search[i].substring(f_index+1);
+//         } else if(location_search[i].includes('url_to')) {
+//             let o_index = location_search[i].indexOf('=');
+//             url_to = decodeURIComponent(location_search[i].substring(o_index+1));
+//         }
+//     }
+//     if(token != '') {
+//         const requestURL = gobalData.login + '/user/main/detail';
+//         $.ajax({
+//             url: requestURL,
+//             async: false,
+//             type: "POST",
+//             timeout: 30000,
+//             dataType: 'json',
+//             data: {
+//                 client:'web',
+//                 token: token
+//             },
+//             success:(res) =>{
+//                 if(res.code == '1') {
+//                     localStorage.setItem('userInfo', JSON.stringify(res.data));
+//                     setCookienew('overtime', 'overtime', hours);
+//                     setCookie(cookieskey,token);
+//                     setTimeout(()=>{
+//                         location.href = url_to;
+//                     },500)
+//
+//                 }
+//             }
+//         });
+//     }
+// } else {
+//     window.location.href = './index.html';
+// }
+new Vue({
+    el:'#transfer',
+    data() {
+        return {
+            link:''
+        }
+    },
+    methods:{
+
+    },
+    mounted() {
+      this.link = location.href;
+    }
+})

Plik diff jest za duży
+ 6 - 0
static/scripts/vue.min.js


Plik diff jest za duży
+ 1630 - 0
static/styles/common.css


Plik diff jest za duży
+ 1624 - 0
static/styles/common.scss


+ 21 - 0
transfer.html

@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8">
+    <meta content="IE=edge" http-equiv="X-UA-Compatible">
+    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
+    <title>铜艺云校</title>
+    <link rel="stylesheet" href="static/styles/common.css?v=20221124">
+</head>
+<body>
+<div class="wrapper" id="transfer" v-cloak>
+<!--    <div class="transform-loading"></div>-->
+    <h3 class="font-size-16">{{link}}</h3>
+</div>
+<script src="static/scripts/jquery.min.js"></script>
+<script src="static/scripts/vue.min.js"></script>
+<script src="static/scripts/axios.min.js"></script>
+<script src="static/scripts/qs.min.js"></script>
+<script src="static/scripts/transfer.js"></script>
+</body>
+</html>