Commit cb286ee4 authored by afc163's avatar afc163

remove size="large"

parent c320f1b2
...@@ -11,8 +11,8 @@ import { Button } from 'antd'; ...@@ -11,8 +11,8 @@ import { Button } from 'antd';
const actions = ( const actions = (
<div> <div>
<Button type="primary" size="large">ๅ›žๅˆฐ้ฆ–้กต</Button> <Button type="primary">ๅ›žๅˆฐ้ฆ–้กต</Button>
<Button size="large">ๆŸฅ็œ‹่ฏฆๆƒ…</Button> <Button>ๆŸฅ็œ‹่ฏฆๆƒ…</Button>
</div> </div>
); );
ReactDOM.render( ReactDOM.render(
......
...@@ -21,7 +21,7 @@ export default ({ className, type, title, desc, img, actions }) => { ...@@ -21,7 +21,7 @@ export default ({ className, type, title, desc, img, actions }) => {
<h1>{title || config[pageType].title}</h1> <h1>{title || config[pageType].title}</h1>
<div className={styles.desc}>{desc || config[pageType].desc}</div> <div className={styles.desc}>{desc || config[pageType].desc}</div>
<div className={styles.actions}> <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> </div>
</div> </div>
......
...@@ -19,10 +19,10 @@ const menu = ( ...@@ -19,10 +19,10 @@ const menu = (
const action = ( const action = (
<div> <div>
<Button size="large" type="primary">ไธปๆ“ไฝœ</Button> <Button type="primary">ไธปๆ“ไฝœ</Button>
<Button size="large">ๆฌกๆ“ไฝœ</Button> <Button>ๆฌกๆ“ไฝœ</Button>
<Dropdown overlay={menu}> <Dropdown overlay={menu}>
<Button size="large"> <Button>
ๆ›ดๅคš <Icon type="down" /> ๆ›ดๅคš <Icon type="down" />
</Button> </Button>
</Dropdown> </Dropdown>
......
...@@ -46,9 +46,9 @@ const extra = ( ...@@ -46,9 +46,9 @@ const extra = (
const actions = ( const actions = (
<div> <div>
<Button size="large" type="primary">่ฟ”ๅ›žๅˆ—่กจ</Button> <Button type="primary">่ฟ”ๅ›žๅˆ—่กจ</Button>
<Button size="large">ๆŸฅ็œ‹้กน็›ฎ</Button> <Button>ๆŸฅ็œ‹้กน็›ฎ</Button>
<Button size="large">ๆ‰“ ๅฐ</Button> <Button>ๆ‰“ ๅฐ</Button>
</div> </div>
); );
......
...@@ -25,7 +25,7 @@ const extra = ( ...@@ -25,7 +25,7 @@ const extra = (
</div> </div>
); );
const actions = <Button size="large" type="primary">่ฟ”ๅ›žไฟฎๆ”น</Button>; const actions = <Button type="primary">่ฟ”ๅ›žไฟฎๆ”น</Button>;
ReactDOM.render( ReactDOM.render(
<Result <Result
......
...@@ -21,15 +21,15 @@ const menu = ( ...@@ -21,15 +21,15 @@ const menu = (
const action = ( const action = (
<div> <div>
<ButtonGroup style={{ marginRight: 8 }}> <ButtonGroup style={{ marginRight: 8 }}>
<Button size="large">ๆ“ไฝœ</Button> <Button>ๆ“ไฝœ</Button>
<Button size="large">ๆ“ไฝœ</Button> <Button>ๆ“ไฝœ</Button>
<Dropdown overlay={menu}> <Dropdown overlay={menu}>
<Button size="large"> <Button>
ๆ›ดๅคšๆ“ไฝœ <Icon type="down" /> ๆ›ดๅคšๆ“ไฝœ <Icon type="down" />
</Button> </Button>
</Dropdown> </Dropdown>
</ButtonGroup> </ButtonGroup>
<Button size="large" type="primary">ไธปๆ“ไฝœ</Button> <Button type="primary">ไธปๆ“ไฝœ</Button>
</div> </div>
); );
......
...@@ -19,7 +19,7 @@ const extra = ( ...@@ -19,7 +19,7 @@ const extra = (
</div> </div>
); );
const actions = <Button size="large" type="primary">่ฟ”ๅ›žไฟฎๆ”น</Button>; const actions = <Button type="primary">่ฟ”ๅ›žไฟฎๆ”น</Button>;
export default () => ( export default () => (
<PageHeaderLayout> <PageHeaderLayout>
......
...@@ -44,9 +44,9 @@ const extra = ( ...@@ -44,9 +44,9 @@ const extra = (
const actions = ( const actions = (
<div> <div>
<Button size="large" type="primary">่ฟ”ๅ›žๅˆ—่กจ</Button> <Button type="primary">่ฟ”ๅ›žๅˆ—่กจ</Button>
<Button size="large">ๆŸฅ็œ‹้กน็›ฎ</Button> <Button>ๆŸฅ็œ‹้กน็›ฎ</Button>
<Button size="large">ๆ‰“ ๅฐ</Button> <Button>ๆ‰“ ๅฐ</Button>
</div> </div>
); );
......
...@@ -176,7 +176,6 @@ export default class Register extends Component { ...@@ -176,7 +176,6 @@ export default class Register extends Component {
}], }],
})( })(
<Input <Input
size="large"
type="password" type="password"
placeholder="่‡ณๅฐ‘6ไฝๅฏ†็ ๏ผŒๅŒบๅˆ†ๅคงๅฐๅ†™" placeholder="่‡ณๅฐ‘6ไฝๅฏ†็ ๏ผŒๅŒบๅˆ†ๅคงๅฐๅ†™"
/> />
...@@ -203,7 +202,7 @@ export default class Register extends Component { ...@@ -203,7 +202,7 @@ export default class Register extends Component {
{getFieldDecorator('prefix', { {getFieldDecorator('prefix', {
initialValue: '86', initialValue: '86',
})( })(
<Select size="large"> <Select>
<Option value="86">+86</Option> <Option value="86">+86</Option>
<Option value="87">+87</Option> <Option value="87">+87</Option>
</Select> </Select>
...@@ -231,7 +230,6 @@ export default class Register extends Component { ...@@ -231,7 +230,6 @@ export default class Register extends Component {
}], }],
})( })(
<Input <Input
size="large"
placeholder="้ชŒ่ฏ็ " placeholder="้ชŒ่ฏ็ "
/> />
)} )}
...@@ -240,7 +238,6 @@ export default class Register extends Component { ...@@ -240,7 +238,6 @@ export default class Register extends Component {
<Button <Button
disabled={count} disabled={count}
className={styles.getCaptcha} className={styles.getCaptcha}
size="large"
onClick={this.onGetCaptcha} onClick={this.onGetCaptcha}
> >
{count ? `${count} s` : '่Žทๅ–้ชŒ่ฏ็ '} {count ? `${count} s` : '่Žทๅ–้ชŒ่ฏ็ '}
......
...@@ -5,8 +5,8 @@ import Result from '../../components/Result'; ...@@ -5,8 +5,8 @@ import Result from '../../components/Result';
const actions = ( const actions = (
<div> <div>
<Button size="large" type="primary"><a href="">ๆŸฅ็œ‹้‚ฎ็ฎฑ</a></Button> <Button type="primary"><a href="">ๆŸฅ็œ‹้‚ฎ็ฎฑ</a></Button>
<Button size="large"><Link to="/">่ฟ”ๅ›ž้ฆ–้กต</Link></Button> <Button><Link to="/">่ฟ”ๅ›ž้ฆ–้กต</Link></Button>
</div> </div>
); );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment