|
@@ -11,9 +11,8 @@ import UIKit
|
|
|
class InformationDetailCell: BaseTableViewCell {
|
|
|
lazy var titleLb: UILabel = {
|
|
|
let v = UILabel()
|
|
|
- v.textAlignment = .left
|
|
|
- v.font = _PFSSM(20)
|
|
|
- v.textColor = _color("#333333񑘕")
|
|
|
+ v.font = .pf_20_semibold
|
|
|
+ v.textColor = Color(0x333333)
|
|
|
v.numberOfLines = 0
|
|
|
|
|
|
return v
|
|
@@ -21,27 +20,24 @@ class InformationDetailCell: BaseTableViewCell {
|
|
|
|
|
|
lazy var originLb: UILabel = {
|
|
|
let v = UILabel()
|
|
|
- v.textAlignment = .left
|
|
|
- v.setTextFont(.PFSR, 14)
|
|
|
- v.textColor = _color("#878787󖣃")
|
|
|
+ v.font = .pf_14_regular
|
|
|
+ v.textColor = Color(0x878787)
|
|
|
|
|
|
return v
|
|
|
}()
|
|
|
|
|
|
lazy var timeLb: UILabel = {
|
|
|
let v = UILabel()
|
|
|
- v.textAlignment = .left
|
|
|
- v.setTextFont(.PFSR, 14)
|
|
|
- v.textColor = _color("#878787󖣃")
|
|
|
+ v.font = .pf_14_regular
|
|
|
+ v.textColor = Color(0x878787)
|
|
|
|
|
|
return v
|
|
|
}()
|
|
|
|
|
|
lazy var contentLb: UILabel = {
|
|
|
let v = UILabel()
|
|
|
- v.textAlignment = .left
|
|
|
- v.setTextFont(.PFSR, 18)
|
|
|
- v.textColor = _color("#3d3c3cd3c3c")
|
|
|
+ v.font = .pf_16_regular
|
|
|
+ v.textColor = Color(0x3D3C3C)
|
|
|
v.numberOfLines = 0
|
|
|
|
|
|
return v
|
|
@@ -49,15 +45,14 @@ class InformationDetailCell: BaseTableViewCell {
|
|
|
|
|
|
lazy var lineView: UIView = {
|
|
|
let v = UIView()
|
|
|
- v.backgroundColor = _color("#EFEFEF&#EFEFEF")
|
|
|
+ v.backgroundColor = Color(0xEFEFEF)
|
|
|
return v
|
|
|
}()
|
|
|
|
|
|
lazy var tipLb: UILabel = {
|
|
|
let v = UILabel()
|
|
|
- v.textAlignment = .left
|
|
|
- v.setTextFont(.PFSR, 12)
|
|
|
- v.textColor = _color("#9F9F9F	F9F9F")
|
|
|
+ v.font = .pf_12_regular
|
|
|
+ v.textColor = Color(0x9F9F9F)
|
|
|
v.numberOfLines = 0
|
|
|
v.text = switchLanguage("详情来源")
|
|
|
return v
|
|
@@ -94,9 +89,9 @@ class InformationDetailCell: BaseTableViewCell {
|
|
|
|
|
|
contentView.addSubview(lineView)
|
|
|
lineView.snp.makeConstraints { make in
|
|
|
- make.top.equalTo(contentLb.snp.bottom).offset(18)
|
|
|
+ make.top.equalTo(contentLb.snp.bottom).offset(10)
|
|
|
make.left.right.equalTo(contentLb)
|
|
|
- make.height.equalTo(1)
|
|
|
+ make.height.equalTo(0.5)
|
|
|
}
|
|
|
|
|
|
contentView.addSubview(tipLb)
|