无故事王国
2024-03-14 a478b668ca1a5d4f6d2d9b1075d292cbbef90de5
WanPai/Root/Search/VC/WorldCupContentDetailVC.swift
@@ -129,7 +129,7 @@
                                                }
                                                if let endDate = model.registrationClosingTime{
                                                            let endDateTimeInterval = Date.jq_StringToTimeInterval(endDate, "yyyy-MM-dd HH:mm")
                                                            let endDateTimeInterval = Date.jq_StringToTimeInterval(model.startTime, "yyyy-MM-dd HH:mm")
                                                            if Date.jq_CalByDays(startDate: Date(), endDate: Date(timeIntervalSince1970: endDateTimeInterval)) <= 1{
                                                                        self?.btn_enroll.setTitle("取消", for: .normal)
@@ -196,7 +196,12 @@
}
extension WorldCupContentDetailVC:UITableViewDelegate{
            func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
                        let model = detailModel!.participants[indexPath.row]
                        if let qrCode = WorldCupUserInfoQRCodel(id: model.id, isStudent: model.isStudent).toJSONString(){
                                    QRPreview.show(qrCode,title: model.name)
                        }
            }
}
extension WorldCupContentDetailVC:UITableViewDataSource{