Commit f1d289bc authored by Alex朱枝文's avatar Alex朱枝文

Merge branch 'teach_video' into develop-tx-618

parents 7d955dd8 f9c74bac
...@@ -206,7 +206,7 @@ extension YHPrincipleApprovedMailViewController { ...@@ -206,7 +206,7 @@ extension YHPrincipleApprovedMailViewController {
if name.count > 5 { if name.count > 5 {
name = String(name.prefix(5)) + "..." name = String(name.prefix(5)) + "..."
} }
let callName = self.viewModel.envelopModel.sex == 2 ? "女士" : "先生" let callName = self.viewModel.waitResultModel.applicant.sex == 2 ? "女士" : "先生"
let title: ASAttributedString = .init("祝贺您,\(name)\(callName)!", .font(UIFont.PFSC_M(ofSize: 24)), .foreground(UIColor.mainTextColor)) let title: ASAttributedString = .init("祝贺您,\(name)\(callName)!", .font(UIFont.PFSC_M(ofSize: 24)), .foreground(UIColor.mainTextColor))
titleLabel.attributed.text = title titleLabel.attributed.text = title
......
...@@ -492,7 +492,7 @@ extension YHPrincipleUploadListVC: UITableViewDelegate, UITableViewDataSource { ...@@ -492,7 +492,7 @@ extension YHPrincipleUploadListVC: UITableViewDelegate, UITableViewDataSource {
if name.count > 5 { if name.count > 5 {
name = String(name.prefix(5)) + "..." name = String(name.prefix(5)) + "..."
} }
let callName = self.viewModel.envelopModel.sex == 2 ? "女士" : "先生" let callName = self.viewModel.waitResultModel.applicant.sex == 2 ? "女士" : "先生"
let title: ASAttributedString = .init("祝贺您,\(name)\(callName)!", .font(UIFont.PFSC_M(ofSize: 24)), .foreground(UIColor.mainTextColor)) let title: ASAttributedString = .init("祝贺您,\(name)\(callName)!", .font(UIFont.PFSC_M(ofSize: 24)), .foreground(UIColor.mainTextColor))
titleLabel.attributed.text = title titleLabel.attributed.text = title
......
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