页脚组件开发

PC端页脚开发

在pc_footer.js中写入代码,填写相应的
import React from 'react';
import {Row,Col} from 'antd';
export default class PCFooter extends React.Component {
render(){
return(
footer>
Row>
Col span={2}>
Col span={20}>
© 2016 ReactNews. All Right Reserved.
</Col
Col span={2}></Col
</Row
</footer
)
}
}

移动端页脚组件开发

在mb_footer.js中写入代码
import React from 'react';
import {Row,Col} from 'antd';
export default class MBFooter extends React.Component {
render(){
return(
footer>
Row>
Col span={2}></Col
Col span={20}>
© 2016 ReactNews. All Right Reserved.
</Col
Col span={2}></Col
</Row
</footer
)
}
}

posted @ 2017-06-22 20:18  ArielChen  阅读(243)  评论(0编辑  收藏  举报