Commit 18d820c9 by baiguangyao

我的页面

parent 9fc1818d
import React, { Component } from 'react';
import { Flex, WhiteSpace } from 'antd-mobile';
class My extends Component {
render() {
return (
<div>
我的
</div>
)
}
}
export default My;
\ No newline at end of file
import React, { Component } from 'react';
import { Flex, WhiteSpace } from 'antd-mobile';
class My extends Component {
render() {
return (
<div className="flex-container">
<Flex>
<Flex.Item><PlaceHolder /></Flex.Item>
<Flex.Item><PlaceHolder /></Flex.Item>
</Flex>
<WhiteSpace size="lg" />
</div>
)
}
}
export default My;
\ No newline at end of file
import React, { Component } from 'react';
import { Flex, WhiteSpace } from 'antd-mobile';
const PlaceHolder = ({ className = '', ...restProps }) => (
<div className={`${className} placeholder`} {...restProps}>Block</div>
);
class My extends Component {
render() {
return (
<div className="flex-container">
<Flex>
<Flex.Item><PlaceHolder /></Flex.Item>
<Flex.Item><PlaceHolder /></Flex.Item>
</Flex>
<WhiteSpace size="lg" />
</div>
)
}
}
export default My;
\ No newline at end of file
import React, { Component } from 'react';
import { Flex, WhiteSpace } from 'antd-mobile';
const PlaceHolder = ({ className = '', ...restProps }) => (
<div className={`${className} placeholder`} {...restProps}>Block</div>
);
class My extends Component {
render() {
return (
<div className="flex-container">
<Flex>
<Flex.Item></Flex.Item>
<Flex.Item><PlaceHolder /></Flex.Item>
</Flex>
<WhiteSpace size="lg" />
</div>
)
}
}
export default My;
\ No newline at end of file
import React, { Component } from 'react';
import { Flex, WhiteSpace, NavBar } from 'antd-mobile';
class My extends Component {
render() {
return (
<div className="flex-container">
<Flex>
<Flex.Item>
<NavBar
mode="light"
icon={<Icon type="left" />}
onLeftClick={() => console.log('onLeftClick')}
rightContent={[
]}
>NavBar</NavBar>
</Flex.Item>
</Flex>
<WhiteSpace size="lg" />
</div>
)
}
}
export default My;
\ No newline at end of file
import React, { Component } from 'react';
import { Flex, WhiteSpace, NavBar } from 'antd-mobile';
class My extends Component {
render() {
return (
<div className="flex-container">
<Flex>
<Flex.Item>
<NavBar
mode="light"
onLeftClick={() => console.log('onLeftClick')}
rightContent={[
]}
>NavBar</NavBar>
</Flex.Item>
</Flex>
<WhiteSpace size="lg" />
</div>
)
}
}
export default My;
\ No newline at end of file
import React, { Component } from 'react';
import { Flex, WhiteSpace, NavBar } from 'antd-mobile';
class My extends Component {
render() {
return (
<div className="flex-container">
<Flex>
<Flex.Item>
<NavBar
mode="light"
onLeftClick={() => console.log('onLeftClick')}
rightContent={[
]}
>首页</NavBar>
</Flex.Item>
</Flex>
<WhiteSpace size="lg" />
</div>
)
}
}
export default My;
\ No newline at end of file
import React, { Component } from 'react';
import { Flex, WhiteSpace, NavBar } from 'antd-mobile';
class My extends Component {
render() {
return (
<div className="flex-container">
<Flex>
<Flex.Item>
<NavBar
style={{'backGround': '#f7f9fc'}}
mode="light"
onLeftClick={() => console.log('onLeftClick')}
rightContent={[
]}
>首页</NavBar>
</Flex.Item>
</Flex>
<WhiteSpace size="lg" />
</div>
)
}
}
export default My;
\ No newline at end of file
import React, { Component } from 'react';
import { Flex, WhiteSpace, NavBar } from 'antd-mobile';
class My extends Component {
render() {
return (
<div>
我的
<div className="flex-container">
<Flex>
<Flex.Item>
<NavBar
style={{'backGround': '#f7f9fc'}}
mode="light"
onLeftClick={() => console.log('onLeftClick')}
rightContent={[
]}
>首页</NavBar>
</Flex.Item>
</Flex>
<WhiteSpace size="lg" />
</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