iView——Table表格
24栅格系统,将区域进行24等分,总和一定是为24
属性
-
col必须放在row里面,span+offset总和为24,offset为左右偏移;另外注意flex填充、结合Bootstrap 实现响应式布局
<Row> <Col flex="2">2 / 5</Col> <Col flex="3">3 / 5</Col> </Row>
-
gutter
-
order(col)改变排列顺序
-
justify(row):type=“flex” justify=“属性”
- 属性可选值:start end center space-between space-around
-
align(row):type=“flex” justify=“center” align=“top”
- 属性可选值:top bottom middle
API