无故事王国
2023-10-12 1c1af90c0a80fe60477de9d0141aa79957cd7e38
WanPai/Root/Other/VC/PaymentResultVC.swift
@@ -212,6 +212,12 @@
        let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "_CouponCCell", for: indexPath) as! CouponCCell
      let model = models[indexPath.row]
      cell.courseCouponModel = model
      cell.showDetailClouse = {[weak self] () in
         self?.dismiss(animated:true){ [weak self] in
            let vc = WelfareCouponsListVC()
            self?.handleVC?.navigationController?.pushViewController(vc)
         }
      }
        return cell
    }
    
@@ -219,14 +225,14 @@
extension PaymentResultVC:UICollectionViewDelegateFlowLayout{
    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat {
        return 5
        return 0
    }
    
    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumInteritemSpacingForSectionAt section: Int) -> CGFloat {
        return 5
        return 0
    }
    
    func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize {
        return CGSize(width: JQ_ScreenW, height: 110)
        return CGSize(width: JQ_ScreenW, height: 120)
    }
}