提交 cb286ee4 编写于 作者: A afc163

remove size="large"

上级 c320f1b2
......@@ -11,8 +11,8 @@ import { Button } from 'antd';
const actions = (
<div>
<Button type="primary" size="large">回到首页</Button>
<Button size="large">查看详情</Button>
<Button type="primary">回到首页</Button>
<Button>查看详情</Button>
</div>
);
ReactDOM.render(
......
......@@ -21,7 +21,7 @@ export default ({ className, type, title, desc, img, actions }) => {
<h1>{title || config[pageType].title}</h1>
<div className={styles.desc}>{desc || config[pageType].desc}</div>
<div className={styles.actions}>
{actions || <Link to="/"><Button size="large" type="primary">返回首页</Button></Link>}
{actions || <Link to="/"><Button type="primary">返回首页</Button></Link>}
</div>
</div>
</div>
......
......@@ -19,10 +19,10 @@ const menu = (
const action = (
<div>
<Button size="large" type="primary">主操作</Button>
<Button size="large">次操作</Button>
<Button type="primary">主操作</Button>
<Button>次操作</Button>
<Dropdown overlay={menu}>
<Button size="large">
<Button>
更多 <Icon type="down" />
</Button>
</Dropdown>
......
......@@ -46,9 +46,9 @@ const extra = (
const actions = (
<div>
<Button size="large" type="primary">返回列表</Button>
<Button size="large">查看项目</Button>
<Button size="large">打 印</Button>
<Button type="primary">返回列表</Button>
<Button>查看项目</Button>
<Button>打 印</Button>
</div>
);
......
......@@ -25,7 +25,7 @@ const extra = (
</div>
);
const actions = <Button size="large" type="primary">返回修改</Button>;
const actions = <Button type="primary">返回修改</Button>;
ReactDOM.render(
<Result
......
......@@ -21,15 +21,15 @@ const menu = (
const action = (
<div>
<ButtonGroup style={{ marginRight: 8 }}>
<Button size="large">操作</Button>
<Button size="large">操作</Button>
<Button>操作</Button>
<Button>操作</Button>
<Dropdown overlay={menu}>
<Button size="large">
<Button>
更多操作 <Icon type="down" />
</Button>
</Dropdown>
</ButtonGroup>
<Button size="large" type="primary">主操作</Button>
<Button type="primary">主操作</Button>
</div>
);
......
......@@ -19,7 +19,7 @@ const extra = (
</div>
);
const actions = <Button size="large" type="primary">返回修改</Button>;
const actions = <Button type="primary">返回修改</Button>;
export default () => (
<PageHeaderLayout>
......
......@@ -44,9 +44,9 @@ const extra = (
const actions = (
<div>
<Button size="large" type="primary">返回列表</Button>
<Button size="large">查看项目</Button>
<Button size="large"> </Button>
<Button type="primary">返回列表</Button>
<Button>查看项目</Button>
<Button> </Button>
</div>
);
......
......@@ -176,7 +176,6 @@ export default class Register extends Component {
}],
})(
<Input
size="large"
type="password"
placeholder="至少6位密码,区分大小写"
/>
......@@ -203,7 +202,7 @@ export default class Register extends Component {
{getFieldDecorator('prefix', {
initialValue: '86',
})(
<Select size="large">
<Select>
<Option value="86">+86</Option>
<Option value="87">+87</Option>
</Select>
......@@ -231,7 +230,6 @@ export default class Register extends Component {
}],
})(
<Input
size="large"
placeholder="验证码"
/>
)}
......@@ -240,7 +238,6 @@ export default class Register extends Component {
<Button
disabled={count}
className={styles.getCaptcha}
size="large"
onClick={this.onGetCaptcha}
>
{count ? `${count} s` : '获取验证码'}
......
......@@ -5,8 +5,8 @@ import Result from '../../components/Result';
const actions = (
<div>
<Button size="large" type="primary"><a href="">查看邮箱</a></Button>
<Button size="large"><Link to="/">返回首页</Link></Button>
<Button type="primary"><a href="">查看邮箱</a></Button>
<Button><Link to="/">返回首页</Link></Button>
</div>
);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册