fix
杨锴
2025-04-16 f646fbebad928833d15546a36e37768d00fe6173
WanPai/Root/Activity/VC/ActivitySignupDetailVC.swift
@@ -92,6 +92,12 @@
                                    switch m.status {
                                                case .prepare:
                    //不能取消
                    if m.apply == 1{
                        btn_cancel.isHidden = true;return
                    }
                                                            let name = m.apply == 1 ? "取消":"已取消"
                                                            let color = m.apply == 1 ? Def_ThemeColor:UIColor(hexStr: "#C0C0C0")
                                                            btn_cancel.isUserInteractionEnabled = m.apply == 1
@@ -102,9 +108,14 @@
                                                                        btn_cancel.setImage(UIImage(named: "btn_cancel"), for: .normal)
                                                            }
                                                case .ongoing:
                    //不能取消
                    if m.apply == 1{
                        btn_cancel.isHidden = true;return
                    }
                                                            let endTime = Date.jq_StringToTimeInterval(m.registerEndTime, "yyyy-MM-dd HH:mm")
                                                            let a = Date.jq_CalByDays(startDate: Date(), endDate: Date(timeIntervalSince1970: endTime))
                                                            if Date.jq_CalByEnum(startDate: Date(), endDate: Date(timeIntervalSince1970: endTime)).minute > 0{
                                                                        let name = m.apply == 1 ? "取消":"已取消"
                                                                        let color = m.apply == 1 ? Def_ThemeColor:UIColor(hexStr: "#C0C0C0")
@@ -121,10 +132,12 @@
                                                            }
                                                case .over:
                    btn_cancel.isHidden = false
                                                            btn_cancel.setTitle("已结束", for: .normal)
                                                            btn_cancel.isUserInteractionEnabled = false
                                                            btn_cancel.backgroundColor = UIColor(hexStr: "#C0C0C0")
                                                case .cancel:
                    btn_cancel.isHidden = false
                                                            btn_cancel.setTitle("已取消", for: .normal)
                                                            btn_cancel.isUserInteractionEnabled = false
                                                            btn_cancel.backgroundColor = UIColor(hexStr: "#C0C0C0")
@@ -161,6 +174,7 @@
                        tableView.register(UINib(nibName: "StudentInfo_2_TCell", bundle: nil), forCellReuseIdentifier: "_StudentInfo_2_TCell")
                        let moreBtnAttributeding = AttributedStringbuilder.build().add(string: "查看更多", withFont: UIFont.systemFont(ofSize: 12, weight: .medium), withColor: Def_ThemeColor).underLine(color: Def_ThemeColor).mutableAttributedString
                        btn_moreMatchStore.setAttributedTitle(moreBtnAttributeding, for: .normal)
        btn_cancel.isHidden = true
            }
            @IBAction func matchStoreAction(_ sender: UIButton) {