//
|
// ContactCustomerVC.swift
|
// XQMuse
|
//
|
// Created by 无故事王国 on 2024/8/22.
|
//
|
|
import UIKit
|
|
class ContactCustomerVC: BaseVC {
|
|
@IBOutlet weak var tableView: UITableView!
|
|
override func viewDidLoad() {
|
super.viewDidLoad()
|
title = "联系客服"
|
|
tableView.separatorStyle = .none
|
tableView.delegate = self
|
tableView.dataSource = self
|
tableView.showsVerticalScrollIndicator = false
|
tableView.register(UINib(nibName: "ContactCustomerTCell", bundle: nil), forCellReuseIdentifier: "_ContactCustomerTCell")
|
}
|
}
|
|
extension ContactCustomerVC:UITableViewDelegate & UITableViewDataSource{
|
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
|
let vc = ContactCustomerDetailVC()
|
push(vc: vc)
|
}
|
|
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
|
let cell = tableView.dequeueReusableCell(withIdentifier: "_ContactCustomerTCell", for: indexPath) as! ContactCustomerTCell
|
return cell
|
}
|
|
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
|
return 10
|
}
|
|
|
}
|