Commit 07c68650 authored by Steven杜宇's avatar Steven杜宇

// UI

parent d8587709
...@@ -53,7 +53,7 @@ class YHPrincipleEnvelopeCell: UITableViewCell { ...@@ -53,7 +53,7 @@ class YHPrincipleEnvelopeCell: UITableViewCell {
view.addSubview(self.nameLabel) view.addSubview(self.nameLabel)
nameLabel.snp.makeConstraints { make in nameLabel.snp.makeConstraints { make in
make.top.equalTo(58.0) make.top.equalTo(58.0)
make.left.equalTo(50) make.left.equalTo(20)
make.right.equalTo(-20) make.right.equalTo(-20)
} }
return view return view
...@@ -62,6 +62,7 @@ class YHPrincipleEnvelopeCell: UITableViewCell { ...@@ -62,6 +62,7 @@ class YHPrincipleEnvelopeCell: UITableViewCell {
lazy var nameLabel: UILabel = { lazy var nameLabel: UILabel = {
let label = UILabel() let label = UILabel()
label.numberOfLines = 2 label.numberOfLines = 2
label.textAlignment = .center
label.font = UIFont.PFSC_M(ofSize: 18) label.font = UIFont.PFSC_M(ofSize: 18)
label.textColor = UIColor(hex: 0xB75E24) label.textColor = UIColor(hex: 0xB75E24)
return label return label
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment