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

// UI走查

parent 17e10cdf
...@@ -104,34 +104,28 @@ class YHQualificationDetailVC: YHBaseViewController { ...@@ -104,34 +104,28 @@ class YHQualificationDetailVC: YHBaseViewController {
let title0 = YHFormTitleItem(type: .mainApplicantProfessionalQualification) let title0 = YHFormTitleItem(type: .mainApplicantProfessionalQualification)
let item00 = YHFormDetailItem(type: .qualificationCertificateName) let item00 = YHFormDetailItem(type: .qualificationCertificateName)
item00.placeHolder = "请选择资格证书名称".local
item00.tips = "请选择资格证书名称".local item00.tips = "请选择资格证书名称".local
item00.value = detailInfo.certName item00.value = detailInfo.certName
let item01 = YHFormDetailItem(type: .conferAgencyFullName) let item01 = YHFormDetailItem(type: .conferAgencyFullName)
item01.placeHolder = "请输入颁授机构".local
item01.tips = "请输入颁授机构".local item01.tips = "请输入颁授机构".local
item01.value = detailInfo.issuingAgent item01.value = detailInfo.issuingAgent
let item02 = YHFormDetailItem(type: .conferTime) let item02 = YHFormDetailItem(type: .conferTime)
item02.placeHolder = "请选择颁授年份".local
item02.tips = "请选择颁授年份".local item02.tips = "请选择颁授年份".local
if detailInfo.issuingYear > 0 { if detailInfo.issuingYear > 0 {
item02.value = String(detailInfo.issuingYear) item02.value = String(detailInfo.issuingYear)
} }
let item03 = YHFormDetailItem(type: .conferCountry) let item03 = YHFormDetailItem(type: .conferCountry)
item03.placeHolder = "请选择颁授国家/地区".local
item03.tips = "请选择颁授国家/地区".local item03.tips = "请选择颁授国家/地区".local
item03.value = detailInfo.issuingAddr.country item03.value = detailInfo.issuingAddr.country
let item04 = YHFormDetailItem(type: .conferCity) let item04 = YHFormDetailItem(type: .conferCity)
if detailInfo.isCollegeInAboard() { if detailInfo.isCollegeInAboard() {
item04.placeHolder = "请输入颁授城市".local
item04.tips = "请输入颁授城市".local item04.tips = "请输入颁授城市".local
item04.value = detailInfo.issuingAddr.foreign item04.value = detailInfo.issuingAddr.foreign
} else { } else {
item04.placeHolder = "请选择颁授城市".local
item04.tips = "请选择颁授城市".local item04.tips = "请选择颁授城市".local
item04.value = detailInfo.issuingAddr.area.joined(separator: ",") item04.value = detailInfo.issuingAddr.area.joined(separator: ",")
} }
......
...@@ -114,7 +114,7 @@ class YHAddressPickView: UIView { ...@@ -114,7 +114,7 @@ class YHAddressPickView: UIView {
private let titleLabel: UILabel = { private let titleLabel: UILabel = {
let label = UILabel(frame: CGRect(x: (UIScreen.main.bounds.width - 150) / 2, y: 16, width: 150, height: 24)) let label = UILabel(frame: CGRect(x: (UIScreen.main.bounds.width - 150) / 2, y: 16, width: 150, height: 24))
label.textColor = UIColor.mainTextColor label.textColor = UIColor.mainTextColor
label.text = "选择国家地区" label.text = "选择省市地区"
label.textAlignment = .center label.textAlignment = .center
label.font = UIFont.PFSC_M(ofSize: 17) label.font = UIFont.PFSC_M(ofSize: 17)
return label return label
......
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