|
@@ -9,7 +9,7 @@
|
9
|
9
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
10
|
10
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
11
|
11
|
<meta name="format-detection" content="telephone=no">
|
12
|
|
- <link rel="icon" th:href="@{/images/favicon.ico}">
|
|
12
|
+ <link rel="icon" th:href="@{//images/favicon.ico}">
|
13
|
13
|
<link rel="stylesheet" th:href="@{/lib/layui/css/layui.css}" media="all">
|
14
|
14
|
|
15
|
15
|
<style th:inline="text">
|
|
@@ -38,30 +38,30 @@
|
38
|
38
|
}
|
39
|
39
|
|
40
|
40
|
.login-main .login-bottom .center .item .icon-1 {
|
41
|
|
- background: url("[[@{/}]]images/icon-login.png") no-repeat 1px 0;
|
|
41
|
+ background: url("/images/icon-login.png") no-repeat 1px 0;
|
42
|
42
|
}
|
43
|
43
|
|
44
|
44
|
.login-main .login-bottom .center .item .icon-2 {
|
45
|
|
- background: url("[[@{/}]]images/icon-login.png") no-repeat -54px 0;
|
|
45
|
+ background: url("/images/icon-login.png") no-repeat -54px 0;
|
46
|
46
|
}
|
47
|
47
|
|
48
|
48
|
.login-main .login-bottom .center .item .icon-3 {
|
49
|
|
- background: url("[[@{/}]]images/icon-login.png") no-repeat -106px 0;
|
|
49
|
+ background: url("/images/icon-login.png") no-repeat -106px 0;
|
50
|
50
|
}
|
51
|
51
|
|
52
|
52
|
.login-main .login-bottom .center .item .icon-4 {
|
53
|
|
- background: url("[[@{/}]]images/icon-login.png") no-repeat 0 -43px;
|
|
53
|
+ background: url("/images/icon-login.png") no-repeat 0 -43px;
|
54
|
54
|
position: absolute;
|
55
|
55
|
right: -10px;
|
56
|
56
|
cursor: pointer;
|
57
|
57
|
}
|
58
|
58
|
|
59
|
59
|
.login-main .login-bottom .center .item .icon-5 {
|
60
|
|
- background: url("[[@{/}]]images/icon-login.png") no-repeat -55px -43px;
|
|
60
|
+ background: url("/images/icon-login.png") no-repeat -55px -43px;
|
61
|
61
|
}
|
62
|
62
|
|
63
|
63
|
.login-main .login-bottom .center .item .icon-6 {
|
64
|
|
- background: url("[[@{/}]]images/icon-login.png") no-repeat 0 -93px;
|
|
64
|
+ background: url("/images/icon-login.png") no-repeat 0 -93px;
|
65
|
65
|
position: absolute;
|
66
|
66
|
right: -10px;
|
67
|
67
|
margin-top: 8px;
|
|
@@ -85,7 +85,7 @@
|
85
|
85
|
width: 14px;
|
86
|
86
|
height: 14px;
|
87
|
87
|
border: none;
|
88
|
|
- background: url("[[@{/}]]images/icon-login.png") no-repeat -111px -48px;
|
|
88
|
+ background: url("/images/icon-login.png") no-repeat -111px -48px;
|
89
|
89
|
}
|
90
|
90
|
|
91
|
91
|
.login-main .login-bottom .center .item .icon {
|
|
@@ -175,7 +175,7 @@
|
175
|
175
|
}
|
176
|
176
|
|
177
|
177
|
body {
|
178
|
|
- background: url("[[@{/}]]images/loginbg.jpg") 0% 0% / cover no-repeat;
|
|
178
|
+ background: url("/images/loginbg.jpg") 0% 0% / cover no-repeat;
|
179
|
179
|
position: static;
|
180
|
180
|
font-size: 12px;
|
181
|
181
|
}
|
|
@@ -348,7 +348,10 @@
|
348
|
348
|
|
349
|
349
|
<script type="text/javascript" th:inline="javascript">
|
350
|
350
|
AjaxUtil.ctx = /*[[@{/}]]*/'';
|
|
351
|
+ // 在页面加载完毕后调用拦截器函数
|
|
352
|
+
|
351
|
353
|
layui.use(['form', 'layNotify'], function () {
|
|
354
|
+
|
352
|
355
|
var form = layui.form,
|
353
|
356
|
layNotify = layui.layNotify;
|
354
|
357
|
|
|
@@ -464,11 +467,13 @@
|
464
|
467
|
},
|
465
|
468
|
error: function (error) {
|
466
|
469
|
loginend();
|
|
470
|
+ redirection();
|
467
|
471
|
layNotify.notice({
|
468
|
472
|
title: "登录提示",
|
469
|
473
|
type: "error",
|
470
|
474
|
message: "请求失败,请联系系统管理员!"
|
471
|
475
|
});
|
|
476
|
+
|
472
|
477
|
}
|
473
|
478
|
});
|
474
|
479
|
|
|
@@ -483,6 +488,9 @@
|
483
|
488
|
}
|
484
|
489
|
});
|
485
|
490
|
|
|
491
|
+ function redirection(){
|
|
492
|
+ window.location.replace("http://10.28.114.107:8081/home/")
|
|
493
|
+ }
|
486
|
494
|
// 登陆中
|
487
|
495
|
function logining() {
|
488
|
496
|
document.getElementById("btn_login").setAttribute("disabled", true);//设置不可点击
|