瀏覽代碼

登录页面请求报错修改

ly 1 年之前
父節點
當前提交
8e2e0bd92e
共有 1 個文件被更改,包括 9 次插入9 次删除
  1. 9 9
      src/main/resources/templates/login/login.html

+ 9 - 9
src/main/resources/templates/login/login.html

@@ -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("static/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("static/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("static/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("static/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("static/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("static/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("static/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
         }