 extension RecommendCycleView:UICollectionViewDataSource{
 
     func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int {
-        return cycleModel?.count ?? 0
+        return (cycleModel?.count ?? 0) * 10000
     }
 
     func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
         
         let cell = collectionView.dequeueReusableCell(withReuseIdentifier: kCycleCellID, for: indexPath) as! CollectionViewCycelCell
         
-        let cycleModelsingel = cycleModel?[indexPath.row]
+        let cycleModelsingel = cycleModel?[indexPath.row % (cycleModel?.count)!]
         cell.cycleModel = cycleModelsingel
         
         return cell

    @IBOutlet weak var collectionView: UICollectionView!
    @IBOutlet weak var pagecontrollr: UIPageControl!
    
    var cycleModel:[CyceleModel]?{
    
        didSet{

            
            // 设置 pagecontrollr 的个数
            pagecontrollr.numberOfPages = cycleModel?.count ?? 0
            
            // 默认滚动到中间某一个位置
            let indexPath = NSIndexPath(item: (cycleModel?.count ?? 0) * 10, section: 0)
            collectionView.scrollToItem(at: indexPath as IndexPath, at: .left, animated: false)
            
            // 先移除定时器 后添加
            RemoveCycleTimer()
            addCycelTime()
            

        }
    }
    
    override func awakeFromNib() {
