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

// 我的证件

parent a1416b2b
...@@ -68,8 +68,6 @@ class YHCertificateInfoCell: UITableViewCell { ...@@ -68,8 +68,6 @@ class YHCertificateInfoCell: UITableViewCell {
nameTextView.attributed.text = """ nameTextView.attributed.text = """
\(model.name, .foreground(UIColor.mainTextColor), .font(UIFont.PFSC_M(ofSize: 16))) \(.view(templateButton, .original(.center))) \(model.name, .foreground(UIColor.mainTextColor), .font(UIFont.PFSC_M(ofSize: 16))) \(.view(templateButton, .original(.center)))
""" """
} }
infoLabel.text = "类型: \(model.typeName) 所属人: \(model.nameExtra.userName)" infoLabel.text = "类型: \(model.typeName) 所属人: \(model.nameExtra.userName)"
} }
...@@ -80,16 +78,6 @@ class YHCertificateInfoCell: UITableViewCell { ...@@ -80,16 +78,6 @@ class YHCertificateInfoCell: UITableViewCell {
} }
} }
func clicked(_ result: ASAttributedString.Action.Result) {
switch result.content {
case .string(let value):
print("点击了文本: \(value) range: \(result.range)")
case .attachment(let value):
print("点击了附件: \(value) range: \(result.range)")
}
}
func setupUI() { func setupUI() {
self.selectionStyle = .none self.selectionStyle = .none
......
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