Error.js 1.31 KB
Newer Older
陈帅's avatar
陈帅 committed
1
import React, { Fragment } from 'react';
2
import { Button, Icon, Card } from 'antd';
niko's avatar
niko committed
3
import Result from 'components/Result';
4 5 6
import PageHeaderLayout from '../../layouts/PageHeaderLayout';

const extra = (
陈帅's avatar
陈帅 committed
7
  <Fragment>
jim's avatar
jim committed
8 9 10 11 12 13 14 15
    <div
      style={{
        fontSize: 16,
        color: 'rgba(0, 0, 0, 0.85)',
        fontWeight: '500',
        marginBottom: 16,
      }}
    >
16 17
      您提交的内容有如下错误
    </div>
ddcat1115's avatar
ddcat1115 committed
18
    <div style={{ marginBottom: 16 }}>
afc163's avatar
afc163 committed
19
      <Icon style={{ color: '#f5222d', marginRight: 8 }} type="close-circle-o" />您的账户已被冻结
jim's avatar
jim committed
20 21 22
      <a style={{ marginLeft: 16 }}>
        立即解冻 <Icon type="right" />
      </a>
23 24
    </div>
    <div>
afc163's avatar
afc163 committed
25
      <Icon style={{ color: '#f5222d', marginRight: 8 }} type="close-circle-o" />您的账户还不具备申请资格
jim's avatar
jim committed
26 27 28
      <a style={{ marginLeft: 16 }}>
        立即升级 <Icon type="right" />
      </a>
29
    </div>
陈帅's avatar
陈帅 committed
30
  </Fragment>
31 32
);

afc163's avatar
afc163 committed
33
const actions = <Button type="primary">返回修改</Button>;
34 35 36

export default () => (
  <PageHeaderLayout>
37
    <Card bordered={false}>
38 39 40 41 42 43
      <Result
        type="error"
        title="提交失败"
        description="请核对并修改以下信息后,再重新提交。"
        extra={extra}
        actions={actions}
ddcat1115's avatar
ddcat1115 committed
44
        style={{ marginTop: 48, marginBottom: 16 }}
45 46 47 48
      />
    </Card>
  </PageHeaderLayout>
);