state
this.state = {
list: [
{num:"+208.65",end:"亏盈(千万)"},
{num:"+12.37",end:"收益率(%)"},
{num:"686",end:"潜在投资人(人)"},
{num:"264",end:"意向投资人(人)"},
{num:"137",end:"待审投资人(人)"},
{num:"100",end:"审核投资人(人)"},
{num:"86",end:"审核通过投资人"},
{num:"36",end:"吸能投资人(人)"},
],
render()
<Row gutter={10}>
{this.dealCard()}
</Row>
dealCard(){
console.log("zx")
return this.state.list.map((v,k) =>{
return (
<Col span={3} key={k}>
<Card className={"m"+k}>
<p>{v.num}</p>
<p>{v.end}</p>
</Card>
</Col>
)
})
}