Commit da5ce002 authored by David黄金龙's avatar David黄金龙

Merge branch 'develop' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into develop

* 'develop' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS:
  服务中心逻辑添加
parents 5dd2a06b 0c9fa3db
......@@ -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)
......
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