web布局收集整理
/*样式文件*/ .fgw-right-p{ height: 38px; line-height: 38px; margin-bottom: 20px; padding-left: 24px; span{ display: inline-block; float: right; } } .fgw-top-1{ background: url("../../../static/image/top1.png") no-repeat 0 8px; background-size: 20px 20px; } .fgw-top-2{ background: url("../../../static/image/top2.png") no-repeat 0 8px; background-size: 20px 20px; } .fgw-top-3{ background: url("../../../static/image/top3.png") no-repeat 0 8px; background-size: 20px 20px; } <Col span={4}> <Card title="经济信息TOP5" style={{minHeight: 280, marginBottom: 16}}> <div> <p className="fgw-right-p fgw-top-1">四川<span>30053.10</span></p> <p className="fgw-right-p fgw-top-2">广西壮族自治区<span>16803.12</span></p> <p className="fgw-right-p fgw-top-3">重庆市<span>15717.28</span></p> <p className="fgw-right-p">云南省<span>13619.17</span></p> <p className="fgw-right-p">贵州省<span>10502.56</span></p> </div> </Card> </Col>