Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
9562f276
Commit
9562f276
authored
Oct 12, 2017
by
ddcat1115
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Exception style
parent
2ed3f76a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
src/components/Exception/index.less
src/components/Exception/index.less
+5
-4
src/components/Exception/typeConfig.js
src/components/Exception/typeConfig.js
+6
-6
No files found.
src/components/Exception/index.less
View file @
9562f276
...
@@ -25,10 +25,11 @@
...
@@ -25,10 +25,11 @@
flex: auto;
flex: auto;
h1 {
h1 {
color: @text-color;
color: #434e59;
font-size: 68px;
font-size: 72px;
line-height: 68px;
font-weight: 600;
margin-bottom: 16px;
line-height: 72px;
margin-bottom: 24px;
}
}
.desc {
.desc {
...
...
src/components/Exception/typeConfig.js
View file @
9562f276
const
config
=
{
const
config
=
{
403
:
{
403
:
{
img
:
'
https://gw.alipayobjects.com/zos/rmsportal/
eKcaKpQhaYgsEzCnYKSV
.svg
'
,
img
:
'
https://gw.alipayobjects.com/zos/rmsportal/
wZcnGqRDyhPOEYFcZDnb
.svg
'
,
title
:
'
403
'
,
title
:
'
403
'
,
desc
:
'
对不起,你没有权限
'
,
desc
:
'
抱歉,你无权访问该页面
'
,
},
},
404
:
{
404
:
{
img
:
'
https://gw.alipayobjects.com/zos/rmsportal/
CSBcmGONHHPYIrPukBQW
.svg
'
,
img
:
'
https://gw.alipayobjects.com/zos/rmsportal/
KpnpchXsobRgLElEozzI
.svg
'
,
title
:
'
404
'
,
title
:
'
404
'
,
desc
:
'
你要找
的页面不存在
'
,
desc
:
'
抱歉,你访问
的页面不存在
'
,
},
},
500
:
{
500
:
{
img
:
'
https://gw.alipayobjects.com/zos/rmsportal/
BxwCjbIDiNOcmoEGMXfk
.svg
'
,
img
:
'
https://gw.alipayobjects.com/zos/rmsportal/
RVRUAYdCGeYNBWoKiIwB
.svg
'
,
title
:
'
500
'
,
title
:
'
500
'
,
desc
:
'
服务器错误,我们正在维修
'
,
desc
:
'
抱歉,服务器出错了
'
,
},
},
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment