CNLiveHomeSearchResultDuanJuCell.swift
2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
////
//// CNLiveHomeSearchResultDuanJuCell.swift
//// metaCode
////
//// Created by zx on 2025/3/10.
//// 单集
//
//import Foundation
//
//class CNLiveHomeSearchResultDuanJuCell: UITableViewCell {
//
// var _resModel : CNLiveHomeSearchResultListModel?
// var resModel : CNLiveHomeSearchResultListModel? {
// get{
// _resModel
// }
// set{
// _resModel = newValue!
// self.setupNewUI(model: _resModel!)
// }
// }
// lazy var hotTitleLabel: UILabel = {
// let titleLbl = UILabel()
// titleLbl.font = BoldFont_14
// titleLbl.textColor = HexColor("#2076FF")
// return titleLbl
// }()
// lazy var hotSortLabel: UILabel = {
// let titleLbl = UILabel()
// titleLbl.font = Font_14
// titleLbl.textColor = HexColor("#999999")
// return titleLbl
// }()
// lazy var hotSearchTextLabel: UILabel = {
// let titleLbl = UILabel()
// titleLbl.font = Font_14
// titleLbl.textColor = HexColor("#000102")
// return titleLbl
// }()
//
// override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
// super.init(style: style, reuseIdentifier: reuseIdentifier)
// self.selectionStyle = .none
// contentView.backgroundColor = .white
// contentView.clipsToBounds = true
//
// self.contentView.addSubview(self.hotTitleLabel)
// hotTitleLabel.snp.makeConstraints { make in
// make.left.equalTo(15)
// make.centerY.equalToSuperview()
// }
// self.contentView.addSubview(self.hotSortLabel)
// hotSortLabel.snp.makeConstraints { make in
// make.left.equalTo(15)
// make.centerY.equalToSuperview()
// }
// self.contentView.addSubview(self.hotSearchTextLabel)
// hotSearchTextLabel.snp.makeConstraints { make in
// make.left.equalTo(self.hotSortLabel.snp.right).offset(10)
// make.right.lessThanOrEqualToSuperview().offset(-10)
// make.centerY.equalToSuperview()
// }
//
// }
//
// required init?(coder: NSCoder) {
// fatalError("init(coder:) has not been implemented")
// }
//
// func setupNewUI(model:CNLiveHomeSearchResultListModel){
//
// }
//
//}