Error.js 1.32 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 }}>
陈帅's avatar
陈帅 committed
19 20
      <Icon style={{ color: '#f5222d', marginRight: 8 }} type="close-circle-o" />
      您的账户已被冻结
jim's avatar
jim committed
21 22 23
      <a style={{ marginLeft: 16 }}>
        立即解冻 <Icon type="right" />
      </a>
24 25
    </div>
    <div>
陈帅's avatar
陈帅 committed
26 27
      <Icon style={{ color: '#f5222d', marginRight: 8 }} type="close-circle-o" />
      您的账户还不具备申请资格
jim's avatar
jim committed
28 29 30
      <a style={{ marginLeft: 16 }}>
        立即升级 <Icon type="right" />
      </a>
31
    </div>
陈帅's avatar
陈帅 committed
32
  </Fragment>
33 34
);

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

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