http://v.youku.com/v_show/id_XMTcyNzE3MjQyOA==.html继承 UICollectionViewLayoutAttributes, 添加一个layoutMode属性,可以根据 layoutMode ,切换不同的布局模式。