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

// 赴港

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