// // payMentItemCell.swift // ADHTuanCan // // Created by 敖德亨 on 2023/11/8. // import UIKit class payMentItemCell: UITableViewCell { @IBOutlet weak var nameLab: UILabel! @IBOutlet weak var typeImg: UIImageView! override func awakeFromNib() { super.awakeFromNib() // Initialization code } func configModel(model : PaySettleTypeModel){ if model.isSelect{ self.typeImg.image = UIImage.init(named: "地址选中") }else{ self.typeImg.image = UIImage.init(named: "地址未选中") } self.nameLab.text = "\(model.name ?? "")" } func configPayMentModel(model : PayMentTypeModel){ if model.isSelect{ self.typeImg.image = UIImage.init(named: "地址选中") }else{ self.typeImg.image = UIImage.init(named: "地址未选中") } self.nameLab.text = "\(model.name ?? "")" } }