|
@@ -83,7 +83,7 @@ class MVMineProductCell: UICollectionViewCell {
|
|
|
}
|
|
|
|
|
|
func addData() {
|
|
|
- let coverImg = (videoData?.videoCoverSnapshotPath != nil && (videoData?.videoCoverSnapshotPath?.count ?? 0) > 0) ? videoData?.videoCoverSnapshotPath ?? "" : videoData?.coverImg?["coverImgPath"] as! String
|
|
|
+ let coverImg : String = (("\(videoData?.coverImg?["coverImgPath"] ?? "")".count) > 0) ? "\(videoData?.coverImg?["coverImgPath"] ?? "")" : (videoData?.videoCoverSnapshotPath ?? "")
|
|
|
coverImageView.setNetImage(url: coverImg)
|
|
|
titleLabel.text = videoData?.title ?? ""
|
|
|
statusBtn.isHidden = (videoData?.auditStatus == 5 && videoData?.transcodeStatus == 3 && (videoData?.transcodeStatus == 1 || videoData?.transcodeStatus == 3))
|