add
无故事王国
2024-05-28 64d4343b54e747804656a3fb7eca4a2d14d6e5de
DolphinEnglishLearnStudent/Moudle/Home/Listen/VC/HomeListenSubVC.swift
@@ -53,6 +53,25 @@
                                    if indexPath.row == 1{
                                                JQ_currentViewController().jq_push(vc: HomeListenFightVC(listenType: .lesson2))
                                    }
                                    if indexPath.row == 2{
                                                JQ_currentViewController().jq_push(vc: HomeListenFightVC(listenType: .lesson3))
                                    }
                                    if indexPath.row == 3{
                                                JQ_currentViewController().jq_push(vc: HomeListenFightVC(listenType: .lesson4))
                                    }
                                    if indexPath.row == 4{
                                                JQ_currentViewController().jq_push(vc: HomeListenFightVC(listenType: .lesson5))
                                    }
                                    if indexPath.row == 5{
                                                JQ_currentViewController().jq_push(vc: HomeListenFightVC(listenType: .game1))
                                    }
                                    if indexPath.row == 6{
                                                JQ_currentViewController().jq_push(vc: HomeListenFightVC(listenType: .game2))
                                    }
                        }
            }
}
@@ -62,11 +81,11 @@
                        if section == 0{
                                    return 1
                        }
                        return 5
                        return 8
            }
            func numberOfSections(in tableView: UITableView) -> Int {
                        if page <= 5{
                        if page <= 6{
                                    return 2
                        }
                        return 1
@@ -78,6 +97,7 @@
                                    return cell
                        }else{
                                    let cell = tableView.dequeueReusableCell(withIdentifier: "_HomeListen_item_TCell", for: indexPath) as! HomeListen_item_TCell
                                    cell.label_title.text = "\(indexPath.row + 1)"
                                    return cell
                        }
            }