Commit c833a413 authored by Alex朱枝文's avatar Alex朱枝文

资源详情页四行限制

parent 699e6eb9
......@@ -99,7 +99,7 @@ class YHResourceDetailBaseInfoCell: UITableViewCell {
contentLabel.font = UIFont.PFSC_R(ofSize: 13)
contentLabel.textColor = UIColor.brandGrayColor8
contentLabel.text = content
contentLabel.numberOfLines = 0
contentLabel.numberOfLines = 4
contentLabel.textAlignment = .left
container.addSubview(titleLabel)
......
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