引入统一设计令牌并迁移首页、订单和数据 UI

This commit is contained in:
2026-07-06 17:58:18 +08:00
parent 71ab38af8d
commit 28dc004110
31 changed files with 737 additions and 213 deletions

View File

@ -13,7 +13,7 @@ class BaseViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
view.backgroundColor = .systemBackground
view.backgroundColor = AppColor.pageBackground
setupNavigationBar()
setupUI()
setupConstraints()
@ -61,14 +61,14 @@ class BaseViewController: UIViewController {
let container = UIView()
container.backgroundColor = UIColor.black.withAlphaComponent(0.8)
container.layer.cornerRadius = 8
container.layer.cornerRadius = AppRadius.sm
container.clipsToBounds = true
container.alpha = 0
let label = UILabel()
label.text = message
label.textColor = .white
label.font = .systemFont(ofSize: 14)
label.font = .app(.body)
label.textAlignment = .center
label.numberOfLines = 0