Theme color Gray color Appearance SizeSmall(1) Medium(2) Large(3) Radius Scale90% 95% 100% 105% 110%
none
small
medium
large
full
注
Highly Highly Highly experimental
虚拟项推荐使用绝对定位进行渲染,性能更佳。若因布局限制无法使用绝对定位,则可以添加staticPosition
属性,其会自动给包裹的元素设置 transform,当然你可以给自行所有元素设置 transform
静态定位:添加staticPosition
静态定位2:自行设置transform
通过lanes
属性设置固定的列数,渲染项使用绝对定位按如下示例便可实现瀑布流的效果