Commit 1d4e8a76 authored by pete谢兆麟's avatar pete谢兆麟

封装控件逻辑

parent 149044b1
...@@ -145,6 +145,7 @@ class YHCardUploadView: UIView { ...@@ -145,6 +145,7 @@ class YHCardUploadView: UIView {
} }
@objc func frontDeleteClick() { @objc func frontDeleteClick() {
firstUrl = ""
frontDeleteButton.isHidden = true frontDeleteButton.isHidden = true
frontImageButton.setBackgroundImage(UIImage(named: defaultImageName), for: .normal) frontImageButton.setBackgroundImage(UIImage(named: defaultImageName), for: .normal)
frontImageButton.setContent("card_upload", "点击上传") frontImageButton.setContent("card_upload", "点击上传")
......
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