用的是别人的代码修改
QiCardView https://github.com/QiShare/QiCardView
1原为向下延伸 改为向右延伸 修改地点为
CGFloat y = (self.interitemSpacing / hScale) * 2 * showIndex;
CGFloat x = (self.lineSpacing / wScale) * 2 * showIndex;//原代码这里没有的
CGAffineTransform scaleTransform = CGAffineTransformMakeScale(wScale, wScale);
CGAffineTransform transform = CGAffineTransformTranslate(scaleTransform, x, y);//主要向哪里偏移