完善景区排队设置页与全局按钮配置迁移。
重构排队设置与变更日志交互,补充 Overlay 与资源,并将多页面主操作按钮统一到 UIButton Configuration,同步更新相关单元测试。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -469,7 +469,9 @@ final class ScenicQueueSettingsViewController: BaseViewController {
|
||||
button.backgroundColor = ScenicQueueTokens.bannerBlue
|
||||
button.layer.cornerRadius = ScenicQueueTokens.radiusInput
|
||||
button.addTarget(self, action: action, for: .touchUpInside)
|
||||
button.contentEdgeInsets = UIEdgeInsets(top: 8, left: 16, bottom: 8, right: 16)
|
||||
button.setConfigurationContentInsets(
|
||||
NSDirectionalEdgeInsets(top: 8, leading: 16, bottom: 8, trailing: 16)
|
||||
)
|
||||
return button
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user