CNLiveShopClassifyCell.swift
985 Bytes
//
// CNLiveShopClassifyCell.swift
// metaCode
//
// Created by zx on 2023/11/17.
//
import Foundation
class CNLiveShopClassifyCell: UITableViewCell {
///标题
lazy var titleLabel: UILabel = {
let titleLabel = UILabel.init(frame: CGRectMake(15, 0, KSreenWidth-15*2, 40))
titleLabel.textColor = HexColor("#666666")
titleLabel.textAlignment = .left
titleLabel.font = Font_14
titleLabel.adjustsFontSizeToFitWidth=true
titleLabel.lineBreakMode = .byTruncatingTail
titleLabel.tag = 1
return titleLabel
}()
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: style, reuseIdentifier: reuseIdentifier)
self.selectionStyle = .none
contentView.backgroundColor = .white
contentView.addSubview(self.titleLabel)
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
}