Commit 7b9d2c43 authored by David黄金龙's avatar David黄金龙

细节调整

parent e8c68bf6
...@@ -114,6 +114,7 @@ extension YHMainApplicantInfoViewController { ...@@ -114,6 +114,7 @@ extension YHMainApplicantInfoViewController {
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withClass: YHPersonInfoCommonCell.self) let cell = tableView.dequeueReusableCell(withClass: YHPersonInfoCommonCell.self)
cell.selectionStyle = .none
cell.model = arrData[indexPath.row] cell.model = arrData[indexPath.row]
return cell return cell
} }
......
...@@ -22,8 +22,8 @@ class YHPersonInfoCellView: UIView { ...@@ -22,8 +22,8 @@ class YHPersonInfoCellView: UIView {
let lable0 = UILabel(text: "--") let lable0 = UILabel(text: "--")
lable0.textColor = UIColor.labelTextColor2 lable0.textColor = UIColor.labelTextColor2
lable0.font = UIFont.PFSC_R(ofSize: 14) lable0.font = UIFont.PFSC_R(ofSize: 14)
lable0.numberOfLines = 0 // lable0.numberOfLines = 1
lable0.lineBreakMode = .byCharWrapping // lable0.lineBreakMode = .byCharWrapping
return lable0 return lable0
}() }()
...@@ -45,7 +45,7 @@ class YHPersonInfoCellView: UIView { ...@@ -45,7 +45,7 @@ class YHPersonInfoCellView: UIView {
make.top.equalToSuperview().offset(18) make.top.equalToSuperview().offset(18)
make.left.equalToSuperview() make.left.equalToSuperview()
make.width.lessThanOrEqualTo(154) make.width.lessThanOrEqualTo(154)
make.height.equalTo(17) make.height.equalTo(20)
} }
nameLable.setContentCompressionResistancePriority(.required, for: .horizontal) nameLable.setContentCompressionResistancePriority(.required, for: .horizontal)
...@@ -54,6 +54,7 @@ class YHPersonInfoCellView: UIView { ...@@ -54,6 +54,7 @@ class YHPersonInfoCellView: UIView {
make.top.equalTo(nameLable.snp.top) make.top.equalTo(nameLable.snp.top)
make.right.equalToSuperview() make.right.equalToSuperview()
make.left.equalTo(nameLable.snp.right).offset(10) make.left.equalTo(nameLable.snp.right).offset(10)
make.bottom.equalToSuperview() make.bottom.equalToSuperview()
} }
} }
......
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