Commit d683e66e authored by Steven杜宇's avatar Steven杜宇

// 时间展示

parent 172e1c66
...@@ -344,7 +344,7 @@ extension YHEducationInfoListVC : UITableViewDelegate, UITableViewDataSource { ...@@ -344,7 +344,7 @@ extension YHEducationInfoListVC : UITableViewDelegate, UITableViewDataSource {
} }
cell.timeLabel.text = "" cell.timeLabel.text = ""
if let admissionTime = eduInfo.admissionTime, let graduateTime = eduInfo.graduateTime { if let admissionTime = eduInfo.admissionTime, let graduateTime = eduInfo.graduateTime {
cell.timeLabel.text = String("\(admissionTime)-\(graduateTime)") cell.timeLabel.text = String("\(admissionTime) ~ \(graduateTime)")
} }
cell.isShowDeleteBtn = (isDegreeEditMode == .canCancel) cell.isShowDeleteBtn = (isDegreeEditMode == .canCancel)
cell.deleteBlock = { cell.deleteBlock = {
......
...@@ -113,7 +113,7 @@ class YHEducationInfoCell: UITableViewCell { ...@@ -113,7 +113,7 @@ class YHEducationInfoCell: UITableViewCell {
} }
timeLabel.snp.makeConstraints { make in timeLabel.snp.makeConstraints { make in
make.width.equalTo(108) make.width.equalTo(115)
make.height.equalTo(20) make.height.equalTo(20)
make.right.equalTo(arrowImgView.snp.left) make.right.equalTo(arrowImgView.snp.left)
make.top.equalTo(titleLabel) make.top.equalTo(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