Commit 5601f31b0b20d9f7efe172cb15dea1dc094abeeb

Authored by “张旭”
1 parent 84f5c170

横条内容icon图片改为可为空

metaCode/Classes/Main/HomePage/View/VerticalViews/DownSlide/CNDownSlideSingleCourseCell.swift
... ... @@ -136,7 +136,7 @@ class CNDownSlideSingleCourseCell: UITableViewCell {
136 136  
137 137 //小icon
138 138 let imageView = UIImageView(frame: CGRectMake(DownSlideRecommendLeftGap, titleLbl.bottom+DownSlideRecommendLeftGap+CGFloat(i)*(DownSlideAllCourseRowTopYGap+DownSlideAllCourseRowImageWH+DownSlideAllCourseRowBottomYGap), CGFloat(DownSlideAllCourseRowImageWH), CGFloat(DownSlideAllCourseRowImageWH)))
139   - imageView.kf.setImage(with: URL(string:contentMdl.poster!))
  139 + imageView.kf.setImage(with: URL(string:contentMdl.poster ?? ""))
140 140 imageView.layer.cornerRadius = 12
141 141 imageView.clipsToBounds = true
142 142 imageView.contentMode = .scaleAspectFill
... ...