Commit 40d899b6 authored by Steven杜宇's avatar Steven杜宇

// 学历/专业资格填写

parent e94b40ca
...@@ -115,25 +115,27 @@ class YHFormItemEnterDetailCell: UITableViewCell { ...@@ -115,25 +115,27 @@ class YHFormItemEnterDetailCell: UITableViewCell {
titleLabel.snp.makeConstraints { make in titleLabel.snp.makeConstraints { make in
make.top.equalToSuperview().offset(16)
make.left.equalToSuperview().offset(horizonalGap) make.left.equalToSuperview().offset(horizonalGap)
make.right.equalTo(detailLabel.snp.left).offset(-8) make.right.equalTo(detailLabel.snp.left).offset(-8)
make.centerY.equalToSuperview() make.bottom.equalTo(bottomLine.snp.top).offset(-16)
} }
detailLabel.snp.makeConstraints { make in detailLabel.snp.makeConstraints { make in
make.right.equalTo(arrowImgView.snp.left) make.right.equalTo(arrowImgView.snp.left)
make.centerY.equalToSuperview() make.width.equalTo(110.0)
make.top.equalTo(titleLabel)
} }
arrowImgView.snp.makeConstraints { make in arrowImgView.snp.makeConstraints { make in
make.size.equalTo(CGSizeMake(20, 20)) make.size.equalTo(CGSizeMake(20, 20))
make.right.equalToSuperview().offset(-horizonalGap) make.right.equalToSuperview().offset(-horizonalGap)
make.centerY.equalToSuperview() make.centerY.equalTo(detailLabel)
} }
deleteButton.snp.makeConstraints { make in deleteButton.snp.makeConstraints { make in
make.size.equalTo(CGSizeMake(64, 40)) make.size.equalTo(CGSizeMake(64, 40))
make.centerY.equalToSuperview() make.centerY.equalTo(detailLabel)
make.right.equalToSuperview() make.right.equalToSuperview()
} }
......
...@@ -309,6 +309,7 @@ extension YHEducationInfoListVC : UITableViewDelegate, UITableViewDataSource { ...@@ -309,6 +309,7 @@ extension YHEducationInfoListVC : UITableViewDelegate, UITableViewDataSource {
if eduInfo.vacantNum > 0 { // 有未填项 if eduInfo.vacantNum > 0 { // 有未填项
let cell = tableView.dequeueReusableCell(withIdentifier: YHFormItemEnterDetailCell.cellReuseIdentifier, for: indexPath) as! YHFormItemEnterDetailCell let cell = tableView.dequeueReusableCell(withIdentifier: YHFormItemEnterDetailCell.cellReuseIdentifier, for: indexPath) as! YHFormItemEnterDetailCell
cell.isShowBottomLine = (indexPath.row != eduList.count)
if let college = eduInfo.college, !college.isEmpty { if let college = eduInfo.college, !college.isEmpty {
cell.title = eduInfo.college cell.title = eduInfo.college
} else { } else {
...@@ -353,6 +354,7 @@ extension YHEducationInfoListVC : UITableViewDelegate, UITableViewDataSource { ...@@ -353,6 +354,7 @@ extension YHEducationInfoListVC : UITableViewDelegate, UITableViewDataSource {
// 第一行是标题 // 第一行是标题
let quaInfo:YHQualificationInfo = quaList[indexPath.row-1] let quaInfo:YHQualificationInfo = quaList[indexPath.row-1]
let cell = tableView.dequeueReusableCell(withIdentifier: YHFormItemEnterDetailCell.cellReuseIdentifier, for: indexPath) as! YHFormItemEnterDetailCell let cell = tableView.dequeueReusableCell(withIdentifier: YHFormItemEnterDetailCell.cellReuseIdentifier, for: indexPath) as! YHFormItemEnterDetailCell
cell.isShowBottomLine = (indexPath.row != quaList.count)
cell.title = "证书标题" cell.title = "证书标题"
if let qualification = quaInfo.qualification, !qualification.isEmpty { if let qualification = quaInfo.qualification, !qualification.isEmpty {
cell.title = qualification cell.title = qualification
......
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