forked from alibaba/ice
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBasicException.jsx
More file actions
29 lines (28 loc) · 893 Bytes
/
BasicException.jsx
File metadata and controls
29 lines (28 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import React, { Component } from 'react';
import { Link } from 'react-router';
import IceContainer from '@icedesign/container';
import './BasicException.scss';
export default class BasicException extends Component {
static displayName = 'BasicException';
render() {
return (
<div className="basic-exception">
<IceContainer>
<div className="exception-content">
<img
src="https://img.alicdn.com/tfs/TB1w4M7bNrI8KJjy0FpXXb5hVXa-260-260.png"
className="img-exception"
alt="服务器出错"
/>
<div className="prompt">
<h3>抱歉,服务器出错了</h3>
<p>
服务器出错了,请重新刷新页面或返回<Link to="/">首页</Link>
</p>
</div>
</div>
</IceContainer>
</div>
);
}
}