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

编辑在港记录提示加粗

parent 0c96cdb8
......@@ -462,7 +462,7 @@ extension YHHKRecordsEditContentVC {
let attText = "间隔不能超出180天"
let normalTextLast = "(红线)如超出,递交续签时需向港府解释说明连续180未赴港原因。主申请人赴港频率越高,逗留时间越长,续签成功率越高哦~"
let attStr = NSMutableAttributedString(string: normalTextFirst + attText + normalTextLast)
attStr.setAttributes([.foregroundColor: UIColor.brandMainColor], range: NSRange(location: normalTextFirst.count, length: attText.count))
attStr.setAttributes([.foregroundColor: UIColor.brandMainColor, .font: UIFont.PFSC_B(ofSize: 12)], range: NSRange(location: normalTextFirst.count, length: attText.count))
return attStr
}
......
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