luohailiang vor 2 Jahren
Ursprung
Commit
ef2e8b557f

BIN
static/element/fonts/element-icons.ttf


BIN
static/element/fonts/element-icons.woff


Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 0
static/element/index.css


Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 0
static/element/index.js


Datei-Diff unterdrückt, da er zu groß ist
+ 1 - 0
static/element/indexbac.js


+ 21 - 7
static/scripts/transfer.js

@@ -31,14 +31,28 @@ if (location.search.includes('zlb_token')) {
                     location.href = './index.html';
                 }, 500)
             } else if(res.code === '501'){
-                window.alert(res.msg);
-                localStorage.setItem('userInfo', JSON.stringify(res.data));
-                setCookie('token', res.data.token, 30, '/');
-                setTimeout(() => {
-                    location.href = './index.html';
-                }, 500)
+                this.$message({
+                    message:res.msg,
+                    type: 'warning',
+                    showClose: true,
+                    duration: '1500',
+                    onClose:()=>{
+                        localStorage.setItem('userInfo', JSON.stringify(res.data));
+                        setCookie('token', res.data.token, 30, '/');
+                        setTimeout(() => {
+                            location.href = './index.html';
+                        }, 500)
+                    },
+
+                });
+
             } else {
-                window.alert(res.msg);
+                this.$message({
+                    message: res.msg,
+                    type: 'error',
+                    showClose: true,
+                    duration: '1500'
+                });
             }
         }
     });

+ 3 - 1
transfer.html

@@ -6,6 +6,7 @@
     <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">
+    <link rel="stylesheet" href="static/element/index.css">
 </head>
 <body>
 <div class="wrapper" id="transfer">
@@ -22,7 +23,8 @@
 <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?v=20221229"></script>
+<script src="static/element/index.js"></script>
+<script src="static/scripts/transfer.js?v=202212291111"></script>
 <script>
     var _hmt = _hmt || [];
     (function() {