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

默认值

parent 062e4723
...@@ -46,7 +46,7 @@ class YHOfficialApprovalResultVC: YHBaseViewController { ...@@ -46,7 +46,7 @@ class YHOfficialApprovalResultVC: YHBaseViewController {
//文档内容 //文档内容
lazy var contentView: YHOffivialApprovalSuccessView = { lazy var contentView: YHOffivialApprovalSuccessView = {
let view = YHOffivialApprovalSuccessView() let view = YHOffivialApprovalSuccessView()
view.isHidden = true // view.isHidden = true
return view return view
}() }()
...@@ -181,7 +181,7 @@ private extension YHOfficialApprovalResultVC { ...@@ -181,7 +181,7 @@ private extension YHOfficialApprovalResultVC {
princleVM.getApprovalLetter(param: param) { success, error in princleVM.getApprovalLetter(param: param) { success, error in
if success { if success {
//1、更新主申请人信息 //1、更新主申请人信息
self.contentView.isHidden = false // self.contentView.isHidden = false
self.updateMainApplicationInfo() self.updateMainApplicationInfo()
//2、更新letter信息 //2、更新letter信息
......
...@@ -34,7 +34,7 @@ class YHOffivialApprovalSuccessView: UIView { ...@@ -34,7 +34,7 @@ class YHOffivialApprovalSuccessView: UIView {
let label = UILabel() let label = UILabel()
label.font = UIFont.PFSC_M(ofSize: 30) label.font = UIFont.PFSC_M(ofSize: 30)
label.textColor = UIColor(hex: 0x881000) label.textColor = UIColor(hex: 0x881000)
label.text = "恭喜" label.text = "恭喜 客户!"
return label return label
}() }()
addSubview(titleLabel) addSubview(titleLabel)
...@@ -83,6 +83,7 @@ class YHOffivialApprovalSuccessView: UIView { ...@@ -83,6 +83,7 @@ class YHOffivialApprovalSuccessView: UIView {
arrViews.append(label) arrViews.append(label)
arrViews.append(line) arrViews.append(line)
} }
} }
} }
...@@ -102,6 +103,12 @@ private extension YHOffivialApprovalSuccessView { ...@@ -102,6 +103,12 @@ private extension YHOffivialApprovalSuccessView {
let fourItems = ["祝贺您和您的家人申请的","【优秀人才入境计划】",tmp,"这意味着,您领取香港居民身份证","仅有一步之遥!!"] let fourItems = ["祝贺您和您的家人申请的","【优秀人才入境计划】",tmp,"这意味着,您领取香港居民身份证","仅有一步之遥!!"]
updataView(data: fourItems) updataView(data: fourItems)
} }
} else {
titleLabel.text = "恭喜 客户!"
let tmp = "正式获批"
let fourItems = ["祝贺您和您的家人申请的","【优秀人才入境计划】",tmp,"这意味着,您领取香港居民身份证","仅有一步之遥!!"]
updataView(data: fourItems)
} }
} }
} }
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