//
|
// CourseBookingDetailVC.swift
|
// WanPai
|
//
|
// Created by 无故事王国 on 2023/6/27.
|
//
|
|
import UIKit
|
import JQTools
|
|
class CourseBookingDetailVC: BaseVC {
|
|
lazy private var tableView:UITableView = {
|
let table = UITableView(frame: .zero, style: .plain)
|
table.separatorStyle = .none
|
table.delegate = self
|
table.dataSource = self
|
table.register(UINib(nibName: "CourseBooking_1_TCell", bundle: nil), forCellReuseIdentifier: "_CourseBooking_1_TCell")
|
return table
|
}()
|
|
override func viewDidLoad() {
|
super.viewDidLoad()
|
view.backgroundColor = .white
|
}
|
|
override func setUI() {
|
view.addSubview(tableView)
|
tableView.snp.makeConstraints { make in
|
make.edges.equalToSuperview()
|
}
|
}
|
}
|
|
extension CourseBookingDetailVC:UITableViewDelegate{}
|
|
extension CourseBookingDetailVC:UITableViewDataSource{
|
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
|
return 5
|
}
|
|
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
|
let cell = tableView.dequeueReusableCell(withIdentifier: "_CourseBooking_1_TCell") as! CourseBooking_1_TCell
|
return cell
|
}
|
}
|