完善景区排队设置页与全局按钮配置迁移。
重构排队设置与变更日志交互,补充 Overlay 与资源,并将多页面主操作按钮统一到 UIButton Configuration,同步更新相关单元测试。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -207,7 +207,7 @@ final class LiveAlbumListViewController: BaseViewController, UITableViewDelegate
|
||||
button.titleLabel?.font = .systemFont(ofSize: 13)
|
||||
button.setImage(UIImage(systemName: "calendar"), for: .normal)
|
||||
button.tintColor = AppColor.textPrimary
|
||||
button.imageEdgeInsets = UIEdgeInsets(top: 0, left: -4, bottom: 0, right: 4)
|
||||
button.setConfigurationImagePlacement(.leading, padding: 4)
|
||||
setDateButtonTitle(button, text: title)
|
||||
}
|
||||
|
||||
|
||||
@ -75,7 +75,7 @@ final class LiveActionButton: UIButton {
|
||||
layer.cornerRadius = 8
|
||||
clipsToBounds = true
|
||||
tintColor = .white
|
||||
imageEdgeInsets = UIEdgeInsets(top: 0, left: -4, bottom: 0, right: 4)
|
||||
setConfigurationImagePlacement(.leading, padding: 4)
|
||||
updateAppearance()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user