Commit 3cadc4d2 authored by Steven杜宇's avatar Steven杜宇

// 生活UI

parent 5e6e4f0d
......@@ -60,6 +60,7 @@ class YHLifeItemTableViewCell: UITableViewCell {
let view = UILabel()
view.font = UIFont.PFSC_M(ofSize: 17)
view.textColor = UIColor.mainTextColor
view.numberOfLines = 2
return view
}()
contentView.addSubview(titleLabel)
......@@ -67,7 +68,6 @@ class YHLifeItemTableViewCell: UITableViewCell {
make.left.equalTo(144)
make.right.equalTo(-20)
make.top.equalTo(20)
make.height.equalTo(24)
}
subTitleLabel = {
......@@ -81,7 +81,7 @@ class YHLifeItemTableViewCell: UITableViewCell {
subTitleLabel.snp.makeConstraints { make in
make.left.equalTo(144)
make.right.equalTo(-20)
make.top.equalTo(52)
make.top.equalTo(titleLabel.snp.bottom).offset(8.0)
}
}
......
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