r
4 天以前 2b133a75c3199d0e737ad2263f670c834d769ab1
WanPai/Common/View/WorldCupListRankView.swift
@@ -40,7 +40,7 @@
    
    @IBOutlet weak var sureAction: UIButton!
    
    private var clouse:((Int)->Void)!
    private var clouse:((Int,String)->Void)!
    
    @IBOutlet weak var tabview: UITableView!
    
@@ -65,7 +65,7 @@
        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
@@ -93,7 +93,7 @@
        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()