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

// 学历

parent dcf48e0b
...@@ -30,8 +30,13 @@ class YHFormItemTitleCell: UITableViewCell { ...@@ -30,8 +30,13 @@ class YHFormItemTitleCell: UITableViewCell {
.foregroundColor: subTitleColor .foregroundColor: subTitleColor
] ]
let markAttributes: [NSAttributedString.Key: Any] = [
.font: UIFont.PFSC_M(ofSize: 17),
.foregroundColor: UIColor.failColor
]
let text = isNeedMust ? "*" : "" let text = isNeedMust ? "*" : ""
let attrStr = NSMutableAttributedString(string:text, attributes: titleAttributes) let attrStr = NSMutableAttributedString(string:text, attributes: markAttributes)
if let title = title, !title.isEmpty { if let title = title, !title.isEmpty {
let titleAttrStr = NSMutableAttributedString(string:title, attributes:titleAttributes) let titleAttrStr = NSMutableAttributedString(string:title, attributes:titleAttributes)
......
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