| | |
| | | |
| | | guard let m = activityDetailModel else {return} |
| | | |
| | | img_profile.sd_setImage(with: URL(string: m.storeCoverDrawing)!) |
| | | img_profile.sd_setImage(with: URL(string: m.storeCoverDrawing)) |
| | | label_storeName.text = m.storeName + "(\(m.storeAddress))" |
| | | label_title.text = m.name |
| | | label_joinCondition.text = m.registerCondition.strTitle |
| | |
| | | cons_tableHei.constant = Double(m.participant.count) * 100 |
| | | tableView.reloadData() |
| | | |
| | | |
| | | let name = m.apply == 1 ? "已取消":"取消" |
| | | let color = m.apply == 1 ? UIColor.gray:Def_ThemeColor |
| | | btn_cancel.setTitle(name, for: .normal) |
| | | btn_cancel.backgroundColor = color |
| | | } |
| | | } |
| | | |
| | |
| | | override func setUI() { |
| | | tableView.delegate = self |
| | | tableView.dataSource = self |
| | | tableView.separatorStyle = .none |
| | | tableView.register(UINib(nibName: "StudentInfo_2_TCell", bundle: nil), forCellReuseIdentifier: "_StudentInfo_2_TCell") |
| | | } |
| | | |