Commit 8c273d66 authored by Steven杜宇's avatar Steven杜宇

// 方案

parent 4406cc80
...@@ -56,6 +56,7 @@ class YHImproveSchemeViewController: YHBaseViewController { ...@@ -56,6 +56,7 @@ class YHImproveSchemeViewController: YHBaseViewController {
make.width.equalTo(14) make.width.equalTo(14)
make.height.equalTo(24) make.height.equalTo(24)
make.centerY.equalTo(greetLabel) make.centerY.equalTo(greetLabel)
make.right.lessThanOrEqualTo(-24)
} }
tipsLabel.snp.makeConstraints { make in tipsLabel.snp.makeConstraints { make in
...@@ -72,6 +73,7 @@ class YHImproveSchemeViewController: YHBaseViewController { ...@@ -72,6 +73,7 @@ class YHImproveSchemeViewController: YHBaseViewController {
label.font = UIFont.PFSC_B(ofSize: 24) label.font = UIFont.PFSC_B(ofSize: 24)
label.textColor = .init(hex: 0xFFDEC8) label.textColor = .init(hex: 0xFFDEC8)
label.text = "尊敬的先生" label.text = "尊敬的先生"
label.lineBreakMode = .byTruncatingMiddle
return label return label
}() }()
......
...@@ -120,6 +120,7 @@ class YHMyNewSchemeViewController: YHBaseViewController { ...@@ -120,6 +120,7 @@ class YHMyNewSchemeViewController: YHBaseViewController {
label.font = UIFont.PFSC_B(ofSize: 24) label.font = UIFont.PFSC_B(ofSize: 24)
label.textColor = .white label.textColor = .white
label.text = "尊敬的先生" label.text = "尊敬的先生"
label.lineBreakMode = .byTruncatingMiddle
return label return label
}() }()
......
...@@ -43,10 +43,16 @@ class YHDocumentListCell: UITableViewCell { ...@@ -43,10 +43,16 @@ class YHDocumentListCell: UITableViewCell {
lazy var tips1Label: UILabel = { lazy var tips1Label: UILabel = {
let label = UILabel() let label = UILabel()
label.numberOfLines = 0 label.numberOfLines = 0
let aa: ASAttributedString = .init("您的文书清单,包括推荐信、赴港计划书。文书编写后会发送至APP【我的文书】,与您一起沟通定稿,预计", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor))
let bb: ASAttributedString = .init("3周-4周", .font(UIFont.PFSC_M(ofSize: 14)),.foreground(UIColor.init(hex: 0xD48638))) let paragraphStyle = NSMutableParagraphStyle()
let cc: ASAttributedString = .init("左右完成,需要咱们共同配合完成噢", .font(UIFont.PFSC_R(ofSize: 14)),.foreground(UIColor.mainTextColor)) paragraphStyle.lineSpacing = 4
label.attributed.text = aa+bb+cc
let a = NSMutableAttributedString(string: "您的文书清单,包括推荐信、赴港计划书。文书编写后会发送至APP【我的文书】,与您一起沟通定稿,预计", attributes: [NSAttributedString.Key.foregroundColor : UIColor.mainTextColor, NSAttributedString.Key.font: UIFont.PFSC_R(ofSize: 14), NSAttributedString.Key.paragraphStyle: paragraphStyle])
let b = NSMutableAttributedString(string: "3周-4周", attributes: [NSAttributedString.Key.foregroundColor : UIColor.init(hex: 0xD48638), NSAttributedString.Key.font: UIFont.PFSC_M(ofSize: 14), NSAttributedString.Key.paragraphStyle: paragraphStyle])
let c = NSMutableAttributedString(string: "左右完成,需要咱们共同配合完成噢", attributes: [NSAttributedString.Key.foregroundColor : UIColor.mainTextColor, NSAttributedString.Key.font: UIFont.PFSC_R(ofSize: 14), NSAttributedString.Key.paragraphStyle: paragraphStyle])
a.append(b)
a.append(c)
label.attributedText = a
return label return label
}() }()
......
...@@ -42,9 +42,13 @@ class YHImproveSchemeCell: UITableViewCell { ...@@ -42,9 +42,13 @@ class YHImproveSchemeCell: UITableViewCell {
lazy var tips1Label: UILabel = { lazy var tips1Label: UILabel = {
let label = UILabel() let label = UILabel()
label.font = UIFont.PFSC_R(ofSize: 14)
label.textColor = UIColor.mainTextColor
label.numberOfLines = 0 label.numberOfLines = 0
let aa: ASAttributedString = .init("已根据港府甄选条件,为您规划后续提升方案,您可根据实际情况进行提升~", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor)) let paragraphStyle = NSMutableParagraphStyle()
label.attributed.text = aa paragraphStyle.lineSpacing = 4
let attributes = [NSAttributedString.Key.paragraphStyle: paragraphStyle]
label.attributedText = NSAttributedString(string: "已根据港府甄选条件,为您规划后续提升方案,您可根据实际情况进行提升~", attributes: attributes)
return label return label
}() }()
......
...@@ -48,7 +48,10 @@ class YHIndustryLocationCell: UITableViewCell { ...@@ -48,7 +48,10 @@ class YHIndustryLocationCell: UITableViewCell {
label.font = UIFont.PFSC_R(ofSize: 14) label.font = UIFont.PFSC_R(ofSize: 14)
label.textColor = .mainTextColor label.textColor = .mainTextColor
label.numberOfLines = 0 label.numberOfLines = 0
label.text = "根据您目前给来的材料,初步建议您申请的行业:" let paragraphStyle = NSMutableParagraphStyle()
paragraphStyle.lineSpacing = 4
let attributes = [NSAttributedString.Key.paragraphStyle: paragraphStyle]
label.attributedText = NSAttributedString(string: "根据您目前给来的材料,初步建议您申请的行业:", attributes: attributes)
return label return label
}() }()
...@@ -66,7 +69,10 @@ class YHIndustryLocationCell: UITableViewCell { ...@@ -66,7 +69,10 @@ class YHIndustryLocationCell: UITableViewCell {
label.font = UIFont.PFSC_R(ofSize: 14) label.font = UIFont.PFSC_R(ofSize: 14)
label.textColor = .init(hex: 0x8993A2) label.textColor = .init(hex: 0x8993A2)
label.numberOfLines = 0 label.numberOfLines = 0
label.text = "后续会根据您文书准备的补充情况来最终确定,如有修改会再告知您。" let paragraphStyle = NSMutableParagraphStyle()
paragraphStyle.lineSpacing = 4
let attributes = [NSAttributedString.Key.paragraphStyle: paragraphStyle]
label.attributedText = NSAttributedString(string: "后续会根据您文书准备的补充情况来最终确定,如有修改会再告知您。", attributes: attributes)
return label return label
}() }()
......
...@@ -43,10 +43,16 @@ class YHMaterialListCell: UITableViewCell { ...@@ -43,10 +43,16 @@ class YHMaterialListCell: UITableViewCell {
lazy var tips1Label: UILabel = { lazy var tips1Label: UILabel = {
let label = UILabel() let label = UILabel()
label.numberOfLines = 0 label.numberOfLines = 0
let aa: ASAttributedString = .init("这是您的资料清单,请您前往查看。请您在", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor))
let bb: ASAttributedString = .init("1-2周内", .font(UIFont.PFSC_M(ofSize: 14)),.foreground(UIColor.init(hex: 0xD48638))) let paragraphStyle = NSMutableParagraphStyle()
let cc: ASAttributedString = .init("上传基础类证件哦,需要重新办理的可以晚些提供。需要注意的点如下:", .font(UIFont.PFSC_R(ofSize: 14)),.foreground(UIColor.mainTextColor)) paragraphStyle.lineSpacing = 4
label.attributed.text = aa+bb+cc
let a = NSMutableAttributedString(string: "这是您的资料清单,请您前往查看。请您在", attributes: [NSAttributedString.Key.foregroundColor : UIColor.mainTextColor, NSAttributedString.Key.font: UIFont.PFSC_R(ofSize: 14), NSAttributedString.Key.paragraphStyle: paragraphStyle])
let b = NSMutableAttributedString(string: "1-2周内", attributes: [NSAttributedString.Key.foregroundColor : UIColor.init(hex: 0xD48638), NSAttributedString.Key.font: UIFont.PFSC_M(ofSize: 14), NSAttributedString.Key.paragraphStyle: paragraphStyle])
let c = NSMutableAttributedString(string: "上传基础类证件哦,需要重新办理的可以晚些提供。需要注意的点如下:", attributes: [NSAttributedString.Key.foregroundColor : UIColor.mainTextColor, NSAttributedString.Key.font: UIFont.PFSC_R(ofSize: 14), NSAttributedString.Key.paragraphStyle: paragraphStyle])
a.append(b)
a.append(c)
label.attributedText = a
return label return label
}() }()
...@@ -55,7 +61,11 @@ class YHMaterialListCell: UITableViewCell { ...@@ -55,7 +61,11 @@ class YHMaterialListCell: UITableViewCell {
label.font = UIFont.PFSC_R(ofSize: 14) label.font = UIFont.PFSC_R(ofSize: 14)
label.textColor = .init(hex: 0x8993A2) label.textColor = .init(hex: 0x8993A2)
label.numberOfLines = 0 label.numberOfLines = 0
label.text = "(1)港澳通如未办理,请优先安排办理;\n(2)如为国内学校,需准备由教育部学信网出具的学位认证报告;\n(3)如为海外学校,需准备官方成绩单和第三方机构学位认证文件;\n(4)赴港同意书,在获批后1个月内,由您获批时在职公司盖章出具即可(目前不需要提供)。" let paragraphStyle = NSMutableParagraphStyle()
paragraphStyle.lineSpacing = 4
let attributes = [NSAttributedString.Key.paragraphStyle: paragraphStyle]
label.attributedText = NSAttributedString(string: "(1)港澳通如未办理,请优先安排办理;\n(2)如为国内学校,需准备由教育部学信网出具的学位认证报告;\n(3)如为海外学校,需准备官方成绩单和第三方机构学位认证文件;\n(4)赴港同意书,在获批后1个月内,由您获批时在职公司盖章出具即可(目前不需要提供)。", attributes: attributes)
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