Commit 0e2b3edd authored by Steven杜宇's avatar Steven杜宇

// 恢复

parent 08c87488
......@@ -363,7 +363,21 @@ extension YHServiceCenterMainViewController {
let a: ASAttributedString = .init("您好,\(name),您现处于", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor))
let aa: ASAttributedString = .init(NSAttributedString(string: applicant.stage_name), .font(UIFont.PFSC_M(ofSize: 13)),.foreground(UIColor.brandMainColor))
let aaa: ASAttributedString = .init("阶段,让我们一起共同完成您的身份申请之旅吧~", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor))
self.nameLabel.attributed.text = a + aa + aaa
let b: ASAttributedString = .init("阶段。为使您的身份能够顺利激活并助力后续永居规划,请依据", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor))
let c: ASAttributedString = .init("《", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.brandMainColor))
let bb: ASAttributedString = .init("香港身份获批操作指引", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.brandMainColor), .underline(.single), .action {
//点击出现操作指引
let view = YHOffivialApprovalGuildLineCheckView.sheetView()
view.show()
})
let cc: ASAttributedString = .init("》", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.brandMainColor))
let bbb: ASAttributedString = .init("完成以下事项", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor))
if applicant.type == 3 {
self.nameLabel.attributed.text = a + aa + b + c + bb + cc + bbb
} else {
self.nameLabel.attributed.text = a + aa + aaa
}
}
}
......@@ -371,6 +385,7 @@ extension YHServiceCenterMainViewController {
nameBgImageView = {
let view = UIImageView()
view.image = UIImage(named: "service_name_bg")?.resizableImage(withCapInsets: UIEdgeInsets(top: 21, left: 68, bottom: 11, right: 14), resizingMode: .stretch)
view.isUserInteractionEnabled = true
return view
}()
view.addSubview(nameBgImageView)
......
......@@ -221,10 +221,6 @@ class YHAllApiName {
static let updateInformation = "infoflow/order-information/update_information"
// 主申请人国家信息
static let countryInformation = "infoflow/country"
// 主申请人中国
static let cnIdCard = "infoflow/order-information/get_id_card"
// 主申请人港澳通行证
static let hkIdCard = "infoflow/order-information/get_hk_macao_pass"
}
struct WorkExperience {
......@@ -300,8 +296,12 @@ class YHAllApiName {
struct OCR {
//中国身份证识别
static let cn = "ocr/id_card/recognize"
//港澳通行证识别
//ocr港澳通行证识别 正面信息
static let hk = "ocr/permit/recognize"
// ocr港澳通行证 背面信息
static let hkmacowBackInfoApi = "infoflow/order-information/get_hk_macao_pass"
//普通文本识别 - eg:图片中扣字
static let normal = "ocr/advanced/recognize"
//小白条识别
......
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