RegisterResult.js 817 Bytes
Newer Older
1 2 3 4
import React from 'react';
import { Button } from 'antd';
import { Link } from 'dva/router';
import Result from '../../components/Result';
ddcat1115's avatar
ddcat1115 committed
5 6 7
import styles from './RegisterResult.less';

const title = <div className={styles.title}>你的账户AntDesign@example.com 注册成功</div>;
8 9

const actions = (
ddcat1115's avatar
ddcat1115 committed
10
  <div className={styles.actions}>
ddcat1115's avatar
ddcat1115 committed
11 12
    <Button size="large" type="primary"><a href="">查看邮箱</a></Button>
    <Button size="large"><Link to="/">返回首页</Link></Button>
13 14 15 16
  </div>
);

export default () => (
ddcat1115's avatar
ddcat1115 committed
17
  <Result
ddcat1115's avatar
ddcat1115 committed
18
    className={styles.registerResult}
ddcat1115's avatar
ddcat1115 committed
19
    type="success"
ddcat1115's avatar
ddcat1115 committed
20
    title={title}
ddcat1115's avatar
ddcat1115 committed
21 22
    description="激活邮件已发送到你的邮箱中,邮件有效期为24小时。请及时登录邮箱,点击邮件中的链接激活帐户。"
    actions={actions}
ddcat1115's avatar
ddcat1115 committed
23
    style={{ marginTop: 56 }}
ddcat1115's avatar
ddcat1115 committed
24
  />
25
);