add
无故事王国
2024-06-03 3d8ce4866799bea7e66699acdeb86b60b0ba033c
DolphinEnglishLearnStudent/Moudle/Home/CCell/AwardListCCell.swift
@@ -11,11 +11,16 @@
class AwardListCCell: UICollectionViewCell {
            @IBOutlet weak var image_awar: UIImageView!
            @IBOutlet weak var label_title: UILabel!
            override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
            func setModel(_ model:RecommendModel){
                        image_awar.sd_setImage(with: URL(string: model.coverImg))
                        image_awar.jq_cornerRadius = 8
                        label_title.text = model.name
            }
            override func layoutSubviews() {
                        super.layoutSubviews()