Commit d4ef993f authored by Steven杜宇's avatar Steven杜宇

活动

parent ac23ec00
...@@ -111,7 +111,7 @@ class YHApplyActivityAlert: UIView { ...@@ -111,7 +111,7 @@ class YHApplyActivityAlert: UIView {
button.addTarget(self, action: #selector(clickSubmitBtn), for: .touchUpInside) button.addTarget(self, action: #selector(clickSubmitBtn), for: .touchUpInside)
button.layer.cornerRadius = kCornerRadius3 button.layer.cornerRadius = kCornerRadius3
button.clipsToBounds = true button.clipsToBounds = true
button.backgroundColor = .brandMainColor button.backgroundColor = .mainTextColor
return button return button
}() }()
...@@ -546,12 +546,12 @@ extension YHApplyActivityAlert { ...@@ -546,12 +546,12 @@ extension YHApplyActivityAlert {
guard let name = nameTextField.text, name.isEmpty == false, let number = applyNumberTextField.text, number.isEmpty == false, let phone = phoneTextField.text, phone.isEmpty == false else { guard let name = nameTextField.text, name.isEmpty == false, let number = applyNumberTextField.text, number.isEmpty == false, let phone = phoneTextField.text, phone.isEmpty == false else {
self.submitButton.isEnabled = false self.submitButton.isEnabled = false
self.submitButton.backgroundColor = UIColor.brandMainColor30 self.submitButton.backgroundColor = UIColor.mainTextColor30
return return
} }
self.submitButton.isEnabled = true self.submitButton.isEnabled = true
self.submitButton.backgroundColor = UIColor.brandMainColor self.submitButton.backgroundColor = UIColor.mainTextColor
handleSubAndAddButtonUI() handleSubAndAddButtonUI()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment