| | |
| | | |
| | | @IBOutlet weak var sureAction: UIButton! |
| | | |
| | | private var clouse:((Int)->Void)! |
| | | private var clouse:((Int,String)->Void)! |
| | | |
| | | @IBOutlet weak var tabview: UITableView! |
| | | |
| | |
| | | sureAction.layer.cornerRadius = 5 |
| | | |
| | | } |
| | | static func show(arr:[GetWorldCupListFromRank]?, clouse:@escaping (Int) -> Void){ |
| | | static func show(arr:[GetWorldCupListFromRank]?, clouse:@escaping (Int,String) -> Void){ |
| | | |
| | | let alertView = WorldCupListRankView.jq_loadNibView() |
| | | alertView.clouse = clouse |
| | |
| | | if dataSoure?.count == 0 { |
| | | return |
| | | } |
| | | self.clouse(dataSoure?[self.selectIndex].worldCupId ?? 0) |
| | | self.clouse(dataSoure?[self.selectIndex].worldCupId ?? 0,dataSoure?[self.selectIndex].name ?? "") |
| | | UIView.animate(withDuration: 0.4) { |
| | | self.alpha = 0 |
| | | self.layoutIfNeeded() |