杨锴
2024-11-11 9e77b0f9014653255eb51e81b8a8ba719443839d
XQMuse/Root/Me/VC/StudyListVC.swift
@@ -60,7 +60,7 @@
                                    modelId = datas?.courseList[indexPath.row].id
                        }
                        if indexPath.section == 0{
                        if indexPath.section == 1{
            guard datas?.freeCourseList.count != 0 else{return}
                                    modelId = datas?.freeCourseList[indexPath.row].id
                        }
@@ -96,11 +96,19 @@
                                    }else{
                                                let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "_HomeRelaxBanner_2_1_CCell", for: indexPath) as! HomeRelaxBanner_2_1_CCell
                                                cell.setCourseModel(datas!.courseList[indexPath.row])
                cell.view_price.isHidden = true
                cell.view_waitPay.isHidden = true
                cell.image_free.isHidden = true
                cell.img_vip.isHidden = true
                                                return cell
                                    }
                        }else{
                                    let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "_HomeRelaxBanner_2_1_CCell", for: indexPath) as! HomeRelaxBanner_2_1_CCell
                                    cell.setCourseModel(datas!.freeCourseList[indexPath.row])
            cell.view_price.isHidden = true
            cell.view_waitPay.isHidden = true
            cell.image_free.isHidden = true
            cell.img_vip.isHidden = true
                                    return cell
                        }
            }