//
|
// PersonalWalletVC.swift
|
// BrokerDriver
|
//
|
// Created by 无故事王国 on 2023/4/25.
|
//
|
|
import UIKit
|
|
class PersonalWalletVC: BaseViewController {
|
|
@IBOutlet weak var label_account: UILabel!
|
@IBOutlet weak var tableView: UITableView!
|
override func viewDidLoad() {
|
super.viewDidLoad()
|
title = "Wallet"
|
|
}
|
|
override func setUI() {
|
super.setUI()
|
|
tableView.delegate = self
|
tableView.dataSource = self
|
tableView.separatorStyle = .none
|
tableView.register(UINib(nibName: "WalletTCell", bundle: nil), forCellReuseIdentifier: "_WalletTCell")
|
|
label_account.font = UIFont(name: "Impact", size: 36)
|
label_account.text = 1.currency()
|
}
|
}
|
|
extension PersonalWalletVC:UITableViewDelegate{
|
|
}
|
|
extension PersonalWalletVC:UITableViewDataSource{
|
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
|
let cell = tableView.dequeueReusableCell(withIdentifier: "_WalletTCell") as! WalletTCell
|
return cell
|
}
|
|
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
|
return 5
|
}
|
}
|