CNLiveDigitalResumePreviewFiveCell.swift
3.84 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
////
//// CNLiveDigitalResumePreviewFiveCell.swift
//// metaCode
////
//// Created by zx on 2024/8/7.
//// 数字简历-Five 获奖情况cell
//
//import Foundation
//import Kingfisher
//import SnapKit
//
//class CNLiveDigitalResumePreviewFiveCell: UITableViewCell {
//
// lazy var whiteView :UIView = {
// let whiteView = UIView(frame: CGRect(x: 15, y:15, width: KSreenWidth-30, height: DefaultPreViewCellHeight))
// whiteView.backgroundColor = .white
// whiteView.layer.cornerRadius = 12
// whiteView.clipsToBounds = true
// return whiteView
// }()
// lazy var myIdentityTitleLabel: UILabel = {
// let titleLabel = UILabel()
// titleLabel.textColor = HexColor("#333333")
// titleLabel.textAlignment = .center
// titleLabel.text = "获奖情况"
// titleLabel.font = BoldFont_16
// return titleLabel
// }()
//
// lazy var zhengshuNoDescTitleLabel: UILabel = {
// let titleLabel = UILabel()
// titleLabel.textColor = HexColor("#999999")
// titleLabel.textAlignment = .left
// titleLabel.text = "还没有添加获奖情况"
// titleLabel.font = Font_12
// return titleLabel
// }()
// lazy var zhengshuNoIconImgView :UIImageView = {
// let iconImgView = UIImageView(frame: CGRect(x: 18, y: 0, width: 60, height: 45))
// iconImgView.contentMode = .scaleAspectFit
// iconImgView.image = UIImage(named: "mine_jianli_noaward")
// return iconImgView
// }()
//
// lazy var zhengshuBtn: UIButton = {
// let closeBtn = UIButton(type: .custom)
// closeBtn.setTitle("关联获奖", for: .normal)
// closeBtn.setTitleColor(HexColor("#1961FE"), for: .normal)
// closeBtn.titleLabel?.font = BoldFont_14
// closeBtn.layer.borderColor = HexColor("#1961FE")?.cgColor
// closeBtn.layer.borderWidth = 0.5
// closeBtn.layer.cornerRadius = 6
// closeBtn.clipsToBounds = true
// closeBtn.addTarget(self, action: #selector(zhengshuBtnAction), for: .touchUpInside)
// return closeBtn
// }()
//
// override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
// super.init(style: style, reuseIdentifier: reuseIdentifier)
// self.contentView.backgroundColor = .clear
// self.backgroundColor = .clear
// self.selectionStyle = .none
//
// self.contentView.addSubview(self.whiteView)
// self.whiteView.addSubview(self.myIdentityTitleLabel)
// self.myIdentityTitleLabel.snp.makeConstraints { make in
// make.top.equalToSuperview().offset(adapt_length(length: 15))
// make.left.equalTo(adapt_length(length: 15))
// }
//
// self.whiteView.addSubview(self.zhengshuBtn)
// self.zhengshuBtn.snp.makeConstraints { make in
// make.centerX.equalToSuperview()
// make.bottom.equalToSuperview().offset(-20)
// make.width.equalTo(86)
// make.height.equalTo(34)
// }
//
// self.whiteView.addSubview(self.zhengshuNoDescTitleLabel)
// self.zhengshuNoDescTitleLabel.snp.makeConstraints { make in
// make.centerX.equalToSuperview()
// make.bottom.equalTo(self.zhengshuBtn.snp.top).offset(-10)
// }
// self.whiteView.addSubview(self.zhengshuNoIconImgView)
// self.zhengshuNoIconImgView.snp.makeConstraints { make in
// make.centerX.equalToSuperview()
// make.bottom.equalTo(self.zhengshuNoDescTitleLabel.snp.top).offset(-10)
// make.width.equalTo(60)
// make.height.equalTo(45)
// }
//
// }
// required init?(coder: NSCoder) {
// fatalError("init(coder:) has not been implemented")
// }
//
// @objc func zhengshuBtnAction(){
// //跳转 选择获奖情况页面
//
// }
//
//}