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

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

afc163's avatar
afc163 committed
22
const actions = <Button type="primary">返回修改</Button>;
23 24 25

export default () => (
  <PageHeaderLayout>
26
    <Card bordered={false}>
27 28 29 30 31 32
      <Result
        type="error"
        title="提交失败"
        description="请核对并修改以下信息后,再重新提交。"
        extra={extra}
        actions={actions}
ddcat1115's avatar
ddcat1115 committed
33
        style={{ marginTop: 48, marginBottom: 16 }}
34 35 36 37
      />
    </Card>
  </PageHeaderLayout>
);