-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 添加403、404、500异常页面
- Loading branch information
Showing
14 changed files
with
284 additions
and
232 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,7 @@ | |
} | ||
.svg-icon { | ||
display: block; | ||
height: 1em; | ||
line-height: 1em; | ||
font-size: 1em; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
const errorPage = { | ||
error403: { | ||
title: 'No Access', | ||
description: 'Sorry, access to this resource on the server is denied.', | ||
}, | ||
error404: { | ||
title: 'Page Not Found', | ||
description: "Sorry, the page you're looking for cannot be accessed.", | ||
}, | ||
error500: { | ||
title: 'the server is reporting an error.', | ||
description: 'An unexpected error occurred and your request could not be completed.', | ||
}, | ||
back: 'Back Home', | ||
}; | ||
|
||
export default errorPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
const errorPage = { | ||
error403: { | ||
title: '禁止访问', | ||
description: '抱歉,访问服务器上的此资源被拒绝。', | ||
}, | ||
error404: { | ||
title: '找不到网页', | ||
description: '抱歉,您要查找的页面无法访问。', | ||
}, | ||
error500: { | ||
title: '服务器报告错误。', | ||
description: '抱歉,发生意外错误,无法完成您的请求。', | ||
}, | ||
back: '返回首页', | ||
}; | ||
|
||
export default errorPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.