修复任务提交与弹窗交互问题

This commit is contained in:
2026-07-10 14:51:34 +08:00
parent df547a16dc
commit f88a85a807
48 changed files with 1065 additions and 254 deletions

View File

@ -17,6 +17,11 @@ final class StatisticsPeriodButton: UIButton {
didSet { updateAppearance() }
}
override func layoutSubviews() {
super.layoutSubviews()
layer.cornerRadius = bounds.height / 2
}
override init(frame: CGRect) {
super.init(frame: frame)
setupUI()
@ -29,7 +34,7 @@ final class StatisticsPeriodButton: UIButton {
private func setupUI() {
titleLabel?.font = .app(.bodyMedium)
layer.cornerRadius = AppRadius.pill
layer.cornerCurve = .continuous
clipsToBounds = true
contentEdgeInsets = UIEdgeInsets(top: 6, left: 20, bottom: 6, right: 20)
updateAppearance()