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

// 赴港

parent 810fedf5
...@@ -34,9 +34,7 @@ class YHHKMemberModel: SmartCodable, NSCopying { ...@@ -34,9 +34,7 @@ class YHHKMemberModel: SmartCodable, NSCopying {
var approvalDate: String = "" var approvalDate: String = ""
// 自定义 // 自定义
var isSelect: Bool = false var isSelected : Bool = false //本地使用
var isSelectedFlag : Bool = false //本地使用
enum CodingKeys: String, CodingKey { enum CodingKeys: String, CodingKey {
case id = "id" case id = "id"
......
...@@ -52,7 +52,7 @@ class YHSelectApplicantCell: UICollectionViewCell { ...@@ -52,7 +52,7 @@ class YHSelectApplicantCell: UICollectionViewCell {
func updateApplicantInfo(_ applicant: YHHKMemberModel) { func updateApplicantInfo(_ applicant: YHHKMemberModel) {
nameLabel.text = applicant.name nameLabel.text = applicant.name
let imgName = applicant.isSelectedFlag ? "login_privacy_agree" : "login_privacy_disagree_glay" let imgName = applicant.isSelected ? "login_privacy_agree" : "login_privacy_disagree_glay"
selectImgView.image = UIImage(named: imgName) selectImgView.image = UIImage(named: imgName)
} }
} }
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