CNLiveDuanjuTitleCell.swift 1.05 KB
//
//  CNLiveDuanjuTitleCell.swift
//  metaCode
//
//  Created by zx on 2024/1/10.
//  在追短剧详情页-title cell

import Foundation

class CNLiveDuanjuTitleCell:UITableViewCell{
    
    //MARK: - 懒加载
    ///区块标题
    lazy var blockTitleLabl: UILabel = {
        let titleLbl = UILabel(frame: CGRect(x: DownSlideRecommendLeftGap, y: 10, width: DownSlideSingleCourseW-DownSlideRecommendLeftGap*2, height: 30))
        titleLbl.text = "在追短剧"
        titleLbl.font = BoldFont_21
        titleLbl.textColor = HexColor("#333333")
        return titleLbl
    }()
    override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        self.selectionStyle = .none
        
        setupUI()
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    private func setupUI() {
        contentView.backgroundColor = .white
        self.contentView.addSubview(self.blockTitleLabl)
    }
    
    
}