CNLiveRealHotListDetailImageCell.swift 823 Bytes
//
//  CNLiveRealHotListDetailImageCell.swift
//  metaCode
//
//  Created by zx on 2024/5/23.
//  实时热榜详情页 顶部image cell

import Foundation
import Kingfisher

class CNLiveRealHotListDetailImageCell: UICollectionViewCell {
        
    lazy var iconImgView :UIImageView = {
        let iconImgView = UIImageView(frame: CGRect(x: 0, y: 0, width: KSreenWidth, height: 174.0*375/KSreenWidth))
        iconImgView.contentMode = .scaleAspectFill
        iconImgView.clipsToBounds = true
        iconImgView.backgroundColor = .red
        return iconImgView
    }()
        
    override init(frame: CGRect) {
        super.init(frame: frame)
        self.contentView.addSubview(self.iconImgView)
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}