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

// 高才方案文案更改

parent ef62175b
...@@ -119,7 +119,7 @@ extension YHGCMineSchemeViewController { ...@@ -119,7 +119,7 @@ extension YHGCMineSchemeViewController {
let industry = model.industry let industry = model.industry
if !industry.isEmpty { if !industry.isEmpty {
let model1 = YHScemeItemModel(title: "职业界别", mainMessage: "根据您目前给来的材料,初步建议您申请的行业:\n" + industry, lightMessage: industry, subMessage: "后续会根据您文书准备的补充情况来最终确定,如有修改会再告知您。", lightFont: UIFont.PFSC_B(ofSize: 16)) let model1 = YHScemeItemModel(title: "职业界别", mainMessage: "根据您目前给来的材料,初步建议您申请的行业:\n" + industry, lightMessage: industry, subMessage: "后续会根据您材料准备的补充情况来最终确定,如有修改会再告知您。", lightFont: UIFont.PFSC_B(ofSize: 16))
self.dataSource?.append(model1) self.dataSource?.append(model1)
} }
......
...@@ -254,21 +254,21 @@ private extension YHGCApplicationType { ...@@ -254,21 +254,21 @@ private extension YHGCApplicationType {
func attributedTips() -> ASAttributedString { func attributedTips() -> ASAttributedString {
switch self { switch self {
case .typeA: case .typeA:
let attr1: ASAttributedString = .init(string: "根据评估,您近12个月的税前收入超过", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor)) let attr1: ASAttributedString = .init(string: "根据您提交的信息,您近12个月的税前收入超过", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor))
let attr2: ASAttributedString = .init(string: "250万港元", .font(UIFont.PFSC_B(ofSize: 14)), .foreground(UIColor(hexString: "#D48638") ?? .brown)) let attr2: ASAttributedString = .init(string: "250万港元", .font(UIFont.PFSC_B(ofSize: 14)), .foreground(UIColor(hexString: "#D48638") ?? .brown))
let attr3: ASAttributedString = .init(string: ",符合", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor)) let attr3: ASAttributedString = .init(string: ",符合", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor))
let attr4: ASAttributedString = .init(string: "高才A类", .font(UIFont.PFSC_B(ofSize: 14)), .foreground(UIColor(hexString: "#D48638") ?? .brown)) let attr4: ASAttributedString = .init(string: "高才A类", .font(UIFont.PFSC_B(ofSize: 14)), .foreground(UIColor(hexString: "#D48638") ?? .brown))
let attr5: ASAttributedString = .init(string: "申请资格。", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor)) let attr5: ASAttributedString = .init(string: "申请资格。", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor))
return attr1 + attr2 + attr3 + attr4 + attr5 return attr1 + attr2 + attr3 + attr4 + attr5
case .typeB: case .typeB:
let attr1: ASAttributedString = .init(string: "根据评估,您已取得", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor)) let attr1: ASAttributedString = .init(string: "根据您提交的信息,您已取得", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor))
let attr2: ASAttributedString = .init(string: "合资格高校学士学位", .font(UIFont.PFSC_B(ofSize: 14)), .foreground(UIColor(hexString: "#D48638") ?? .brown)) let attr2: ASAttributedString = .init(string: "合资格高校学士学位", .font(UIFont.PFSC_B(ofSize: 14)), .foreground(UIColor(hexString: "#D48638") ?? .brown))
let attr3: ASAttributedString = .init(string: ",符合", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor)) let attr3: ASAttributedString = .init(string: ",符合", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor))
let attr4: ASAttributedString = .init(string: "高才B类", .font(UIFont.PFSC_B(ofSize: 14)), .foreground(UIColor(hexString: "#D48638") ?? .brown)) let attr4: ASAttributedString = .init(string: "高才B类", .font(UIFont.PFSC_B(ofSize: 14)), .foreground(UIColor(hexString: "#D48638") ?? .brown))
let attr5: ASAttributedString = .init(string: "申请资格。", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor)) let attr5: ASAttributedString = .init(string: "申请资格。", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor))
return attr1 + attr2 + attr3 + attr4 + attr5 return attr1 + attr2 + attr3 + attr4 + attr5
case .typeC: case .typeC:
let attr1: ASAttributedString = .init(string: "根据评估,您已取得", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor)) let attr1: ASAttributedString = .init(string: "根据您提交的信息,您已取得", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor))
let attr2: ASAttributedString = .init(string: "合资格高校学士学位", .font(UIFont.PFSC_B(ofSize: 14)), .foreground(UIColor(hexString: "#D48638") ?? .brown)) let attr2: ASAttributedString = .init(string: "合资格高校学士学位", .font(UIFont.PFSC_B(ofSize: 14)), .foreground(UIColor(hexString: "#D48638") ?? .brown))
let attr3: ASAttributedString = .init(string: ",符合", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor)) let attr3: ASAttributedString = .init(string: ",符合", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor.mainTextColor))
let attr4: ASAttributedString = .init(string: "高才C类", .font(UIFont.PFSC_B(ofSize: 14)), .foreground(UIColor(hexString: "#D48638") ?? .brown)) let attr4: ASAttributedString = .init(string: "高才C类", .font(UIFont.PFSC_B(ofSize: 14)), .foreground(UIColor(hexString: "#D48638") ?? .brown))
......
...@@ -159,7 +159,7 @@ private extension YHGCApplicationType { ...@@ -159,7 +159,7 @@ private extension YHGCApplicationType {
switch self { switch self {
case .typeA: case .typeA:
let attr1: ASAttributedString = .init(string: "注:必须是", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor(hexString: "#6D788A") ?? UIColor.gray)) let attr1: ASAttributedString = .init(string: "注:必须是", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor(hexString: "#6D788A") ?? UIColor.gray))
let attr2: ASAttributedString = .init(string: "课税收入", .font(UIFont.PFSC_B(ofSize: 14)), .foreground(UIColor.brandMainColor)) let attr2: ASAttributedString = .init(string: "课税的就业或业务收入", .font(UIFont.PFSC_B(ofSize: 14)), .foreground(UIColor.brandMainColor))
let attr3: ASAttributedString = .init(string: ",享受税收优惠、免税的收入,不计算在内", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor(hexString: "#6D788A") ?? UIColor.gray)) let attr3: ASAttributedString = .init(string: ",享受税收优惠、免税的收入,不计算在内", .font(UIFont.PFSC_R(ofSize: 14)), .foreground(UIColor(hexString: "#6D788A") ?? UIColor.gray))
return attr1 + attr2 + attr3 return attr1 + attr2 + attr3
case .typeB: case .typeB:
......
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