提交 | 用户 | 时间
|
71e81e
|
1 |
<!DOCTYPE html> |
懒 |
2 |
<html> |
|
3 |
<head> |
|
4 |
<meta charset="utf-8"/> |
|
5 |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
|
6 |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
|
7 |
<title>${constants.getSystemName()}</title> |
|
8 |
<link rel="stylesheet" href="${ctxPath}/assets/common/libs/layui/css/layui.css?v=${constants.getReleaseVersion()}"/> |
|
9 |
<link rel="stylesheet" href="${ctxPath}/assets/common/module/admin.css?v=${constants.getReleaseVersion()}"/> |
|
10 |
</head> |
|
11 |
<body> |
|
12 |
|
|
13 |
<!-- 正文开始 --> |
|
14 |
<div class="error-page"> |
|
15 |
<img class="error-page-img" src="${ctxPath}/assets/common/images/ic_404.png"> |
|
16 |
<div class="error-page-info"> |
|
17 |
<h1>404</h1> |
|
18 |
<p>啊哦,你访问的页面不存在(⋟﹏⋞)</p> |
|
19 |
<div> |
|
20 |
<a ew-href="${ctxPath}/" class="layui-btn">返回首页</a> |
|
21 |
</div> |
|
22 |
</div> |
|
23 |
</div> |
|
24 |
|
|
25 |
<style> |
|
26 |
.error-page { |
|
27 |
position: absolute; |
|
28 |
top: 50%; |
|
29 |
width: 100%; |
|
30 |
text-align: center; |
|
31 |
-o-transform: translateY(-50%); |
|
32 |
-ms-transform: translateY(-50%); |
|
33 |
-moz-transform: translateY(-50%); |
|
34 |
-webkit-transform: translateY(-50%); |
|
35 |
transform: translateY(-50%); |
|
36 |
} |
|
37 |
|
|
38 |
.error-page .error-page-img { |
|
39 |
display: inline-block; |
|
40 |
height: 260px; |
|
41 |
margin: 10px 15px; |
|
42 |
} |
|
43 |
|
|
44 |
.error-page .error-page-info { |
|
45 |
vertical-align: middle; |
|
46 |
display: inline-block; |
|
47 |
margin: 10px 15px; |
|
48 |
} |
|
49 |
|
|
50 |
.error-page .error-page-info > h1 { |
|
51 |
color: #434e59; |
|
52 |
font-size: 72px; |
|
53 |
font-weight: 600; |
|
54 |
} |
|
55 |
|
|
56 |
.error-page .error-page-info > p { |
|
57 |
color: #777; |
|
58 |
font-size: 20px; |
|
59 |
margin-top: 5px; |
|
60 |
} |
|
61 |
|
|
62 |
.error-page .error-page-info > div { |
|
63 |
margin-top: 30px; |
|
64 |
} |
|
65 |
</style> |
|
66 |
|
|
67 |
|
|
68 |
<!-- js部分 --> |
|
69 |
@/* 加入contextPath属性和session超时的配置 */ |
|
70 |
<script type="text/javascript"> |
|
71 |
var Feng = { |
|
72 |
ctxPath: "${ctxPath}", |
|
73 |
version: '${constants.getReleaseVersion()}' |
|
74 |
}; |
|
75 |
</script> |
|
76 |
<script type="text/javascript" src="${ctxPath}/assets/common/libs/layui/layui.js?v=${constants.getReleaseVersion()}"></script> |
|
77 |
<script type="text/javascript" src="${ctxPath}/assets/common/js/common.js?v=${constants.getReleaseVersion()}"></script> |
|
78 |
|
|
79 |
<script> |
|
80 |
layui.use(['admin'], function () { |
|
81 |
|
|
82 |
}); |
|
83 |
</script> |
|
84 |
</body> |
|
85 |
</html> |