Commit 34ee162e authored by pete谢兆麟's avatar pete谢兆麟

代码提交

parent 5d3d8189
...@@ -130,6 +130,7 @@ class YHResignUploadFileItemView: UIView { ...@@ -130,6 +130,7 @@ class YHResignUploadFileItemView: UIView {
editBtn.titleLabel?.font = UIFont.PFSC_M(ofSize: 11) editBtn.titleLabel?.font = UIFont.PFSC_M(ofSize: 11)
editBtn.setBackgroundColor(color: UIColor(hex: 0xf4f6fa), forState: .normal) editBtn.setBackgroundColor(color: UIColor(hex: 0xf4f6fa), forState: .normal)
editBtn.YH_clickEdgeInsets = UIEdgeInsets(top: 30, left: 30, bottom: 30, right: 30) editBtn.YH_clickEdgeInsets = UIEdgeInsets(top: 30, left: 30, bottom: 30, right: 30)
editBtn.addTarget(self, action: #selector(click), for: .touchUpInside)
editBtn.layer.cornerRadius = 10 editBtn.layer.cornerRadius = 10
whiteView.addSubview(editBtn) whiteView.addSubview(editBtn)
...@@ -200,4 +201,7 @@ class YHResignUploadFileItemView: UIView { ...@@ -200,4 +201,7 @@ class YHResignUploadFileItemView: UIView {
} }
} }
@objc func click() {
itemClick()
}
} }
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