杨锴
2024-11-06 63f7ed967433acee3ae8764c7a077e15c29c41f2
XQMuse/Root/Course/TCell/CourseDetail_3_TCell.swift
@@ -50,8 +50,13 @@
            func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
                        let model = items[indexPath.row]
                        let vc = CourseDetialVC(courseId: model.id)
                        JQ_currentViewController().jq_push(vc: vc)
        if model.courseType == .online{
            let vc = CourseDetialVC(courseId: model.id)
            JQ_currentViewController().jq_push(vc: vc)
        }else{
            let vc = CourseDetialOfflineVC(courseId: model.id)
            JQ_currentViewController().jq_push(vc: vc)
        }
            }
}