//
|
// HomeDetailNoteVC.swift
|
// BrokerDriver
|
//
|
// Created by 无故事王国 on 2023/4/25.
|
//
|
|
import UIKit
|
|
class HomeDetailNoteVC: BaseViewController {
|
@IBOutlet weak var noteTableView: UITableView!
|
|
private(set) var orderId:String!
|
|
|
required init(orderId:String) {
|
super.init(nibName: nil, bundle: nil)
|
self.orderId = orderId
|
}
|
|
required init?(coder: NSCoder) {
|
fatalError("init(coder:) has not been implemented")
|
}
|
|
|
override func viewDidLoad() {
|
super.viewDidLoad()
|
view.backgroundColor = UIColor.color("#F9FAFF")
|
noteTableView.delegate = self
|
noteTableView.dataSource = self
|
noteTableView.register(UINib(nibName: "NoteContentTCell", bundle: nil), forCellReuseIdentifier: "_NoteContentTCell")
|
}
|
}
|
|
extension HomeDetailNoteVC:UITableViewDelegate{
|
|
}
|
|
extension HomeDetailNoteVC:UITableViewDataSource{
|
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
|
let cell = tableView.dequeueReusableCell(withIdentifier: "_NoteContentTCell") as! NoteContentTCell
|
return cell
|
}
|
|
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
|
return 10
|
}
|
}
|