Implement token-based root routing, Android-matched login screen, five-slot MainTabBar with scan action, and placeholder tab pages. Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
647 B
Swift
29 lines
647 B
Swift
//
|
|
// ProfileViewController.swift
|
|
// suixinkan
|
|
//
|
|
|
|
import SnapKit
|
|
import UIKit
|
|
|
|
/// 我的 Tab 根页面。
|
|
final class ProfileViewController: BaseViewController {
|
|
|
|
private let titleLabel = UILabel()
|
|
|
|
override func setupUI() {
|
|
title = "我的"
|
|
titleLabel.text = "我的"
|
|
titleLabel.font = .systemFont(ofSize: 24, weight: .medium)
|
|
titleLabel.textAlignment = .center
|
|
titleLabel.textColor = AppColor.text333
|
|
view.addSubview(titleLabel)
|
|
}
|
|
|
|
override func setupConstraints() {
|
|
titleLabel.snp.makeConstraints { make in
|
|
make.center.equalToSuperview()
|
|
}
|
|
}
|
|
}
|