// 如果调用scrollToItemAtIndexPath不起作用
// 需要先调用layoutIfNeeded方法
[self layoutIfNeeded];
[_checkCollectionView scrollToItemAtIndexPath:[NSIndexPath indexPathForRow:_selectedCheckRow inSection:0] atScrollPosition:UICollectionViewScrollPositionCenteredHorizontally animated:YES];
[_recordCollectionView scrollToItemAtIndexPath:[NSIndexPath indexPathForRow:_selectedRecordRow inSection:0] atScrollPosition:UICollectionViewScrollPositionCenteredHorizontally animated:YES];// 如果调用scrollToItemAtIndexPath不起作用
// 需要先调用