React开发(101):样式处理
生活随笔
收集整理的這篇文章主要介紹了
React开发(101):样式处理
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
{title: '品牌信息',dataIndex: 'intro',render: (text, row) => {return (<div><div style={{ float: 'left' }}><img src={row.logo} style={{ width: '100px', height: '100px' }} /></div><div style={{ float: 'left', marginLeft: '24px' }}><p>{row.intro}</p><p style={{ marginTop: '20px' }}>品牌編碼:{row.code}</p></div></div>);},},
總結
以上是生活随笔為你收集整理的React开发(101):样式处理的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 飞行员与射频工程师
- 下一篇: react学习(50)--解决异步执行顺