|
@@ -70,7 +70,7 @@ class BFCameraProgressView: BFProgressBaseView {
|
|
|
|
|
|
let p = CGPoint(x: progress.seconds * 70 / 5.0, y: 0)
|
|
|
collectionV.contentOffset = p
|
|
|
- BFLog(1, message: "updateCellWidth: \(progress.seconds)")
|
|
|
+// BFLog(1, message: "updateCellWidth: \(progress.seconds)")
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -130,8 +130,10 @@ extension BFCameraProgressView: UICollectionViewDelegateFlowLayout, UICollection
|
|
|
cell.contentView.addSubview(line)
|
|
|
|
|
|
}
|
|
|
+ if indexPath.row < recordItem?.thumbImgs.count ?? 0{
|
|
|
+ imgview?.image = recordItem?.thumbImgs[indexPath.row]
|
|
|
+ }
|
|
|
|
|
|
- imgview?.image = recordItem?.thumbImgs[indexPath.row]
|
|
|
// BFLog(1, message: "cell manke: \(indexPath.row)")
|
|
|
return cell
|
|
|
}
|